Chatbot API using the OpenAI API designed to help members within SCE with club and SJSU-related activities
This is not an application and is designed to be integrated with another app
pip 24.0 or later
Python 3.11 or later
pip install -r requirements.txt
- Create a .env file based on the dotenv_example
- IP is your local IP (0.0.0.0 can also be used; use localhost when accessing the API instead of the IP if using this method)
- Port number can be any port that isn't already occupied by another process
python ./main.py
- Access API with localhost:[port_number]
pytest
orpython -m pytest
if pytest does not work