You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Flask web app scaffold for a chatbot that stores users, chats, and messages in Neo4j.
5
-
- Participants complete the Cypher TODOs in `db.py` to enable user auth, chat creation, and viewing history.
6
-
- OpenAI is used to generate assistant replies; reads config from environment variables.
3
+
Welcome to the Pink Programming Chatbot workshop! Today we will build a chatbot that stores users, chats, and messages in Neo4j.
4
+
Your goal is to complete the Cypher TODOs in `db.py` to get a working chatbot.
5
+
Good Luck!
6
+
7
+
## Overview
8
+
- This code base is a Flask web app scaffold for a chatbot that stores users, chats, and messages in Neo4j.
9
+
- Your goal is to complete the Cypher TODOs in `db.py` to enable user auth, chat creation, and viewing history.
10
+
- Use OpenAI through the Cypher GenAI Plugin integration.
11
+
12
+
## Quick Start with Codespaces
13
+
- Create an account on https://console.neo4j.io/ and create a free Aura instance (make sure to save the password).
14
+
-**Important**: Connect to the database (click query) and run the command: `ALTER DATABASE <db_name> SET DEFAULT LANGUAGE CYPHER 25` in order to get the correct Cypher version.
15
+
16
+

7
17
8
-
Quick Start with Codespaces
9
-
- Create an account on https://console-preview.neo4j.io/ and create a free Aura instance (make sure to save the password).
10
18
- In the GitHub repository click the green "Use this template" button and open the project in a codespace.
19
+
20
+

21
+
11
22
- Copy `.env.example` to `.env` and set values.
23
+
-`NEO4J_USERNAME`: This should be the same name as your Aura instance.
12
24
-`NEO4J_CONNECTION_URI`: Inspect your Aura instance and copy the connection URI.
13
-
-`NEO4J_PASSWORD`: (paste password that you got during the instance creation).
25
+
-`NEO4J_PASSWORD`: paste password that you got during the instance creation.
0 commit comments