Commit graph

28 commits

Author SHA1 Message Date
jinli.yl
ac6f0c56d9 refactor(grep_op): replace shell grep with python regex search 2025-11-26 00:18:35 +08:00
jinli.yl
32bfef63f8 feat(memory): add working memory operations to retrieve and summary modules 2025-11-25 13:19:37 +08:00
jinli.yl
e69019623c refactor(grep_op): replace asyncio subprocess with run_shell_command utility 2025-11-25 11:40:57 +08:00
jinli.yl
a6ba93ccf3 refactor(read_file_op): replace subprocess with asyncio for sed command execution 2025-11-25 11:23:02 +08:00
jinli.yl
8791de6d6f refactor(working_memory): rename context offload operations to working memory summarization 2025-11-25 10:59:38 +08:00
jinli.yl
b421515c73 refactor(core): restructure context management and working memory modules 2025-11-24 21:17:02 +08:00
jinli.yl
73668f051e feat(core): add pre-commit hooks and improve module documentation 2025-11-07 14:14:11 +08:00
jinli.yl
7e82a3179e feat(reme_ai): update version to 0.1.10.6 and enhance tool memory operations 2025-10-27 21:12:11 +08:00
jinli.yl
49819a8e54 feat(tool): implement tool memory management and mock search tools- Added RetrieveToolMemoryOp for retrieving tool memory guidelines- Implemented LLM-based mock search tools with configurable complexity levels
- Enhanced tool call result parsing with improved scoring logic (0.0 or 1.0)
- Updated tool memory schema to reflect binary success/failure scoring
- Added deterministic behavior support via seed configuration in mock tools
- Improved evaluation prompts to focus on result quality over success flags
- Extended README with tool memory documentation and usage examples- Added utility functions for generating mock tool call results
- Removed deprecated test file for UseMockSearchOp- Updated default configurations to include use_mock_search operation- Bumped version to0.1.10 and updated flowllm dependency requirement
- Moved deprecation warnings to main init file
- Simplified tool memory summary formatting by removing redundant statistics
- Fixed tool call result processing to handle multiple tool names concurrently
2025-10-21 21:03:14 +08:00
jinli.yl
b07213791f feat(tool): implement tool memory management and summarization
- Added SummaryToolMemoryOp for analyzing tool usage patterns- Implemented RetrieveToolMemoryOp for fetching tool memories
- Enhanced ParseToolCallResultOp with evaluation and scoring logic
- Updated ToolMemory schema with summary, evaluation, and score fields
- Added new prompt templates for tool evaluation and summarization
- Configured tool memory operations in default.yaml
- Fixed success flag logic in ToolCallResult processing
- Improved statistical analysis for tool call history
- Added concurrent processing for tool call evaluations
- Integrated tool memory updates with vector store operations
2025-10-16 15:49:49 +08:00
jinli.yl
b9da8d2a7f feat(memory): add tool call result handling and memory management
- Add new ToolCallResult and ToolMemory schemas for tracking tool executions
- Implement tool memory retrieval and summarization flows in default config
- Register new parse_tool_call_result_op for processing tool call results
- Extend memory conversion logic to support tool memory type
- Add test cases for tool memory serialization and deserialization
- Include token counting utilities for text processing tasks
2025-10-16 10:50:27 +08:00
jinliyl
560e746cea
reformat code, support flowllm 0.1.9 (#26)
* reformat code, support flowllm 0.1.9

* Update README.md

add FLOW_USE_FRAMEWORK=true

* Update README_ZH.md

add FLOW_USE_FRAMEWORK=true

* Update index.md

add FLOW_USE_FRAMEWORK=true

* add env FLOW_APP_NAME=ReMe
2025-09-16 16:49:56 +08:00
jinli.yl
a9f061b92d refactor(vector_store): update search functionality and documentation
- Remove deprecated `add_dict_filter` method from vector store operations
- Update `async_search` method to use `filter_dict` parameter for advanced filtering
- Modify examples in documentation to use the new `filter_dict` format for advanced filtering
- Update task memory and messages for consistency with new filtering approach
2025-09-07 15:58:31 +08:00
jinli.yl
948cddf423 feat(service): implement base memory service and personal/task memory services
- Add BaseMemoryService abstract class with common memory operations
- Implement PersonalMemoryService and TaskMemoryService concrete classes
- Update default config to use async services for memory operations
- Modify recall and retrieve ops to use context for top_k parameter
- Update vector store action op to handle list action and return result directly
2025-09-07 14:15:36 +08:00
jinli.yl
bf3fa875aa refactor(vector_store): update memory operations to use async search
- Update load_today_memory_op.py to use async version of _retrieve_today_memories
- Update memory_deduplication_op.py to use async version of _deduplicate_task_memories and _get_existing_task_memory_embeddings
- Update retrieve_memory_op.py to use async_search instead of search
2025-09-06 21:42:55 +08:00
jinli.yl
6bb3ab90fc refactor(llm): update LLM-related ops to use async execution
- Modify LLM-related ops to use async_execute instead of execute
- Replace chat method with achat for asynchronous LLM calls
- Update method signatures and return types to support async operations
- This change affects multiple files across the project
2025-09-06 20:27:25 +08:00
jinli.yl
49c73b15b3 refactor(reme_ai): update app and ops for async execution and new LLM features
- Update app.py to use async service initialization
- Refactor multiple ops to use async_execute instead of execute
- Add support for stream and use_async flags in config
- Update LLM usage to use achat instead of chat
- Add new LLM models and update existing ones in config
- Improve error handling and logging in several ops
- Update dependencies and Python version requirements
2025-09-06 20:17:33 +08:00
jinli.yl
0c2fb9a522 refactor(reme_ai): formatting and minor code improvements
- Removed unnecessary comments
- Improved code formatting across multiple files
- Updated import statements and removed unused imports
- Refactored some function definitions for better readability
2025-08-31 15:58:59 +08:00
caozouying.czy
7c639184cb add: add new op for ReMe service 2025-08-29 01:04:06 +08:00
jinli.yl
074634d884 refactor(reme_ai): consolidate personal memory and update related ops
- Rename and restructure personal memory consolidation flow
- Update memory handling in context and operations
- Refactor memory schema to use time_created and time_modified fields
- Improve error handling and logging in memory operations
- Update test cases for new memory consolidation flow
2025-08-28 14:31:03 +08:00
jinli.yl
527e04140c refactor(personal): standardize memory operations and improve time handling
- Rename and restructure memory loading operations
- Enhance time extraction and formatting capabilities- Implement more robust memory filtering and ranking logic
- Refactor observation extraction methods for better reusability
- Improve logging and error handling in memory operations
2025-08-28 01:24:34 +08:00
jinli.yl
8600015632 refactor(reme_ai): rename and restructure modules for better organization
- Rename `worker` to `op` for operation classes
- Remove `memoryscope` package
- Create `constants` package with common constants
- Update module imports and class names accordingly
2025-08-27 17:05:40 +08:00
jinli.yl
9fb7aa4e78 feat(agent): add agent module and update related components
- Add agent module to reme_ai package
- Update retrieve module to include agent-related functionality
- Modify summary module to use new agent features
- Update configuration to support agent operations
2025-08-27 11:37:14 +08:00
jinli.yl
423cf2f262 refactor(import): update import statements and rename classes across multiple modules
- Update import statements to use relative imports where appropriate
- Rename classes to match file names for better consistency
- Add new imports for recently added modules
2025-08-27 11:07:02 +08:00
jinli.yl
5a3d8ab74d feat(reme_ai): implement summary functionality and enhance vector store operations
- Add summary module with simple summary and personal summary tasks
- Implement new vector store operations for updating and managing memory
- Refactor retrieve module to improve query building and memory rewriting
- Update schema and utils modules for better data handling and PDF processing
2025-08-26 20:56:30 +08:00
jinli.yl
cceebc631e refactor: rename package and restructure modules
- Rename experiencemaker package to reme_ai
- Move personal modules to new directory structure
- Remove unused classes and imports
- Update module initialization files
2025-08-25 23:59:08 +08:00
jinli.yl
4a2b7f9de1 mv experience maker file to reme_ai 2025-08-25 16:46:46 +08:00
jinli.yl
4739d39f3f feat(reme_ai): implement memory retrieval and merging functionality
- Add BuildQueryOp to construct query for memory retrieval-Implement MergeMemoryOp to combine retrieved memories
- Create RecallVectorStoreOp to fetch memories from vector store
- Develop memory representation and conversion methods
- Establish initial project structure and dependencies
2025-08-25 16:10:53 +08:00