Skip to main content

Overview

The VectorStore is a core component of Bifrost’s framework package that provides a unified interface for vector database operations. It enables plugins to store embeddings, perform similarity searches, and build AI-powered features like semantic caching, content recommendations, and knowledge retrieval. Key Capabilities:
  • Vector Similarity Search: Find semantically similar content using embeddings
  • Namespace Management: Organize data into separate collections with custom schemas
  • Flexible Filtering: Query data with complex filters and pagination
  • Multiple Backends: Support for Weaviate, Redis/Valkey-compatible, Qdrant, Pinecone, pgvector, and the in-process Chromem store
  • High Performance: Optimized for production workloads
  • Scalable Storage: Handle millions of vectors with efficient indexing

VectorStore Interface Usage

Creating Namespaces

Create collections (namespaces) with custom schemas:

Storing Data with Embeddings

Add data with vector embeddings for similarity search:
Find similar content using vector similarity:

Data Retrieval and Management

Query and manage stored data:

Supported Vector Stores

Weaviate

Production-ready vector database with gRPC support.

Redis / Valkey

High-performance in-memory vector store.

Qdrant

Rust-based vector search engine with advanced filtering.

Pinecone

Managed vector database with serverless options.

pgvector

Vector search in PostgreSQL, alongside Bifrost’s other stores.