Skip to main content

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.

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 store
  • IndexSchema: Schema configuration for the specific index to create/connect to (index name, field names, vector size)

Metadata

Release files for graphrag-vectors 3.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for graphrag-vectors 3.3.0
File Size Uploaded
graphrag_vectors-3.3.0.tar.gz 930.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for graphrag-vectors 3.3.0
File Interpreter ABI Platform
graphrag_vectors-3.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 954.3 kB

Release files / graphrag_vectors-3.3.0.tar.gz

Download URL graphrag_vectors-3.3.0.tar.gz
Size 930.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ca2c455f51567fb8c565236cd93827e7fd65c35f02c17ad58fffbafda9bfaaec
BLAKE2b-256 checksum
How to use checksums
e25f1edd1abbf0e9224b2405cc5d97da6dba32ed9086b1e24670489101cef076
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.17

Release files / graphrag_vectors-3.3.0-py3-none-any.whl

Download URL graphrag_vectors-3.3.0-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
271519b4cb0b80382d8ccfb6441329fe2f056aa6ee29f10078bc00389219dcfd
BLAKE2b-256 checksum
How to use checksums
2824bab8870596514d674de230a94ff9f3302bb60add97b13d22d3e68ae6f77d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.17

Release history Release notifications | RSS feed

This release

3.3.0 This release

2 release files

3.2.0

2 release files

3.1.2

2 release files

3.1.1

2 release files

3.1.0

2 release files

3.0.9

2 release files

3.0.8

2 release files

3.0.7

2 release files

3.0.6

2 release files

3.0.5

2 release files

3.0.4

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page