mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
22 lines
458 B
Markdown
22 lines
458 B
Markdown
|
# Neo4j Knowledge Graph with OpenAI LLMs
|
||
|
|
||
|
This template allows you to chat with Neo4j graph database in natural language, using an OpenAI LLM.
|
||
|
|
||
|
## 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
|
||
|
|
||
|
```bash
|
||
|
# from inside your LangServe instance
|
||
|
poe add neo4j-cypher
|
||
|
```
|