- Resolve the bug where variables inside Jinja2 template expressions were not correctly extracted.
- Ensure expressions containing {{ ... }} are parsed reliably.
- Introduce a new conditional branch node for workflows.
- Supports multiple case branches with logical operators (AND/OR).
- Enables workflow routing based on evaluated conditions.
- Replace the system prompt of the prompt optimization model with a built-in prompt.
- Remove system prompt entries from the database.
- Remove the API endpoint for managing system prompt configuration.
'fix/stream-output'
* fix/stream-output: (17 commits squashed)
- [fix]Fix the issue where the streaming output effect is not obvious.
- [fix]Fix the issue where the streaming output effect is not obvious.
- Merge branch 'fix/stream-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/stream-output
- [fix]
- [fix]Skip time extraction
- [fix]
- [fix]Skip time extraction
- Merge branch 'fix/stream-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/stream-output
- [fix]Remove human-induced delays
- [fix]Fix the issue where the streaming output effect is not obvious.
- [fix]
- [fix]Skip time extraction
- [fix]Fix the issue where the streaming output effect is not obvious.
- [fix]
- [fix]Skip time extraction
- [fix]Remove human-induced delays
- Merge branch 'fix/stream-output' of codeup.aliyun.com:redbearai/python/redbear-mem-open into fix/stream-output
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/13
- Added API endpoints for prompt optimization:
* POST /prompt/sessions: Create a new prompt optimization session
* GET /prompt/sessions/{session_id}: Retrieve session message history
* POST /prompt/sessions/{session_id}/messages: Send message and get optimized prompt
* PUT /prompt/model: Create or update system prompt model configuration
- Added database models for prompt optimization:
* prompt_opt_session: Stores session metadata
* prompt_opt_session_history: Stores session message history
* prompt_opt_message: Stores user and assistant messages
* prompt_opt_model_config: Stores system prompt model configurations
- Updated service layer to handle message creation, prompt optimization, and variable parsing
- Added corresponding Pydantic schemas for request and response validation
* [add]修改迁移文件新建空白表结构
* Add installation guide and environment setup
Added installation instructions and environment requirements for MemoryBear.
* [delete]删除api,web的readme.md。只保留唯一readme.md
* Fix database connection example in README
Update database connection configuration example in README.