Spaces:
Sleeping
Sleeping
AI Survey Bot Recommendation
This is a Streamlit app that allows users to answer a couple of questions and get a tailor-made response from an AI chatbot. The chatbot uses OpenAI GPT-3.5 Turbo to generate responses based on the user's input.
Live Demo
You can test the live application here: AI Survey Bot Recommendation
Key files
- app.py - Main Streamlit app code
- requirements.txt - Python dependencies
- setup.sh - Heroku config script
Installation
Clone the repository:
git clone https://github.com/your-username/your-repo.git
Install the dependencies:
pip install -r requirements.txt
Set up the environment variables:
Create a
.env
file in the root directory of the project.Add the following variables to the
.env
file:OPENAI_API_KEY=your-openai-api-key EMAIL=your-email PASSWORD=your-password
Run the app:
streamlit run app.py
Usage
- Open the app in your browser.
- Answer the questions presented on the app.
- Click the "Submit" button to get the chatbot response.
- The chatbot response will be displayed on the app.
- The chatbot response will also be sent to the email address provided.
License
This project is licensed under the MIT License. See the LICENSE file for more information.