Commit Graph

207 Commits

Author SHA1 Message Date
lixiangcheng1
cd12844a7c [fix]build knowledge graph 2025-12-27 17:12:04 +08:00
lixiangcheng1
a0c362244e [ADD]Add functions related to knowledge base graph:
Add functions related to knowledge base graph:
1. Entity type generation,
2. Knowledge base graph acquisition,
3. Hard deletion of knowledge base graph,
4. Knowledge base graph reconstruction (asynchronous)
2025-12-27 13:53:10 +08:00
朱文辉
06f64809c3 Merge #73 into develop from feature/20251219_xjn
feat(tool system): Optimization of the tool system

* feature/20251219_xjn: (1 commits)
  feat(tool system): Optimization of the tool system

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/73
2025-12-26 19:15:34 +08:00
谢俊男
9fb7d7d059 feat(tool system): Optimization of the tool system
1. Optimization of the JSON tool, add insert, replace, delete, parse
2. Optimization of the mcp test_connection
3. tool list desc
4. datetime_tool default timezone set Asia/Shanghai
2025-12-26 19:11:20 +08:00
朱文辉
05e25c5882 Merge #72 into develop from feature/20251219_myh
feat(workflow): add parameter extraction node

* feature/20251219_myh: (2 commits)
  feat(workflow): add parameter extraction node
  perf(prompt_opt): improve prompt optimization and model output quality

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/72
2025-12-26 17:48:24 +08:00
mengyonghao
ca89aba548 perf(prompt_opt): improve prompt optimization and model output quality 2025-12-26 17:45:14 +08:00
Mark
4e2498cd9b [modify] migrations script 2025-12-26 16:00:13 +08:00
mengyonghao
fc15a7793a feat(workflow): add parameter extraction node
- Implemented ParameterExtractorNode to extract structured parameters from input text using LLM.
- Supports dynamic Jinja2 prompt rendering with field descriptions and types.
- Integrates with RedBearLLM and ModelConfigService for model retrieval.
- Handles JSON repair and raises clear BusinessException on parsing errors.
2025-12-26 14:39:17 +08:00
朱文辉
58a0c619fd Merge #66 into develop from feature/20251219_xjn
feat(tool system): Tool info add tags variable

* feature/20251219_xjn: (1 commits)
  feat(tool system): Tool info add tags variable

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/66
2025-12-26 12:28:06 +08:00
Ke Sun
bf1dfd97f0 feat(memory-api): implement memory read/write API service endpoints
- Add MemoryAPIService with read_memory and write_memory methods for managing user memories
- Create memory_api_schema.py with request/response schemas for read and write operations
- Implement write_memory_api_service endpoint for storing memory content with configurable storage backends
- Implement read_memory_api_service endpoint for querying memories with context-aware responses
- Add memory-specific error codes (MEMORY_WRITE_FAILED, MEMORY_READ_FAILED, MEMORY_CONFIG_NOT_FOUND) to error_codes.py
2025-12-26 11:43:51 +08:00
谢俊男
4a9d4aa2e3 feat(tool system): Tool info add tags variable 2025-12-26 11:04:16 +08:00
Mark
2fa3bebe8f Merge branch 'develop-mark' into develop 2025-12-26 10:25:56 +08:00
Mark
553e658e05 [modify] app_api 2025-12-26 10:24:36 +08:00
孙科
7e03ae2bd3 Merge #63 into develop from fix/llm-output
[fix]Refresh formatted output

* fix/llm-output: (3 commits)
  [fix]Refresh formatted output
  [fix]Refresh formatted output
  Merge branch &#39;fix/llm-output&#39; of codeup.aliyun.com:redbearai/python/redbear-mem...

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/63
2025-12-25 18:59:22 +08:00
lanceyq
f349fa086c Merge branch 'fix/llm-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/llm-output 2025-12-25 18:56:42 +08:00
lanceyq
8900fc4dab [fix]Refresh formatted output 2025-12-25 18:56:37 +08:00
lanceyq
7421ec0fcc [fix]Refresh formatted output 2025-12-25 18:55:08 +08:00
朱文辉
5e8bef3d59 Merge #62 into develop from feature/20251219_myh
feat(workflow): add VariableAggregatorNode for aggregating workflow variables

* feature/20251219_myh: (1 commits)
  feat(workflow): add VariableAggregatorNode for aggregating workflow variables

Signed-off-by: Eternity <1533512157@qq.com>
Commented-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/62
2025-12-25 18:44:30 +08:00
mengyonghao
7181d41e51 feat(workflow): add VariableAggregatorNode for aggregating workflow variables 2025-12-25 18:38:53 +08:00
孙科
614037417f Merge #61 into develop from fix/llm-output
[fix]LLM formatted output

* fix/llm-output: (3 commits)
  [fix]LLM formatted output
  [fix]LLM formatted output
  Merge branch &#39;fix/llm-output&#39; of codeup.aliyun.com:redbearai/python/redbear-mem...

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/61
2025-12-25 18:22:34 +08:00
lanceyq
ca0fb1d5b9 Merge branch 'fix/llm-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/llm-output 2025-12-25 18:21:04 +08:00
lanceyq
3376d7e3c8 [fix]LLM formatted output 2025-12-25 18:21:00 +08:00
lanceyq
f047820196 [fix]LLM formatted output 2025-12-25 18:20:08 +08:00
Mark
ac25b6ff11 [add] migrations script 2025-12-25 17:51:27 +08:00
朱文辉
31918d5847 Merge #57 into develop from feature/20251219_myh
feat(workflow): add Jinja2 template rendering node

