Skip to main content

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

Project details


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.0.tar.gz (930.0 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.0-py3-none-any.whl (23.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: graphrag_vectors-3.1.0.tar.gz
  • Upload date:
  • Size: 930.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":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.0.tar.gz
Algorithm Hash digest
SHA256 28f6d5f450bb8c0a60d883afb115de281711f3fb2a0357add463998a2040d313
MD5 1c547327ec44f81682baca5064e39dd4
BLAKE2b-256 576bf097692a64e77fed6d0ce59a224081b26b9f13b73b0ed49f984daa898375

See more details on using hashes here.

File details

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

File metadata

  • Download URL: graphrag_vectors-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 23.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.11 {"installer":{"name":"uv","version":"0.10.11","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 274ddba2d985d1559c0fa19b81131a8798accd95c4d839280bdd298331c8568d
MD5 63a4d73b542bb50edd2683625a43e6cb
BLAKE2b-256 76de50f8680bff1c2df0195690228274cf41909dfe39e67f9cba0194fcff4fe0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page