title | app_file | sdk/ library | lib_version | lib_author | app_author | author_email |
---|---|---|---|---|---|---|
Smart Waste Bot |
mainChat.py |
streamlit |
1.31.2 |
Snowflake Inc |
Paul Biswa |
replypaul@gmail.com |
A user-friendly AI powered chat assistant with expertise in circular design & waste management.
This Bot is designed and fine tuned to provide guidance on Domestic Waste Disposal and offer recommendations for Community Waste Management.
The shared (separetely) a/v presentation will highlight the key features and benefits of the Smart Waste Bot in promoting sustainable practices.
It was done within as part of 72 hours AI Hackathon Challenge sponsored by Saudi Data and Ministry of Communications & IT with aroun 4.4k particpants.
After learning the intrictae techniques of super fine tuning and/or retrieval augmented genration, this interactive chat bot will be enhanced with emhanced output.
Clone the repository containing the Streamlit app to your local machine. Navigate to your local repository folder using 'cd' command.
Create a virtual environment to isolate the dependencies for the app.
python3.11 -m venv venv
source venv/bin/activate
Install the required Python dependencies from the requirements.txt
file.
pip install -r requirements.txt
Install the necessary libraries using pip:
pip install streamlit trulens-eval openai
To incorporate your OpenAI API key and HuggingFace Access Token into Streamlit secrets, follow these steps:
- Create a
.streamlit/secrets.toml
file within your project directory:
touch .streamlit/secrets.toml
Add the following lines to the file, replacing "YOUR_API_KEY"
and "YOUR_ACCESS_TOKEN"
with your respective keys:
OPENAI_API_KEY = "YOUR_API_KEY"
HUGGINGFACE_API_KEY = "YOUR_ACCESS_TOKEN"
Run the Streamlit app using the streamlit
command.
streamlit run main.py
Access the Streamlit app in your web browser by navigating to the URL provided by Streamlit. Typically the URL is http://localhost:8501
Happy Chatting with this assistance for all of your Questions and Answers.