This repository contains some code snippets that use the Open AI API to perform various tasks.
To use the toy chatbot, you first need to create a virtual environment using the libraries in requirements.txt
. This can be done by running the following command:
python3 -m venv chatbot_env
source chatbot_env/bin/activate
pip install -r requirements.txt
Then run the following command to run the Streamlit application:
streamlit run toy_chatbot.py
To use the toy translator, you first need to create a virtual environment using the libraries in requirements.txt
. This can be done by running the following command:
python3 -m venv chatbot_env
source chatbot_env/bin/activate
pip install -r requirements.txt
Then run the following command to run the Streamlit application:
streamlit run toy_translator.py