Commit Graph

468 Commits

Author SHA1 Message Date
zhaoying
35a06c3cbe feat(web): ai prompt api support stream 2026-01-06 15:03:40 +08:00
zhaoying
8d3ec8c047 fix(web): workflow bug 2026-01-06 13:06:24 +08:00
zhaoying
679e518574 fix(web): update ui 2026-01-05 17:31:16 +08:00
zhaoying
3400bea9ef feat(web): update node icon 2026-01-05 17:16:09 +08:00
Mark
43dd31d0c9 Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-05 16:54:32 +08:00
朱文辉
9587dfd905 Merge #108 into develop from develop_web
Merge #107 into develop_web from feature/20251219_zy

* develop_web: (8 commits)
  feat(web): add question classifier node
  feat(web): memory insight
  feat(web): add loop node; add chat variable;
  feat(index): add homepage with dashboard cards and knowledge graph support
  feat(web): memory-read、memory-write、iteration、assigner、tool node
  Merge #107 into develop_web from feature/20251219_zy
  feat(dashboard): add statistics API and enhance homepage dashboard cards
  Merge #109 into develop_web from feature/20251219_yjp

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>
Reviewed-by: vrhs@163.com <accounts_660b6454a0eb398d3f8d2c76@mail.teambition.com>
Merged-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/108
2026-01-05 16:51:48 +08:00
vrhs@163.com
af038bc63e Merge #109 into develop_web from feature/20251219_yjp
feat(dashboard): add statistics API and enhance homepage dashboard cards

* feature/20251219_yjp: (2 commits)
  feat(index): add homepage with dashboard cards and knowledge graph support
  feat(dashboard): add statistics API and enhance homepage dashboard cards

Signed-off-by: vrhs@163.com <accounts_660b6454a0eb398d3f8d2c76@mail.teambition.com>
Merged-by: vrhs@163.com <accounts_660b6454a0eb398d3f8d2c76@mail.teambition.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/109
2026-01-05 16:46:41 +08:00
yujiangping
3d4c807a87 feat(dashboard): add statistics API and enhance homepage dashboard cards
- Add Query and DataResponse interfaces to common API module
- Implement getDashboardStatistics API endpoint for fetching dashboard metrics
- Update TopCardList component to display real dashboard data with dynamic values
- Replace hardcoded dashboard metrics with actual API response data
- Add support for calculating and displaying weekly growth rates for spaces and users
- Update dashboard card labels and descriptions for models, spaces, users, and apps
- Add "Rebuild Graph" button translation to knowledge graph card (en/zh)
- Add appCount and userCount translation keys for dashboard display
- Fix dashboard metric key naming consistency (total_apps_runs → total_running_apps)
- Update dashboard descriptions to reflect weekly comparisons instead of daily
- Improve data binding between API response and UI components for real-time statistics
2026-01-05 16:46:10 +08:00
赵莹
1b9271f652 Merge #107 into develop_web from feature/20251219_zy
feat(web): memory-read、memory-write、iteration、assigner、tool node

