Create Vector Database
Create a new vector database configuration to store and query high-dimensional vectors for semantic search.Request Body
Vector database provider:
PINECONE- Pinecone vector database serviceASTRA_DB- DataStax Astra DB vector searchWEAVIATE- Weaviate vector databaseQDRANT- Qdrant vector search engineSUPABASE- Supabase with pgvector extension
Provider-specific configuration options (see provider sections below for details)
Response
Returns the created vector database configuration.Vector database configuration unique identifier
Vector database provider
Encrypted configuration options
ID of the project this vector database belongs to
When the configuration was created (ISO 8601 format)
When the configuration was last updated (ISO 8601 format)
List Vector Databases
List all vector database configurations in the current project.Response
Array of vector database configuration objects
Get Vector Database
Get detailed information about a specific vector database configuration.Path Parameters
The unique identifier of the vector database configuration
Response
Returns the vector database configuration object with all details.Update Vector Database
Update vector database configuration settings.Path Parameters
The unique identifier of the vector database configuration
Request Body
Updated vector database provider
Updated provider-specific configuration options
Response
Returns the updated vector database configuration object.Provider Configuration
Each vector database provider requires specific configuration options:Pinecone
Configuration Options
Configuration Options
Setup Instructions
Setup Instructions
- Create a Pinecone account at pinecone.io
- Create a new project and get your API key
- Create an index with the desired dimensions (typically 1536 for OpenAI embeddings)
- Choose the appropriate environment/region
- Optionally specify a namespace for data isolation
Features
Features
- Fully managed vector database
- High-performance approximate nearest neighbor search
- Real-time updates and deletes
- Metadata filtering
- Horizontal scaling
DataStax Astra DB
Configuration Options
Configuration Options
Setup Instructions
Setup Instructions
- Create an Astra DB account at astra.datastax.com
- Create a new vector database
- Generate an application token
- Create a keyspace and collection
- Configure the collection for vector search
Features
Features
- Serverless vector database built on Cassandra
- Multi-cloud availability
- ACID transactions
- JSON document model with vector search
- Global distribution capabilities
Weaviate
Configuration Options
Configuration Options
Setup Instructions
Setup Instructions
- Create a Weaviate cluster (cloud or self-hosted)
- Configure authentication if required
- Create schema classes for your data
- Set up vectorization modules (OpenAI, Cohere, etc.)
- Configure any additional modules needed
Features
Features
- Open-source vector database
- GraphQL and REST APIs
- Built-in vectorization modules
- Semantic search and hybrid search
- Multi-modal support (text, images)
Qdrant
Configuration Options
Configuration Options
Setup Instructions
Setup Instructions
- Set up Qdrant (cloud or self-hosted)
- Create a collection with appropriate vector size
- Configure distance metric (Cosine, Euclidean, Dot product)
- Set up authentication if required
- Optionally configure payload indexing
Features
Features
- High-performance vector similarity search
- Rich payload support with filtering
- Distributed deployment
- Real-time updates
- Advanced indexing algorithms (HNSW)
Supabase
Configuration Options
Configuration Options
Setup Instructions
Setup Instructions
- Create a Supabase project
- Enable the pgvector extension in your database
- Create tables with vector columns
- Set up Row Level Security (RLS) policies
- Configure API keys and authentication
Features
Features
- PostgreSQL with pgvector extension
- Full SQL capabilities with vector operations
- Row-level security
- Real-time subscriptions
- Built-in authentication and storage
Best Practices
1
Choose the Right Provider
Select a vector database provider based on your performance, scalability, and budget requirements
2
Dimension Consistency
Ensure all vectors have the same dimensions as configured in your vector database
3
Index Configuration
Configure appropriate index parameters for your expected query patterns and data size
4
Security
Store API keys and credentials securely, never expose them in client-side code
5
Monitoring
Monitor query performance and storage usage to optimize costs and performance
Vector Database Selection Guide
High Performance
Pinecone or Qdrant for maximum query speed and throughput
Cost Effective
Supabase with pgvector for budget-conscious projects with SQL needs
Enterprise
Astra DB for enterprise features, global distribution, and ACID compliance
Flexibility
Weaviate for multi-modal search and complex schema requirements