Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KnowledgeEntry ¶
type OTelCollector ¶
type OTelCollector struct {
// contains filtered or unexported fields
}
func NewOTelCollector ¶
func NewOTelCollector() *OTelCollector
func (*OTelCollector) Export ¶
func (c *OTelCollector) Export() string
func (*OTelCollector) GetMetrics ¶
func (c *OTelCollector) GetMetrics() []OTelMetric
func (*OTelCollector) Record ¶
func (c *OTelCollector) Record(name string, value float64, labels map[string]string)
func (*OTelCollector) Trace ¶
func (c *OTelCollector) Trace(name string) string
type OTelMetric ¶
type RAGKnowledgeBase ¶
type RAGKnowledgeBase struct {
// contains filtered or unexported fields
}
func NewRAGKnowledgeBase ¶
func NewRAGKnowledgeBase() *RAGKnowledgeBase
func (*RAGKnowledgeBase) Add ¶
func (kb *RAGKnowledgeBase) Add(agent string, entry *KnowledgeEntry)
func (*RAGKnowledgeBase) Count ¶
func (kb *RAGKnowledgeBase) Count(agent string) int
func (*RAGKnowledgeBase) GetAll ¶
func (kb *RAGKnowledgeBase) GetAll(agent string) []*KnowledgeEntry
func (*RAGKnowledgeBase) Query ¶
func (kb *RAGKnowledgeBase) Query(agent, query string) []*KnowledgeEntry
Click to show internal directories.
Click to hide internal directories.