yao/neo/assistant
Max 2a5ccb0e2d Add latest chat retrieval endpoint to Neo API
- Implemented a new `/chats/latest` endpoint to fetch the most recent chat or generate a placeholder
- Added `handleChatLatest` method in the DSL to support retrieving the latest chat for a given session
- Introduced `GetPlaceholder()` method in the Assistant interface to support placeholder generation
- Enhanced API flexibility by allowing optional assistant ID specification for placeholder retrieval

This change improves the chat retrieval capabilities of the Neo API, providing a convenient way to access the most recent chat or generate a starting point for new conversations.
2025-01-25 15:42:51 +08:00
..
api.go Add latest chat retrieval endpoint to Neo API 2025-01-25 15:42:51 +08:00
assistant.go Add Placeholder support for Assistants in Neo API 2025-01-25 14:03:45 +08:00
attachment.go Refactor Neo API assistant to enhance vision support and message handling 2025-01-17 15:16:26 +08:00
attachment_test.go Refactor attachment handling and enhance RAG/Vision integration in tests 2025-01-06 14:04:12 +08:00
cache.go Refactor assistant management and enhance storage retrieval in Neo API 2025-01-01 12:31:47 +08:00
cache_test.go Refactor assistant management and enhance storage retrieval in Neo API 2025-01-01 12:31:47 +08:00
hooks.go Refactor Neo API assistant message handling and content processing 2025-01-22 16:09:01 +08:00
load.go Add Placeholder support for Assistants in Neo API 2025-01-25 14:03:45 +08:00
load_test.go Refactor Neo API assistant functionality and enhance model capabilities 2025-01-06 11:05:38 +08:00
types.go Add latest chat retrieval endpoint to Neo API 2025-01-25 15:42:51 +08:00
utils.go Enhance RAG configuration and assistant loading in Neo API 2025-01-02 18:56:35 +08:00