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.2.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.2.0
File Size Uploaded
graphrag_vectors-3.2.0.tar.gz 930.4 kB Details

Built distribution (wheel)

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

Total release size: 954.3 kB

Release files / graphrag_vectors-3.2.0.tar.gz

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

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

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

Release history Release notifications | RSS feed

3.3.0

2 release files

This release

3.2.0 This release

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