yao/neo
Max 586ad9866c Enhance assistant loading and ID generation
- Update loadMap function to handle prompts as both string and array types, improving flexibility in data loading.
- Refactor assistant ID generation in SaveAssistant method to use a dedicated GenerateAssistantID function, ensuring unique IDs are created with error handling.
- Add GenerateAssistantID method to create a random 6-digit ID while checking for uniqueness in the database.
2025-03-17 18:28:02 +08:00
..
assistant Enhance assistant loading and ID generation 2025-03-17 18:28:02 +08:00
context Add support for passing arguments in assistant method calls 2025-03-12 17:24:36 +08:00
message Add result handling in assistant streaming and hook responses 2025-02-25 17:32:58 +08:00
rag Update Go version and dependencies; enhance Neo API functionality 2025-01-02 13:06:36 +08:00
store Enhance assistant loading and ID generation 2025-03-17 18:28:02 +08:00
vision Enhance Vision module with flexible prompt handling and comprehensive tests 2025-01-06 11:43:31 +08:00
api.go Add type filtering for assistants in API and data loading 2025-03-15 17:57:35 +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 Enhance Neo API assistant with improved message handling and hook support 2025-01-29 16:05:36 +08:00
load.go Add connector settings support in DSL and assistant initialization 2025-02-01 17:45:01 +08:00
load_test.go [add] Neo (70%) 2023-04-30 14:21:45 +08:00
neo.go Implement retry mechanism for assistant method calls 2025-03-01 12:20:02 +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 Add support for field selection in assistant filtering 2025-01-31 11:02:31 +08:00
process_test.go Enhance assistant filtering and management in Neo API 2024-12-29 17:30:33 +08:00
types.go Add connector settings support in DSL and assistant initialization 2025-02-01 17:45:01 +08:00