Skip to main content
Retrievers connect agents to your documents stored in vector databases. When you ask a question, the retriever searches your indexed documents for relevant content and automatically includes it in the agent’s context. This lets agents answer questions about your specific documents, even if that information wasn’t in their training data. To use a retriever, you first index your documents in a vector database, then pass the retriever to your agent. The agent automatically uses retrieved documents to enhance its responses.

Supported Vector Databases

Hypertic supports multiple vector database providers. Click on a provider to see setup and usage examples:

ChromaDB

View guide >

MongoDB Atlas

View guide >

Pinecone

View guide >

PgVector

View guide >

Qdrant

View guide >

Supported Embedders

Hypertic supports multiple embedding providers. Click on a provider to see setup and usage examples:

Cohere

View guide >

Google

View guide >

Mistral

View guide >

OpenAI

View guide >

Sentence Transformers

View guide >

Setup

Create a vector database with an embedder. Hypertic supports multiple vector database providers:

Adding Documents

Add documents from local files or URLs:

Searching Documents

Search for relevant documents:

Updating Documents

Update document content or metadata:

Upsert Operations

Upsert documents (insert or update if exists):

Querying by Metadata

Query documents using metadata filters:

Deleting Documents

Delete documents by ID or metadata filter:

Using with an Agent

Connect the retriever to your agent. The agent automatically uses retrieved documents to enhance its responses: