yao/neo
Max e530ccc1cd Refactor conversation management and migrate to store-based architecture in Neo API
- Replaced the conversation handling logic with a new store-based approach, enhancing data management and retrieval capabilities.
- Updated all relevant methods to utilize the new store interface, including GetChats, GetChat, GetHistory, and SaveAssistant, ensuring consistent functionality across the API.
- Removed deprecated conversation-related files and structures, streamlining the codebase and improving maintainability.
- Enhanced the AssistantFilter and AssistantResponse types to support the new store architecture, improving filtering and pagination capabilities.
- Updated tests to cover the new store-based methods and ensure robust functionality across different storage backends.
2025-01-01 10:43:05 +08:00
..
assistant Refactor conversation management and migrate to store-based architecture in Neo API 2025-01-01 10:43:05 +08:00
message Refactor message handling and enhance file reading capabilities in Neo API 2024-12-31 16:01:48 +08:00
store Refactor conversation management and migrate to store-based architecture in Neo API 2025-01-01 10:43:05 +08:00
api.go Refactor conversation management and migrate to store-based architecture in Neo API 2025-01-01 10:43:05 +08:00
api_test.go Refactor Neo DSL tests and API structure by removing unused handlers, enhancing conversation management, and implementing new test cases for prompts, chat messages, and history saving. Introduce custom response recorder for improved testing and mock AI for simulating responses. 2024-12-13 11:17:00 +08:00
context.go Enhance NewContext function to include ChatID parameter for improved context management 2024-12-12 20:21:02 +08:00
hooks.go Add chat detail and mentions handling in Neo API 2024-12-16 17:36:02 +08:00
load.go Refactor conversation management and migrate to store-based architecture in Neo API 2025-01-01 10:43:05 +08:00
load_test.go [add] Neo (70%) 2023-04-30 14:21:45 +08:00
neo.go Refactor conversation management and migrate to store-based architecture in Neo API 2025-01-01 10:43:05 +08:00
neo_test.go Enhance Neo API and conversation management by adding support for server-sent events (SSE) in chat handling, improving error messaging with structured responses, and refactoring assistant creation logic. Update conversation settings to utilize a new assistant model and implement context management improvements for better performance. Additionally, streamline the DSL structure and enhance test coverage for chat functionalities. 2024-12-13 17:51:13 +08:00
process.go Refactor conversation management and migrate to store-based architecture in Neo API 2025-01-01 10:43:05 +08:00
process_test.go Enhance assistant filtering and management in Neo API 2024-12-29 17:30:33 +08:00
types.go Refactor conversation management and migrate to store-based architecture in Neo API 2025-01-01 10:43:05 +08:00