Skip to content

neo4j-graphacademy/genai-workshop-typescript

Repository files navigation

Build an Neo4j-backed Chatbot using TypeScript

Setup your Config

To set config, create a .env.local with connection details for your Neo4j Sandbox instance and an OpenAI API Key. You can also configure the name and description of the chatbot, and the initial greeting message.

NEO4J_URI=bolt://12.34.56.789:7687
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=your-generated-password

OPENAI_API_KEY=sk-...

NEXT_PUBLIC_CHATBOT_NAME=Ebert
NEXT_PUBLIC_CHATBOT_DESCRIPTION="The Movie Recommendation Chatbot"
NEXT_PUBLIC_CHATBOT_GREETING="Hello, I'm **Ebert**, your movie recommendation bot! How can I help you today?"

Running the application

To run the application, you must install the dependencies listed in package.json.

npm i

Then run the npm run dev command to start the app on http://localhost:3000/.

npm run dev

Questions, Comments, Feedback

If you have any questions, experience any problems, or have any general feedback, feel free to open an Issue or you can reach out to us on Discord or Discourse.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published