yao/neo/assistant
Max af52dd35a1 Refactor conversation history handling and enhance Assistant structure
- Updated SaveHistory method across Mongo, Redis, and Weaviate to include a context parameter, improving flexibility in message storage.
- Modified the Assistant struct in types.go to add new fields: Type, Avatar, and Flows, enhancing the representation of assistant attributes.
- Adjusted the Xun implementation to support the new context handling in SaveHistory, ensuring messages can now include contextual information.
- Updated tests to reflect changes in message structure and ensure proper functionality with the new context parameter.
2024-12-20 12:30:31 +08:00
..
base Add file download functionality to Neo API 2024-12-16 11:07:22 +08:00
openai Add file download functionality to Neo API 2024-12-16 11:07:22 +08:00
types.go Refactor conversation history handling and enhance Assistant structure 2024-12-20 12:30:31 +08:00