Documentation
¶
Index ¶
- type Config
- type KnowledgeService
- func (s *KnowledgeService) Query(ctx context.Context, input string) ([]string, error)
- func (s *KnowledgeService) Store(ctx context.Context, text string) error
- func (s *KnowledgeService) StoreEmbedding(ctx context.Context, text string, embedding []float64) error
- func (s *KnowledgeService) Truncate(ctx context.Context) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type KnowledgeService ¶ added in v0.0.4
type KnowledgeService struct {
V *Service
}
func NewKnowledge ¶ added in v0.0.4
func NewKnowledge(ctx context.Context, v *Service) (*KnowledgeService, error)
func (*KnowledgeService) Store ¶ added in v0.0.4
func (s *KnowledgeService) Store(ctx context.Context, text string) error
func (*KnowledgeService) StoreEmbedding ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.