Documentation
¶
Overview ¶
Package merger provides the Merger agent that evaluates whether two topics should be merged and generates a combined summary.
Index ¶
Constants ¶
View Source
const ( // ParamTopic1Summary is the key for first topic summary (string). ParamTopic1Summary = "topic1_summary" // ParamTopic2Summary is the key for second topic summary (string). ParamTopic2Summary = "topic2_summary" )
Request parameters for Merger agent.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Merger ¶
type Merger struct {
// contains filtered or unexported fields
}
Merger evaluates whether two topics should be merged.
func New ¶
func New( executor *agent.Executor, translator *i18n.Translator, cfg *config.Config, factRepo storage.FactRepository, topicRepo storage.TopicRepository, ) *Merger
New creates a new Merger agent.
func (*Merger) Capabilities ¶
func (m *Merger) Capabilities() agent.Capabilities
Capabilities returns the agent's capabilities.
func (*Merger) Description ¶
Description returns a human-readable description.
Click to show internal directories.
Click to hide internal directories.