* feature/20251219_myh: (4 commits)
  feat(workflow): support variables wrapped with {{}} in assignment nodes, add input config example
  feat(workflow): add default User-Agent and redirect following for HTTP request ...
  fix(workflow): fix missing re-ranking for hybrid retrieval results in knowledge...
  feat(workflow): add Jinja2 template rendering node

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/57
2025-12-25 17:38:27 +08:00
朱文辉
b291cdffe5 Merge #59 into develop from feature/20251219_xjn
feat(tool system): Tool system reengineering

* feature/20251219_xjn: (2 commits)
  feat(tool system): tool system development
  feat(tool system): Tool system reengineering

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/59
2025-12-25 17:38:01 +08:00
谢俊男
04be3088a2 feat(tool system): Tool system reengineering 2025-12-25 17:30:20 +08:00
谢俊男
3bcaead413 feat(tool system): tool system development 2025-12-25 17:28:21 +08:00
mengyonghao
eeb7a3a68d feat(workflow): add Jinja2 template rendering node 2025-12-25 16:54:57 +08:00
Mark
dd18e2f599 [modify] optimize import 2025-12-25 14:59:40 +08:00
Mark
74e2a48286 [modify] optimize import 2025-12-25 14:59:20 +08:00
mengyonghao
0b141fb952 fix(workflow): fix missing re-ranking for hybrid retrieval results in knowledge base node, add config example 2025-12-25 14:47:22 +08:00
mengyonghao
aef7ae2cce feat(workflow): add default User-Agent and redirect following for HTTP request node, add config example 2025-12-25 14:44:47 +08:00
Mark
73fa2b666b [add] migration script 2025-12-25 14:44:26 +08:00
mengyonghao
8accd36f9e feat(workflow): support variables wrapped with {{}} in assignment nodes, add input config example 2025-12-25 14:41:41 +08:00
孙科
ab45705458 Merge #55 into develop from fix/user_summary
[fix]Allow null to be passed in for hire_date.

* fix/user_summary: (3 commits)
  [fix]Allow null to be passed in for hire_date.
  [fix]Allow null to be passed in for hire_date.
  Merge branch &#39;fix/user_summary&#39; of codeup.aliyun.com:redbearai/python/redbear-m...

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/55
2025-12-25 14:36:16 +08:00
lanceyq
2516fe7066 Merge branch 'fix/user_summary' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/user_summary 2025-12-25 14:34:55 +08:00
lanceyq
097d36c897 [fix]Allow null to be passed in for hire_date. 2025-12-25 14:34:50 +08:00
lanceyq
87da1fa188 [fix]Allow null to be passed in for hire_date. 2025-12-25 14:33:37 +08:00
朱文辉
02204889ea Merge #51 into develop from feature/20251219_myh
feat(workflow): add HTTP request node

* feature/20251219_myh: (3 commits)
  feat(workflow): add HTTP request node
  refactor(workflow): organize knowledge base code structure and add comments
  fix(workflow): correct property usage in HTTP request node

Signed-off-by: Eternity <1533512157@qq.com>
Commented-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/51
2025-12-25 13:52:35 +08:00
Mark
604ffeca66 [add] app api 2025-12-25 10:07:01 +08:00
mengyonghao
68901e2642 fix(workflow): correct property usage in HTTP request node 2025-12-24 21:32:38 +08:00
mengyonghao
3993aa55ea refactor(workflow): organize knowledge base code structure and add comments 2025-12-24 21:24:21 +08:00
mengyonghao
31a7727992 feat(workflow): add HTTP request node
- Introduce a new HttpRequestNode to enable external HTTP API calls in workflows
- Support multiple HTTP methods (GET, POST, PUT, DELETE, PATCH, HEAD)
- Support authentication strategies (None, Basic, Bearer, Custom header)
- Support multiple request body types (JSON, form-data, x-www-form-urlencoded, raw)
- Add configurable timeout, retry, and SSL verification
- Provide flexible error handling strategies (none, default response, branch)
2025-12-24 21:23:08 +08:00
Mark
2b76db6371 [modify] env.example 2025-12-24 21:01:04 +08:00
Mark
4447860e43 [fix] code 2025-12-24 21:00:10 +08:00
Mark
a7d18712b4 Merge branch 'develop' of codeup.aliyun.com:redbearai/python/redbear-mem-open into develop
# Conflicts:
#	api/app/services/workspace_service.py
2025-12-24 20:59:51 +08:00
Mark
c21ae4c571 [add] app chat service 2025-12-24 20:54:04 +08:00
Mark
bbd73d5e95 [add] app chat v1 2025-12-24 20:35:04 +08:00
乐力齐
cf900219a3 Merge #48 into develop from fix/othername-name
[fix]Fix the data structure + implement memory dashboard display

* fix/othername-name: (18 commits squashed)

  - [fix]Fix the issue with the display of the user&#39;s memory list

  - [fix]Ensure the six dimensions of emotional expression

  - [fix]Fix the issue with the display of the user&#39;s memory list

  - [fix]Ensure the six dimensions of emotional expression

  - Merge branch &#39;fix/othername-name&#39; 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&#39;s memory list

  - [fix]Ensure the six dimensions of emotional expression

  - [fix]Restore the display of memory types

  - Merge branch &#39;fix/othername-name&#39; of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/othername-name

  - [updated]Update the title of the &quot;analytics/node_statistics&quot; log

  - [fix]Fix the data structure + implement memory dashboard display

  - [fix]Fix the issue with the display of the user&#39;s memory list

  - [fix]Restore the display of memory types

  - [fix]Fix the issue with the display of the user&#39;s memory list

  - [fix]Restore the display of memory types

  - [fix]Fix the data structure + implement memory dashboard display

  - Merge branch &#39;fix/othername-name&#39; of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/othername-name

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/48
2025-12-24 10:55:05 +00:00