Skip to content

Neptune Analytics Vector Store

You can use Amazon Neptune Analytics as a vector store.

Use the VectorStoreFactory.for_vector_store() static factory method to create an instance of an Amazon Neptune Analytics vector store.

To create a Neptune Analytics vector store, supply a connection string that begins neptune-graph://, followed by the graph’s identifier:

from graphrag_toolkit.lexical_graph.storage import VectorStoreFactory
neptune_connection_info = 'neptune-graph://g-jbzzaqb209'
with VectorStoreFactory.for_vector_store(neptune_connection_info) as vector_store:
...