Amazon Neptune - Neptune Analytics vector store
Source: llama_index

# Amazon Neptune - Neptune Analytics vector storeIf you're opening this Notebook on colab, you will probably need to install LlamaIndex 🦙.```python%pip install llama-index-vector-stores-neptune```## Initiate Neptune Analytics vector wrapper```pythonfrom llama_index.vector_stores.neptune import NeptuneAnalyticsVectorStoregraph_identifier = ""embed_dim = 1536neptune_vector_store = NeptuneAnalyticsVectorStore(    graph_identifier=graph_identifier, embedding_dimension=1536)```## Load documents, build the VectorStoreIndex```pythonfrom llama_index.core import VectorStoreIndex, SimpleDirectoryReaderfrom IPython.display import Markdown, display```Download Data```python!mkdir -p 'data/paul_graham/'!wget 'https://raw.githubusercontent.com/run-llama/llama_index/main/docs/examples/data/paul_graham/paul_graham_essay.txt' -O 'data/paul_graham/paul_graham_essay.txt'``````python# load documentsdocuments = SimpleDirectoryReader("./data/paul_graham").load_data()``````pythonfrom llama_index.core import StorageContextstorage_context = StorageContext.from_defaults(    vector_store=neptune_vector_store)index = VectorStoreIndex.from_documents(    documents, storage_context=storage_context)``````pythonquery_engine = index.as_query_engine()response = query_engine.query("What happened at interleaf?")display(Markdown(f"<b>{response}</b>"))```