yao/neo/conversation
Max af65a2d5fa Refactor assistant management and enhance API response structure
- Updated the assistant management functions to utilize a unified response structure, replacing the previous 'Items' field with 'Data' for consistency across the API.
- Refactored the handling of assistant mentions and details to streamline data processing, improving code readability and maintainability.
- Enhanced the AssistantResponse type to include pagination fields directly, facilitating better management of assistant data retrieval.
- Implemented new methods for adding, saving, deleting, and searching assistants, ensuring robust functionality across different storage backends.
- Updated tests to reflect changes in the assistant management logic and response structure, ensuring comprehensive coverage and reliability.
2024-12-29 12:57:17 +08:00
..
mongo.go Refactor assistant management and enhance API response structure 2024-12-29 12:57:17 +08:00
redis.go Refactor assistant management and enhance API response structure 2024-12-29 12:57:17 +08:00
types.go Refactor assistant management and enhance API response structure 2024-12-29 12:57:17 +08:00
weaviate.go Refactor assistant management and enhance API response structure 2024-12-29 12:57:17 +08:00
xun.go Refactor assistant management and enhance API response structure 2024-12-29 12:57:17 +08:00
xun_test.go Refactor assistant management and enhance API response structure 2024-12-29 12:57:17 +08:00