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.

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

graphrag_vectors-3.1.2.tar.gz (930.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

graphrag_vectors-3.1.2-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file graphrag_vectors-3.1.2.tar.gz.

File metadata

  • Download URL: graphrag_vectors-3.1.2.tar.gz
  • Upload date:
  • Size: 930.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for graphrag_vectors-3.1.2.tar.gz
Algorithm Hash digest
SHA256 bcca3f29f7b6bc25d710031fa29e8902d4a852a3c0316dbc955c4404e67b3861
MD5 f6775da67eaf0211d4a25b7a3fdecf0c
BLAKE2b-256 c25ad937ae916271e837909b0856f3ba433acacb65bebb8d18b5d9b7508351c5

See more details on using hashes here.

File details

Details for the file graphrag_vectors-3.1.2-py3-none-any.whl.

File metadata

  • Download URL: graphrag_vectors-3.1.2-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.3 {"installer":{"name":"uv","version":"0.12.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for graphrag_vectors-3.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b9c753ce5e40bdb6c75016257d8d52a8bd3cd05eb8940979f6ecc1e34f3d2f53
MD5 7df2ca0c70c71a7c0cf0f0f4e5a3f1ad
BLAKE2b-256 0cd0b780eb0a457adffec2360fe2ced52cc7c023654d39fc81d1388d8ed93261

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.1.2 This release

2 files

3.1.1

2 files

3.1.0

2 files

3.0.9

2 files

3.0.8

2 files

3.0.7

2 files

3.0.6

2 files

3.0.5

2 files

3.0.4

2 files

3.0.3

2 files

3.0.2

2 files

3.0.1

2 files

3.0.0

2 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