yao/neo/conversation
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
..
mongo.go Refactor conversation history handling and enhance Assistant structure 2024-12-20 12:30:31 +08:00
redis.go Refactor conversation history handling and enhance Assistant structure 2024-12-20 12:30:31 +08:00
types.go Refactor conversation history handling and enhance Assistant structure 2024-12-20 12:30:31 +08:00
weaviate.go Refactor conversation history handling and enhance Assistant structure 2024-12-20 12:30:31 +08:00
xun.go Refactor conversation history handling and enhance Assistant structure 2024-12-20 12:30:31 +08:00
xun_test.go Refactor conversation history handling and enhance Assistant structure 2024-12-20 12:30:31 +08:00