Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorConversationNotFound = Error("CONVERSATION_NOT_FOUND") ErrorModelNotFound = Error("MODEL_NOT_FOUND") ErrorSpeakerNotFound = Error("SPEAKER_NOT_FOUND") )
View Source
const ( ModelTypeBrain = ModelType("brain") ModelTypeLlamaCPP = ModelType("llamacpp") ModelTypeOpenAI = ModelType("openai") ModelTypeAnthropic = ModelType("anthropic") ModelTypeGroq = ModelType("groq") ModelTypeHuggingFace = ModelType("huggingface") ModelTypeFireworks = ModelType("fireworks") ModelTypeGoogle = ModelType("google") )
View Source
const (
MySpeakerID = ID("s_26a91be1873f385bb0631ad868bf7c85")
)
Variables ¶
This section is empty.
Functions ¶
func CreateGlobalPrompt ¶
func CreateSummarizerPrompt ¶
Types ¶
type ConversationDocument ¶
type ConversationDocument struct { Conversation Conversation Speakers map[ID]Speaker Turns []Turn }
type Speaker ¶
type SpeakerModelPair ¶
Click to show internal directories.
Click to hide internal directories.