Documentation
¶
Index ¶
- type Config
- type Service
- func (s *Service) Close()
- func (s *Service) GenerateEmbeddings(ctx context.Context, text string) ([]float64, error)
- func (s *Service) Query(ctx context.Context, input string) ([]string, error)
- func (s *Service) StoreEmbedding(ctx context.Context, text string, embedding []float64) error
- func (s *Service) Truncate(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Service ¶
func (*Service) GenerateEmbeddings ¶
func (*Service) StoreEmbedding ¶
Click to show internal directories.
Click to hide internal directories.