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, and Pinecone vector stores
  • 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.

Use Cases

Semantic Caching

Build intelligent caching systems that understand query intent rather than just exact matches. Applications:
  • Customer support systems with FAQ matching
  • Code completion and documentation search
  • Content management with semantic deduplication
Create intelligent search systems that understand user queries contextually. Applications:
  • Document search and retrieval systems
  • Product recommendation engines
  • Research paper and knowledge discovery platforms

Content Classification

Automatically categorize and tag content based on semantic similarity. Applications:
  • Email classification and routing
  • Content moderation and filtering
  • News article categorization and clustering

Recommendation Systems

Build personalized recommendation engines using vector similarity. Applications:
  • Product recommendations based on user preferences
  • Content suggestions for media platforms
  • Similar document or article recommendations