Documentation
¶
Index ¶
- type NoOpVectorStore
- func (n *NoOpVectorStore) Close() error
- func (n *NoOpVectorStore) DeleteCollection(ctx context.Context, collectionName string) error
- func (n *NoOpVectorStore) DeleteVectors(ctx context.Context, collectionName string, ids []string) error
- func (n *NoOpVectorStore) EnsureCollection(ctx context.Context, collectionName string, dimension int) error
- func (n *NoOpVectorStore) Search(ctx context.Context, collectionName string, queryVector []float64, limit int, ...) ([]vectorstores.SearchResult, error)
- func (n *NoOpVectorStore) UpsertVectors(ctx context.Context, collectionName string, ids []string, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoOpVectorStore ¶
type NoOpVectorStore struct{}
NoOpVectorStore is a placeholder implementation that does nothing. Use this when vector store is not configured or during testing.
func (*NoOpVectorStore) Close ¶
func (n *NoOpVectorStore) Close() error
func (*NoOpVectorStore) DeleteCollection ¶
func (n *NoOpVectorStore) DeleteCollection(ctx context.Context, collectionName string) error
func (*NoOpVectorStore) DeleteVectors ¶
func (*NoOpVectorStore) EnsureCollection ¶
func (*NoOpVectorStore) Search ¶
func (n *NoOpVectorStore) Search(ctx context.Context, collectionName string, queryVector []float64, limit int, filter map[string]any) ([]vectorstores.SearchResult, error)
Click to show internal directories.
Click to hide internal directories.