Skip to content

flaver12/Juventus_Schule_Chat_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Fifa chatbot

Perquisite

  • Docker installed locale (optional, only used for redis)
  • Python3
  • OpenAI Token
  • Node v18

How to start

Go into the server folder and rename the .env.dist to .env then update the redis settings, so they will fit your local environment.
Also add your OpenAI Token there. Install all the needed python dependencies: requirements.txt is provided. You can use the provided docker-compose.yaml to start up redis.

Start the server

Make sure your redis is running. Then open a Terminal and navigate to the server folder. Then run this command: python3 app.py

Start the client

Important if you have configured the server to not run on 127.0.0.1 please make sure to update this line in the App.tsx: socket = io('http:https://127.0.0.1:5000');, this is for the socket.io connection. Then open a Terminal and navigate to the fifa-client folder.
Then run this commands:

yarn install
yarn dev

This will start the client on http:https://localhost:3000

About

Little Chatbot done for school, with the OpenAI api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published