package
0.0.0-20250219065129-52aed497bc00
Repository: https://github.com/infinilabs/coco-server.git
Documentation: pkg.go.dev

# Functions

NewMemory is a function for crating a new buffer memory.
NewZepChatMessageHistory creates a new ZepChatMessageHistory using chat message options.
WithAIPrefix is an option for specifying the AI prefix.
WithChatHistoryAIPrefix is an option for specifying the AI prefix.
WithChatHistoryHumanPrefix is an option for specifying the human prefix.
WithChatHistoryMemoryType specifies zep memory type.
WithHumanPrefix is an option for specifying the human prefix.
WithInputKey is an option for specifying the input key.
WithMemoryKey is an option for specifying the memory key.
WithMemoryType specifies zep memory type.
WithOutputKey is an option for specifying the output key.
WithReturnMessages is an option for specifying should it return messages.

# Structs

ChatMessageHistory is a struct that stores chat messages.
Memory is a simple form of memory that remembers previous conversational back and forth directly.

# Type aliases

ChatMessageHistoryOption is a function for creating new chat message history with other than the default values.
MemoryOption ZepMemoryOption is a function for creating new buffer with other than the default values.