yao/neo/assistant
Max 5e5524293f Refactor Neo API assistant message handling and function integration
- Updated streamChat method to utilize content.Type for function handling, enhancing the interaction with function calls.
- Improved the String method in Content struct to handle function arguments more robustly, including JSON unmarshalling for completed content.
- Set default message type to "text" in NewOpenAI function, ensuring consistent message processing.

These changes enhance the flexibility and maintainability of the Neo API, paving the way for improved assistant functionalities and message management.
2025-01-15 16:35:58 +08:00
..
api.go Refactor Neo API assistant message handling and function integration 2025-01-15 16:35:58 +08:00
assistant.go Enhance Neo API assistant with function support and improved message handling 2025-01-15 11:20:55 +08:00
attachment.go Refactor attachment handling and enhance RAG/Vision integration in tests 2025-01-06 14:04:12 +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 Enhance Neo API assistant with function support and improved message handling 2025-01-15 11:20:55 +08:00
load.go Enhance Neo API assistant with function support and improved message handling 2025-01-15 11:20:55 +08:00
load_test.go Refactor Neo API assistant functionality and enhance model capabilities 2025-01-06 11:05:38 +08:00
types.go Enhance Neo API assistant with function support and improved message handling 2025-01-15 11:20:55 +08:00
utils.go Enhance RAG configuration and assistant loading in Neo API 2025-01-02 18:56:35 +08:00