yao/neo/conversation
Max 9db67a2456 Refactor chat retrieval in Neo API to support filtering and pagination
- Updated GetChats method across conversation implementations to accept a ChatFilter struct, enabling keyword filtering, pagination, and ordering.
- Enhanced handleChatList method in the Neo API to construct a filter from query parameters, improving the flexibility of chat retrieval.
- Introduced new types (ChatFilter, ChatGroup, ChatGroupResponse) to facilitate structured responses and better organization of chat data.
- Improved error handling and response structure for chat retrieval, ensuring robust feedback and clarity in API responses.
2024-12-17 10:18:37 +08:00
..
mongo.go Refactor chat retrieval in Neo API to support filtering and pagination 2024-12-17 10:18:37 +08:00
redis.go Refactor chat retrieval in Neo API to support filtering and pagination 2024-12-17 10:18:37 +08:00
types.go Refactor chat retrieval in Neo API to support filtering and pagination 2024-12-17 10:18:37 +08:00
weaviate.go Refactor chat retrieval in Neo API to support filtering and pagination 2024-12-17 10:18:37 +08:00
xun.go Refactor chat retrieval in Neo API to support filtering and pagination 2024-12-17 10:18:37 +08:00
xun_test.go Refactor chat retrieval in Neo API to support filtering and pagination 2024-12-17 10:18:37 +08:00