Skip to content

ScottCampit/openai-playground

Repository files navigation

openai-playground

This repository contains some code snippets that use the Open AI API to perform various tasks.

Toy Chatbot

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

Toy Translator

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

Releases

No releases published

Packages

No packages published

Languages