yao/neo/store
Max 979d27b741 Enhance chat retrieval and update functionality in Xun
- Added 'updated_at' field to the chat selection query to include the last modified timestamp in chat responses.
- Updated the ordering of chat results to prioritize 'updated_at' over 'created_at', improving the relevance of displayed chats.
- Modified the handling of chat creation timestamps to fall back on 'created_at' if 'updated_at' is not available, ensuring consistent date representation.
- Implemented an update mechanism for the 'updated_at' field when saving chat history, enhancing data integrity and tracking.

These changes improve the chat management capabilities of the Neo API assistant, ensuring more accurate and relevant chat data retrieval.
2025-01-22 16:52:37 +08:00
..
mongo.go Enhance assistant management and API functionality in Neo 2025-01-01 16:48:06 +08:00
redis.go Enhance assistant management and API functionality in Neo 2025-01-01 16:48:06 +08:00
types.go Refactor conversation table handling and update settings structure in Neo API 2025-01-02 16:22:10 +08:00
xun.go Enhance chat retrieval and update functionality in Xun 2025-01-22 16:52:37 +08:00
xun_test.go Refactor conversation table handling and update settings structure in Neo API 2025-01-02 16:22:10 +08:00