tomasonjo / neo4j-semantic-layer

Home Page:https://neo4j-semantic-layer-f39f05ca4a225a2e8ff3fa38e8d9-ffoprvkqsa-uc.a.run.app/neo4j-semantic-layer/playground/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

neo4j-app

This deploys the neo4j-semantic-layer semantic layer template.

Installation

Install the LangChain CLI if you haven't yet

pip install -U langchain-cli

Create app and add neo4j-semantic-layer package

langchain app new . 
What package would you like to add? (leave blank to skip): neo4j-semantic-layer  

Run locally

langchain serve

Open the playground:

http://127.0.0.1:8000/neo4j-semantic-layer/playground/

Screenshot 2024-01-10 at 12 09 58 PM

Ensure API keys are set:

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

Run with hosted LangServe

Use LangSmith console to import this repo.

Screenshot 2024-01-10 at 12 14 31 PM