Commit Graph

494 Commits

Author SHA1 Message Date
Mark
2f825b02bf Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-06 17:12:30 +08:00
Mark
a940717ed0 [add] publish and share run add workflow type app 2026-01-06 17:11:52 +08:00
yingzhao
9572924e64 Merge pull request #36 from SuanmoSuanyangTechnology/feature/workflow_zy
Feature/workflow zy
2026-01-06 15:46:09 +08:00
zhaoying
9d0622b6cc feat(web): user summary api update 2026-01-06 15:36:25 +08:00
zhaoying
35a06c3cbe feat(web): ai prompt api support stream 2026-01-06 15:03:40 +08:00
Mark
190155f438 Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-06 14:44:13 +08:00
Mark
f59f508c4d [fix] public share agent run 2026-01-06 14:43:23 +08:00
Eternity
79d035ac02 fix(prompt_optim): allow streaming output to raise exceptions (#34) 2026-01-06 14:27:51 +08:00
乐力齐
a0f19ace92 Fix/memory insights (#30)
* [fix]fix memory insights

* [fix]fix memory insights

* [fix]Based on the correction of the code by sourcery-ai
2026-01-06 14:05:15 +08:00
Mark
85c7e531e4 Merge branch 'develop' of github.com:SuanmoSuanyangTechnology/MemoryBear into develop 2026-01-06 13:58:52 +08:00
Mark
ed62e92da6 [fix] miss agent_config 2026-01-06 13:56:40 +08:00
yingzhao
888312fd7a Merge pull request #32 from SuanmoSuanyangTechnology/feature/workflow_zy
Feature/workflow zy
2026-01-06 13:42:28 +08:00
zhaoying
8d3ec8c047 fix(web): workflow bug 2026-01-06 13:06:24 +08:00
Mark
b2a1f6bc13 Merge pull request #31 from SuanmoSuanyangTechnology/fix/workflow_xjn
fix(workflow node)
2026-01-06 13:05:11 +08:00
谢俊男
962b74a68a fix(workflow node): Workflow nodes and question classifier nodes - bug fixes 2026-01-06 12:09:55 +08:00
Mark
2fadf88a93 Merge pull request #25 from SuanmoSuanyangTechnology/fix/workflow
Fix/workflow
2026-01-06 12:01:42 +08:00
mengyonghao
411525687e fix(workflow): temporarily ignore non-text fields in knowledge retrieval node 2026-01-06 11:38:03 +08:00
yujiangping
26fbb95454 Merge branch 'feature/knowledgeBase_yjp' into develop 2026-01-06 11:30:04 +08:00
yujiangping
5a5c5e5bf4 feat(knowledgeBase): add knowledge graph rebuild and delete functionality
- Add deleteKnowledgeGraph and rebuildKnowledgeGraph API endpoints to knowledgeBase.ts
- Add internationalization strings for rebuild confirmation dialog and success/failure messages in both English and Chinese
- Implement rebuild mode logic in CreateModal component with confirmation dialog before rebuilding
- Add originalType state tracking to distinguish between rebuild and regular edit modes
- Update handleSave to trigger graph deletion and rebuild when in rebuild mode with graphrag enabled
- Add handleDeleteGraph method to delete existing knowledge graph data before rebuild
- Update performSave to use correct type value during save operation in rebuild mode
- Enhance Private.tsx to refresh knowledge base details after table data refresh
- Import new API functions (deleteKnowledgeGraph, rebuildKnowledgeGraph) in CreateModal
- Update KnowledgeGraphCard component timestamp in file header
2026-01-06 11:22:11 +08:00
mengyonghao
049642ae48 fix(workflow): require end node only in main graph during runtime validation 2026-01-06 10:46:55 +08:00
mengyonghao
0300abc454 feat(workflow): fix concurrent update conflict of looping flag in parallel loop nodes 2026-01-06 10:35:43 +08:00
Mark
ebdf4e4c5e [fix] converfsation message duplicate entry problem 2026-01-05 19:03:28 +08:00
mengyonghao
71c5b54532 fix(workflow): throw exception when HTTP request node error handler is empty 2026-01-05 18:22:17 +08:00
mengyonghao
e1e77f70f9 feat(workflow): support context injection in LLM node 2026-01-05 17:37:45 +08:00
mengyonghao
d4a87187cb fix(workflow): fix memory node message field not supporting variables 2026-01-05 17:32:20 +08:00
mengyonghao
05ec76f940 perf(prompt_opt): optimize streaming output structure and add variable parsing 2026-01-05 17:31:28 +08:00
zhaoying
679e518574 fix(web): update ui 2026-01-05 17:31:16 +08:00
mengyonghao
29ccf956ec pref(workflow): skip orphan node check in runtime execution 2026-01-05 17:30:28 +08:00
mengyonghao
35db38c2de feat(workflow): support context injection in LLM node 2026-01-05 17:17:52 +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