- Skip alias merging for user entities during dedup (_merge_attribute and
_merge_entities_with_aliases) to prevent dirty data from overwriting
PgSQL authoritative aliases
- Add PgSQL→Neo4j alias sync after Neo4j write in write_tools to
ensure Neo4j user entities always reflect the PgSQL source
- Remove deduped_aliases (Neo4j history) from alias sync in
extraction_orchestrator, only append newly extracted aliases to PgSQL
- Guard Neo4j MERGE cypher to preserve existing aliases for user
entities (name IN ['用户','我','User','I'])
- Fix emotion_analytics_service query to use ExtractedEntity label
and entity_type property
* Fix/bug en zh (#389)
* [fix]The log retains genuine alerts and errors, while filtering out unnecessary noise.
* [fix]Scenario English and Chinese, emotion specifications
* [fix]Change the "no data" scenario from 0.0 to None
* [fix]The emotional health indicators, emotional advice, and emotional distribution analysis are all linked together.
* [fix]The emotional health indicators, emotional advice, and emotional distribution analysis are all linked together.
* [fix]Separate expected errors from unexpected errors
* [changes]Translation of emotion labels, and the list of hosts arranged in the order of creation
* [changes]Translation of emotion labels, and the list of hosts arranged in the order of creation
* feat(web): improve knowledge base form validation and parser config handling
- Refactor form validation logic to support tab-specific field validation in edit mode
- Add conditional validation for knowledge graph fields when editing existing knowledge base
- Preserve all existing parser_config fields when merging graphrag configuration
- Skip third-party authentication check when editing on knowledge graph tab
- Update form value retrieval to include disabled fields using getFieldsValue(true)
- Improve comments to clarify parser_config field preservation and validation behavior
- This change enables users to edit knowledge graph settings without re-validating all basic configuration fields
* fix(web): improve infinite scroll handling in knowledge base list
- Add auto-load detection when initial data doesn't fill viewport to prevent empty scrollbar
- Implement scroll height check to automatically load more data if content is insufficient
- Fix hasMore condition to prevent premature loader hiding
- Update loader visibility to only show when data exists and is actively loading
- Refine end message display to show only when all data is loaded and no more items available
- Resolves issue where knowledge base list shows no scrollbar on initial load with limited items
* fix(web): FileUpload bugfix
* fix(web): change skill search key
* Fix/bug en zh (#391)
* [fix]The log retains genuine alerts and errors, while filtering out unnecessary noise.
* [fix]Scenario English and Chinese, emotion specifications
* [fix]Change the "no data" scenario from 0.0 to None
* [fix]The emotional health indicators, emotional advice, and emotional distribution analysis are all linked together.
* [fix]The emotional health indicators, emotional advice, and emotional distribution analysis are all linked together.
* [fix]Separate expected errors from unexpected errors
* [changes]Translation of emotion labels, and the list of hosts arranged in the order of creation
* [changes]Translation of emotion labels, and the list of hosts arranged in the order of creation
* [fix]The mainframe engineering supports Chinese verification.
* [fix]The mainframe engineering supports Chinese verification.
* fix(web): update en
* fix(web): file upload bugfix
* fix(web): memory-write node hide message config
---------
Co-authored-by: 乐力齐 <162269739+lanceyq@users.noreply.github.com>
Co-authored-by: yujiangping <yujiangping@taofen8.com>
Co-authored-by: zhaoying <yzhao96@best-inc.com>
Co-authored-by: yingzhao <zhaoyingyz@126.com>
* [fix]The log retains genuine alerts and errors, while filtering out unnecessary noise.
* [fix]Scenario English and Chinese, emotion specifications
* [fix]Change the "no data" scenario from 0.0 to None
* [fix]The emotional health indicators, emotional advice, and emotional distribution analysis are all linked together.
* [fix]The emotional health indicators, emotional advice, and emotional distribution analysis are all linked together.
* [fix]Separate expected errors from unexpected errors
* [fix]The log retains genuine alerts and errors, while filtering out unnecessary noise.
* [fix]Scenario English and Chinese, emotion specifications
* [fix]Change the "no data" scenario from 0.0 to None
- Add workspace_id fallback parameter to memory config loading across all services
- Update hot_memory_tags.py to pass workspace_id when resolving memory configuration
- Enhance emotion_analytics_service.py to support workspace_id as fallback for config resolution
- Improve implicit_memory_service.py with workspace_id fallback in config loading
- Update memory_agent_service.py to handle workspace_id resolution and add refactoring TODO
- Enhance preference_analysis.jinja2 prompt with critical guidance on supporting_evidence extraction
- Add validation to check both config_id and workspace_id before raising configuration errors
- Improve error handling and logging for memory configuration resolution across services
- This enables more flexible memory configuration resolution when config_id is unavailable
* [changes]add user_summary language unification
* [add]Entity extraction, user memory, emotion suggestions, unified language type for writing
* [add]Complete the switch between Chinese and English for the emotion labels and emotion suggestions fields.
* [changes]add user_summary language unification
* [add]Entity extraction, user memory, emotion suggestions, unified language type for writing
* [add]Complete the switch between Chinese and English for the emotion labels and emotion suggestions fields.
* [changes]Modify the code based on the AI review
* [feature]Emotional memory cache
* [feature]Implicit memory cache
* [changes]Modify the expiration time of implicit memory to 24 hours.
* [feature]Emotional memory cache
* [feature]Implicit memory cache
* [changes]Modify the expiration time of implicit memory to 24 hours.
* [changes]Modify the code based on the AI review
* [feature]Emotional memory cache
* [feature]Implicit memory cache
* [changes]Modify the expiration time of implicit memory to 24 hours.
* [feature]Implicit memory cache
* [changes]Modify the code based on the AI review
* [feature]Generate emotions, implicit cache
* [feature]Generate emotions, implicit cache
* [changes]Improve the code based on AI review
* [changes]Improve the code based on AI review
* [changes]Improve the code
* [feature]Generate emotions, implicit cache
* [changes]Improve the code based on AI review
* [changes]Improve the code
[fix]Fix the bug that affects user memory.
* fix/othername-name: (11 commits squashed)
- [fix]Fix the issue with the display of the user's memory list
- [fix]Ensure the six dimensions of emotional expression
- [fix]Fix the issue with the display of the user's memory list
- [fix]Ensure the six dimensions of emotional expression
- Merge branch 'fix/othername-name' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/othername-name
- [fix]Restore the display of memory types
- [fix]Fix the issue with the display of the user's memory list
- [fix]Ensure the six dimensions of emotional expression
- [fix]Restore the display of memory types
- Merge branch 'fix/othername-name' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/othername-name
- [updated]Update the title of the "analytics/node_statistics" log
Signed-off-by: 乐力齐 <accounts_690c7b0af9007d7e338af636@mail.teambition.com>
Reviewed-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com>
Merged-by: aliyun6762716068 <accounts_68cb7c6b61f5dcc4200d6251@mail.teambition.com>
CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/47
- Move MemoryClientFactory from app.core.memory.client_factory to app.core.memory.utils.llm.llm_utils
- Update all evaluation modules to import MemoryClientFactory from new location (locomo, longmemeval, memsciqa)
- Move GenerateCacheRequest from memory_storage_service to memory_storage_schema
- Update memory_storage_controller imports to reflect schema reorganization
- Add analytics_user_summary import to memory_storage_controller from user_memory_service
- Consolidate utility imports across evaluation test files for consistency
- Improve code organization by centralizing LLM utilities in dedicated utils module
- Remove deprecated main.py entry point from memory module
- Reorganize imports across controllers and services for consistency
- Update emotion controller to pass db session instead of config_id to services
- Enhance memory agent controller with db session parameter for status_type and user_profile endpoints
- Refactor memory agent service to accept db parameter in classify_message_type method
- Improve configuration handling in celery_app by removing automatic database reload
- Update all memory-related services to use centralized config management
- Standardize import ordering and remove unused imports across 50+ files
- Add pilot_run_service for new pilot execution workflow
- Refactor extraction engine, reflection engine, and search services for better modularity
- Update LLM utilities and embedder configuration for improved flexibility
- Enhance type classifier and verification tools with better error handling
- Improve memory evaluation modules (LOCOMO, LongMemEval, MemSciQA) with consistent patterns