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-cypher-ft
Harrison Chase 9e0ae56287
various templates improvements (#12500)
8 months ago
..
neo4j_cypher_ft Format Templates (#12396) 8 months ago
tests Templates (#12294) 9 months ago
README.md Templates (#12294) 9 months ago
ingest.py Templates (#12294) 9 months ago
main.py Templates (#12294) 9 months ago
poetry.lock Templates (#12294) 9 months ago
pyproject.toml various templates improvements (#12500) 8 months ago

README.md

Neo4j Knowledge Graph: Enhanced mapping from text to database using a full-text index

This template allows you to chat with Neo4j graph database in natural language, using an OpenAI LLM. The addition of the full-text index ensures efficient mapping of values from text to database for more precise Cypher statement generation.

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-cypher