Documentation
¶
Index ¶
- Constants
- type Option
- type Store
- func (s *Store) Delete(ctx context.Context, req knowledge.DeleteRequest) error
- func (s *Store) HybridQuery(ctx context.Context, query knowledge.Query) ([]knowledge.SearchResult, error)
- func (s *Store) Query(ctx context.Context, query knowledge.Query) ([]knowledge.SearchResult, error)
- func (s *Store) Upsert(ctx context.Context, documents []knowledge.DocumentEmbedding) error
Constants ¶
View Source
const DefaultTableName = "agentflow_knowledge_embeddings"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
func WithTableName ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) HybridQuery ¶ added in v0.1.5
func (s *Store) HybridQuery(ctx context.Context, query knowledge.Query) ([]knowledge.SearchResult, error)
HybridQuery combines vector and full-text search with reciprocal rank fusion.
Click to show internal directories.
Click to hide internal directories.