yao/neo
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
..
assistant Refactor Neo API assistant message handling and content processing 2025-01-22 16:09:01 +08:00
context Refactor assistant initialization and enhance context handling in Neo API 2025-01-13 11:07:12 +08:00
message Refactor Neo API assistant message handling and content processing 2025-01-22 16:09:01 +08:00
rag Update Go version and dependencies; enhance Neo API functionality 2025-01-02 13:06:36 +08:00
store Enhance chat retrieval and update functionality in Xun 2025-01-22 16:52:37 +08:00
vision Enhance Vision module with flexible prompt handling and comprehensive tests 2025-01-06 11:43:31 +08:00
api.go Refactor Neo API context handling and improve context management 2025-01-06 14:20:39 +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
hooks.go Refactor Neo API context handling and improve context management 2025-01-06 14:20:39 +08:00
load.go Refactor Neo API assistant management and remove obsolete functions 2025-01-03 16:37:43 +08:00
load_test.go [add] Neo (70%) 2023-04-30 14:21:45 +08:00
neo.go Refactor Neo API assistant message handling and content processing 2025-01-22 16:09:01 +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 Neo API context handling and improve context management 2025-01-06 14:20:39 +08:00