package
0.0.0-20250219065129-52aed497bc00
Repository: https://github.com/infinilabs/coco-server.git
Documentation: pkg.go.dev

# Packages

Package opensearch contains an implementation of the VectorStore interface that connects to Opensearch.

# Functions

ToRetriever takes a vector store and returns a retriever using the vector store to retrieve documents.
WithDeduplicater returns an Option for setting the deduplicater that could be used when adding documents.
WithEmbedder returns an Option for setting the embedder that could be used when adding documents or doing similarity search (instead the embedder from the Store context) this is useful when we are using multiple LLMs with single vectorstore.
WithFilters searches can be limited based on metadata filters.
WithNameSpace returns an Option for setting the name space.
No description provided by the author

# Structs

Options is a set of options for similarity search and add documents.
Retriever is a retriever for vector stores.

# Interfaces

VectorStore is the interface for saving and querying documents in the form of vector embeddings.

# Type aliases

Option is a function that configures an Options.