Documentation
¶
Overview ¶
Package splitter provides the Splitter agent that segments conversation logs into distinct topics for storage and retrieval.
Index ¶
Constants ¶
View Source
const ( // ParamMessages is the key for messages to process ([]storage.Message). ParamMessages = "messages" // ParamGoal is the key for optional goal text (string). ParamGoal = "goal" )
Request parameters for Splitter agent.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtractedTopic ¶
type ExtractedTopic struct {
Summary string `json:"summary"`
StartMsgID int64 `json:"start_msg_id"`
EndMsgID int64 `json:"end_msg_id"`
}
ExtractedTopic represents a topic extracted from a conversation chunk.
type Splitter ¶
type Splitter struct {
// contains filtered or unexported fields
}
Splitter segments conversation logs into distinct topics.
func New ¶
func New( executor *agent.Executor, translator *i18n.Translator, cfg *config.Config, factRepo storage.FactRepository, topicRepo storage.TopicRepository, ) *Splitter
New creates a new Splitter agent.
func (*Splitter) Capabilities ¶
func (s *Splitter) Capabilities() agent.Capabilities
Capabilities returns the agent's capabilities.
func (*Splitter) Description ¶
Description returns a human-readable description.
Click to show internal directories.
Click to hide internal directories.