* feature/20251219_zy: (4 commits)
  feat(web): add question classifier node
  feat(web): memory insight
  feat(web): add loop node; add chat variable;
  feat(web): memory-read、memory-write、iteration、assigner、tool node

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/107
2026-01-05 16:41:11 +08:00
zhaoying
3e71e4d15e feat(web): memory-read、memory-write、iteration、assigner、tool node 2026-01-05 16:18:04 +08:00
Eternity
78207aca34 feat(workflow): add memory read and write node (#24) 2026-01-05 15:57:04 +08:00
朱文辉
ab0e465760 Merge #106 into develop from feature/20251219_xjn
feat(home page): optimize the statistical interface

* feature/20251219_xjn: (1 commits)
  feat(home page): optimize the statistical interface

Signed-off-by: 谢俊男 <accounts_6853d0ea6f8174722fb0c8f1@mail.teambition.com>
Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>
Merged-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/106
2026-01-05 14:40:13 +08:00
谢俊男
c8b6e22143 feat(home page): optimize the statistical interface 2026-01-05 14:38:36 +08:00
Mark
a07e151c95 [add] migration script 2026-01-05 14:10:45 +08:00
乐力齐
1fc81d1347 Merge #105 into develop from feature/user-summary
[feature]用户记忆内容扩展

* feature/user-summary: (11 commits squashed)

  - [ADD]Support graph search

  - Merge #82 into develop from feature/20251219_myh
    
    fix: correct function naming for memory retrieval
    
    * feature/20251219_myh: (2 commits squashed)
    
      - perf(workflow): adjust default template to be compatible with frontend format
    
      - fix: correct function naming for memory retrieval
    
    Signed-off-by: Eternity <1533512157@qq.com>
    Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.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/82

  - [fix]parsed excel document error:float division by zero

  - [fix]parsed excel document error:float division by zero

  - [fix]parsed excel document error:float division by zero

  - [fix]parsed excel document error:float division by zero

  - [changes]1.Fix the Neo4j alert;2.Separate the functions of &quot;insight&quot; and &quot;summary&quot;

  - [feature]Develop user summary

  - [feature]Developing Memory Insights

  - [changes]Modify the data types and processing procedures of the configuration parameters

  - [fix]fix

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/105
2026-01-05 04:34:12 +00:00
乐力齐
e8a5cfe7e3 Merge #85 into develop from feature/actr-forget
[feature]actr-记忆遗忘需求开发

* feature/actr-forget: (12 commits squashed)

  - [feature]
    1.Extended fields of the date_config table;
    2.New activation value calculation has been added, and the ACTR parameter has been introduced in Neo4j.

  - [feature]1.Create a forgetting strategy executor;2.Create the forgetting scheduler

  - [feature]Introduce activation values for retrieval, and develop a two-stage retrieval reordering process

  - [feature]
    1.Extended fields of the date_config table;
    2.New activation value calculation has been added, and the ACTR parameter has been introduced in Neo4j.

  - [feature]1.Create a forgetting strategy executor;2.Create the forgetting scheduler

  - [feature]Introduce activation values for retrieval, and develop a two-stage retrieval reordering process

  - Merge branch &#39;feature/actr-forget&#39; of codeup.aliyun.com:redbearai/python/redbear-mem-open into feature/actr-forget

  - [fix]Eliminate the interference caused by redundant code

  - [feature]
    1.Extended fields of the date_config table;
    2.New activation value calculation has been added, and the ACTR parameter has been introduced in Neo4j.

  - [feature]1.Create a forgetting strategy executor;2.Create the forgetting scheduler

  - [feature]Introduce activation values for retrieval, and develop a two-stage retrieval reordering process

  - Merge branch &#39;feature/actr-forget&#39; of codeup.aliyun.com:redbearai/python/redbear-mem-open into feature/actr-forget

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/85
2026-01-05 04:30:36 +00:00
lixiangcheng1
d299c39c55 Merge branch 'feature/20251219_lxc' into develop 2026-01-05 12:19:03 +08:00
lixiangcheng1
dd5e21a653 [ADD] add open api for knowledge、document、file、chunk、retrieval 2026-01-05 12:18:31 +08:00
朱文辉
8625c0f266 Merge #104 into develop from feature/20251219_myh
feat(workflow): add support for question classifier in graph construction

* feature/20251219_myh: (11 commits)
  feat(workflow): support variable types(TODO)
  fix(workflow): fix passing of loop variable termination condition
  feat(workflow): add support for passing workspace ID
  feat(workflow): support retrieving variables wrapped in {{}} from variable pool
  feat(prompt_opt): support streaming output for prompt optimization API
  feat(workflow): update workflow conditional logic
  feat(workflow): enable front-end to cover pre-rendered non-variable values
  fix(workflow): ensure default values are properly retrieved in HTTP nodes
  refactor(workflow): refactor graph construction to support subgraph building
  Merge branch &#39;develop&#39; into feature/20251219_myh
  feat(workflow): add support for question classifier in graph construction

Signed-off-by: Eternity <1533512157@qq.com>
Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>
Merged-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/104
2026-01-05 11:50:19 +08:00
Mark
50bdf2cc75 Merge branch 'develop' of codeup.aliyun.com:redbearai/python/redbear-mem-open into develop 2026-01-05 11:49:08 +08:00
Mark
393fbee551 [modify] multi agent model parameter 2026-01-05 11:49:01 +08:00
mengyonghao
fc4cf418e0 feat(workflow): add support for question classifier in graph construction 2026-01-05 11:29:27 +08:00
mengyonghao
63f0fa5da2 Merge branch 'develop' into feature/20251219_myh
# Conflicts:
#	api/app/core/workflow/executor.py
#	api/app/core/workflow/nodes/node_factory.py
#	api/app/core/workflow/nodes/question_classifier/node.py
2026-01-05 11:10:01 +08:00
mengyonghao
4685fd14ad refactor(workflow): refactor graph construction to support subgraph building 2026-01-05 11:06:21 +08:00
mengyonghao
5957eb9c1a fix(workflow): ensure default values are properly retrieved in HTTP nodes 2026-01-05 11:02:17 +08:00
mengyonghao
1f6835a8e0 feat(workflow): enable front-end to cover pre-rendered non-variable values 2026-01-05 11:00:50 +08:00
mengyonghao
b56994b999 feat(workflow): update workflow conditional logic 2026-01-05 10:57:44 +08:00
mengyonghao
eaf2437633 feat(prompt_opt): support streaming output for prompt optimization API 2026-01-05 10:53:53 +08:00
mengyonghao
fc831e04c1 feat(workflow): support retrieving variables wrapped in {{}} from variable pool 2026-01-05 10:52:46 +08:00
mengyonghao
bf6ede64bd feat(workflow): add support for passing workspace ID 2026-01-05 10:51:57 +08:00
mengyonghao
55dac533d9 fix(workflow): fix passing of loop variable termination condition 2026-01-05 10:50:32 +08:00
mengyonghao
373b91143d feat(workflow): support variable types(TODO) 2026-01-05 10:49:30 +08:00
朱文辉
2e00eec704 Merge #103 into develop from develop_web
Merge #101 into develop_web from feature/20251219_zy

* develop_web: (100 commits)
  Merge #28 into develop_web from feature/20251219_zy
  feat(web): Workflow
  Merge #29 into develop_web from feature/20251219_zy
  feat(web): node show id; update reflection engine example
  Merge #30 into develop_web from feature/20251219_zy
  feat(components): Add markdown editing capability and enhance component styling
  Merge origin/develop_web into feature/20251219_yjp
  feat(web): Graph user memory update
  feat(web): update routes.json
  fix(web): workflow bug
  Merge branch &#39;feature/20251219_zy&#39; into develop_web
  fix(web): workflow variable
  Merge #35 into develop_web from feature/20251219_zy
  fix(web): workflow properties
  feat(web): workflow support lexical editor
  feat(web): workflow support lexical editor
  feat(web): update reflection engine result
  Merge #38 into develop_web from feature/20251219_zy
  feat(web): workflow&#39;s chat support abort output
  Merge #39 into develop_web from feature/20251219_zy
  fix:git commit
  fix:vite config
  Merge #43 into develop_web from feature/20251219_yjp
  fix:breadcrumbs
  feat(i18n): add document processing confirmation dialog translations
  fix(web): user memory detail
  Merge #46 into develop_web from feature/20251219_zy
  feat(web): order
  fix:面包屑修改
  Merge #50 into develop_web from feature/20251219_yjp
  feat(web): 1. user memory; 2. update workspace&#39;s model config
  Merge #52 into develop_web from feature/20251219_zy
  feat(web): update zh.ts / en.ts
  Merge #53 into develop_web from feature/20251219_zy
  fix(web): update user profile
  Merge #54 into develop_web from feature/20251219_zy
  feat(web): Agent add ai prompt
  feat(web): Agent add ai prompt
  Merge #56 into develop_web from feature/20251219_zy
  feat(web): add pricing menu
  Merge #58 into develop_web from feature/20251219_zy
  feat(knowledgeBase): add media file validation and PDF enhancement method selection
  Merge #60 into develop_web from feature/20251219_yjp
  feat(knowledgeBase): add media dataset support and improve file handling
  Merge #64 into develop_web from feature/20251219_yjp
  fix(knowledgeBase): improve navigation and folder tree refresh logic
  Merge #65 into develop_web from feature/20251219_yjp
  fix:pdfEnhancementEnabled
  Merge #67 into develop_web from feature/20251219_yjp
  feat(web): add tool management
  fix(web): get the parent domain name adaptation IP
  fix(web): Conversation add initialValue
  feat(web): workflow’s Editor Variable support Tag
  Merge #68 into develop_web from feature/20251219_zy
  fix(web): pricing UI
  Merge #69 into develop_web from feature/20251219_zy
  feat(web): JSON Tool update
  fix(web): update get llm,chat model list function
  Merge #70 into develop_web from feature/20251219_zy
  fix(web): time tool / cluster chat
  Merge #71 into develop_web from feature/20251219_zy
  fix(web): time tool add time zone
  feat(web): neo4j type user memory detail
  fix(web): update parseSchema api param
  Merge #74 into develop_web from feature/20251219_zy
  feat: workflow add knowledge-retrieval node
  feat(knowledgeBase): enhance file upload and dataset creation with abort support and improved UX
  Merge #77 into develop_web from feature/20251219_yjp
  feat(web): MCP add bearer token auth type
  Merge #79 into develop_web from feature/20251219_zy
  fix(web): UI update
  Merge #81 into develop_web from feature/20251219_zy
  doc: update version
  doc: update zh.ts
  fix(web): fix neo4j user memory refresh
  feat(web): add parameter-extractor、if-else、var-aggregator Node
  Merge #83 into develop_web from feature/20251219_zy
  fix:100MB
  Merge #84 into develop_web from feature/20251219_yjp
  fix: tool update refresh
  feat(web): update user statement page UI
  feat(web): add http-request、jinja-render node
  Merge #89 into develop_web from feature/20251219_zy
  fix(web): workflow save function
  Merge #90 into develop_web from feature/20251219_zy
  fix(web): update modal.confirm cancelText
  Merge #91 into develop_web from feature/20251219_zy
  feat(web): hidden node
  fix(web): knowledge-retrieval node update
  Merge #95 into develop_web from feature/20251219_zy
  fix(web): remove icon
  fix(web): Editor
  fix(web): order history
  feat(web): cluster
  Merge #99 into develop_web from feature/20251219_zy
  feat(web): cluster handoffs disabled
  Merge #100 into develop_web from feature/20251219_zy
  feat(web): forgetting engine config
  feat: llm node add context
  Merge #101 into develop_web from feature/20251219_zy

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>
Merged-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/103
2026-01-05 10:47:44 +08:00
朱文辉
e1bc6b8597 Merge #102 into develop from feature/20251219_xjn
feat(workflow_node): question classifier node optimization

* feature/20251219_xjn: (9 commits)
  feat(tool system): The specific method for obtaining the tool and the parameters to be passed
  feat(tool system): add mcp testing services
  Merge branch &#39;refs/heads/develop&#39; into feature/20251219_xjn
  feat(tool system): add all methods for obtaining the tool
  feat(tool system): add workflow tool nodes
  Merge branch &#39;refs/heads/develop&#39; into feature/20251219_xjn
  feat(home page): add statistical interface
  Merge branch &#39;refs/heads/develop&#39; into feature/20251219_xjn
  feat(workflow_node): question classifier node optimization

Signed-off-by: 谢俊男 <accounts_6853d0ea6f8174722fb0c8f1@mail.teambition.com>
Reviewed-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>
Merged-by: zhuwenhui5566@163.com <zhuwenhui5566@163.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/102
2026-01-05 10:46:53 +08:00
yujiangping
f31341151f feat(index): add homepage with dashboard cards and knowledge graph support
- Add new Index view with dashboard layout and quick action cards
- Create TopCardList component to display core data management options
- Add GuideCard and VersionCard components for user guidance
- Add QuickActions component for common operations
- Create KnowledgeGraph and KnowledgeGraphCard components for knowledge base visualization
- Add comprehensive SVG assets for index page (apps, arrows, management icons)
- Add common API module for shared request utilities
- Extend knowledgeBase API with knowledge graph endpoints (getKnowledgeGraph, getKnowledgeGraphEntityTypes)
- Update i18n translations for English and Chinese with new index page strings
- Update routing configuration to include new Index route
- Update menu configuration to reflect new navigation structure
- Update KnowledgeBase CreateModal and Private view components
- Add TypeScript types for Index page components
- Improve overall UI/UX with new dashboard-style homepage
2026-01-05 10:37:08 +08:00
Mark
3fe2ef6611 [modify] share chat 2026-01-04 20:51:37 +08:00
Mark
3a3cd59d8e [fix] app api multi agent call 2026-01-04 20:08:19 +08:00
zhaoying
a66fb9eade feat(web): add loop node; add chat variable; 2026-01-04 20:00:10 +08:00
谢俊男
c0b29dd938 feat(workflow_node): question classifier node optimization 2026-01-04 19:06:51 +08:00
谢俊男
6babd0b531 Merge branch 'refs/heads/develop' into feature/20251219_xjn 2026-01-04 19:04:30 +08:00
zhaoying
4e3b8870c5 feat(web): memory insight 2026-01-04 18:30:20 +08:00
Mark
4674d4d291 Merge branch 'develop' of codeup.aliyun.com:redbearai/python/redbear-mem-open into develop 2026-01-04 18:05:15 +08:00
Mark
57da24220f [fix] stream output reslut_merge event 2026-01-04 18:05:09 +08:00
谢俊男
a8c5368d49 feat(home page): add statistical interface 2026-01-04 15:36:24 +08:00
谢俊男
b731389c81 Merge branch 'refs/heads/develop' into feature/20251219_xjn 2026-01-04 15:35:57 +08:00
lixiangcheng1
aca5be2d1b Merge branch 'feature/20251219_lxc' into develop 2026-01-04 15:19:35 +08:00
lixiangcheng1
c6cd2e5839 [fix]get knowledge graph entity types 2026-01-04 15:18:44 +08:00
zhaoying
9dd3fc8d08 feat(web): add question classifier node 2026-01-04 13:51:56 +08:00
赵莹
5f0e1694ce Merge #101 into develop_web from feature/20251219_zy
feat: llm node add context

* feature/20251219_zy: (2 commits)
  feat(web): forgetting engine config
  feat: llm node add context

Signed-off-by: zhaoying <zhaoying@redbearai.com>
Merged-by: zhaoying <zhaoying@redbearai.com>

CR-link: https://codeup.aliyun.com/redbearai/python/redbear-mem-open/change/101
2026-01-04 13:33:01 +08:00
zhaoying
351be8aaf3 feat: llm node add context 2026-01-04 12:06:24 +08:00