GraphRAG vector store package.
Project description
GraphRAG Vectors
This package provides vector store implementations for GraphRAG with support for multiple backends including LanceDB, Azure AI Search, and Azure Cosmos DB. It offers both a convenient configuration-driven API and direct factory access for creating and managing vector stores with flexible index schema definitions.
Basic usage with the utility function (recommended)
This demonstrates the recommended approach to create a vector store using the create_vector_store convenience function with configuration objects that specify the store type and index schema. The example shows setting up a LanceDB vector store with a defined index configuration, then connecting to it and creating the index for vector operations.
Open the notebook to explore the basic usage with utility function example code
Basic usage implementing the factory directly
This example shows a different approach to create vector stores by directly using the vector_store_factory with enum types and dictionary-based initialization arguments. This method provides more direct control over the factory creation process while bypassing the convenience function layer.
Open the notebook to explore the basic usage using factory directly example code
Supported Vector Stores
- LanceDB: Local vector database
- Azure AI Search: Azure's managed search service with vector capabilities
- Azure Cosmos DB: Azure's NoSQL database with vector search support
Custom Vector Store
You can register custom vector store implementations:
Open the notebook to explore the custom vector example code
Configuration
Vector stores are configured using:
VectorStoreConfig: baseline parameters for the storeIndexSchema: Schema configuration for the specific index to create/connect to (index name, field names, vector size)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file graphrag_vectors-3.0.5.tar.gz.
File metadata
- Download URL: graphrag_vectors-3.0.5.tar.gz
- Upload date:
- Size: 930.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e207b5d2169703b5a93fb30bd1800b805f524c5a723506412dc4c265607f8d3
|
|
| MD5 |
57959f5066330db4f5cfd0635469c38a
|
|
| BLAKE2b-256 |
9c73ee22504fa4ad4ad2d5a95fdfd60bfb7aa278e365340dbf70214c503b6067
|
File details
Details for the file graphrag_vectors-3.0.5-py3-none-any.whl.
File metadata
- Download URL: graphrag_vectors-3.0.5-py3-none-any.whl
- Upload date:
- Size: 23.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
24ae1e56705c3bcd4e11d2805f131edf1fcada59d7b9b338d98cf4e624259b09
|
|
| MD5 |
17b649e49a40a4bdb13492a8265e9199
|
|
| BLAKE2b-256 |
df985629efe7f89b1b1dc4656c9691e459a7a463287237296e9eaac4900ce88f
|