You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/templates/neo4j-parent
Erick Friis 4b16601d33
Format Templates (#12396)
11 months ago
..
neo4j_parent Format Templates (#12396) 11 months ago
tests Templates (#12294) 11 months ago
README.md Templates (#12294) 11 months ago
dune.txt Templates (#12294) 11 months ago
ingest.py Format Templates (#12396) 11 months ago
main.py Format Templates (#12396) 11 months ago
poetry.lock Templates (#12294) 11 months ago
pyproject.toml Templates (#12294) 11 months ago

README.md

Parent Document Retriever with Neo4j Vector Index

This template allows you to balance precise embeddings and context retention by splitting documents into smaller chunks and retrieving their original or larger text information.

Set up Environment

You need to define the following environment variables

OPENAI_API_KEY=<YOUR_OPENAI_API_KEY>
NEO4J_URI=<YOUR_NEO4J_URI>
NEO4J_USERNAME=<YOUR_NEO4J_USERNAME>
NEO4J_PASSWORD=<YOUR_NEO4J_PASSWORD>

Installation

# from inside your LangServe instance
poe add neo4j-parent