Skip to content

AI Smart Chat Bot Supernova Paul planned to fine tune to Domestic Waste Disposal Guidance and Community Waste Management Recommendations.

License

Notifications You must be signed in to change notification settings

replyPaul/Smart-ChatBot-Paul

Repository files navigation

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

SMART WASTE BOT

- AI interactive chatbot assistant

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.

Getting Started:

Step 1: Clone the Repository

Clone the repository containing the Streamlit app to your local machine. Navigate to your local repository folder using 'cd' command.

Step 2: Create and Activate a Virtual Environment

Create a virtual environment to isolate the dependencies for the app.

python3.11 -m venv venv
source venv/bin/activate

Step 3: Install Dependencies

Install the required Python dependencies from the requirements.txt file.

pip install -r requirements.txt

Step 4: Install Necessary Libraries

Install the necessary libraries using pip:

pip install streamlit trulens-eval openai

Step 5: Set Up Streamlit Secrets

To incorporate your OpenAI API key and HuggingFace Access Token into Streamlit secrets, follow these steps:

  1. Create a .streamlit/secrets.toml file within your project directory:
touch .streamlit/secrets.toml

Step 6: Configure API Keys

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"

Step 7: Run the Streamlit App

Run the Streamlit app using the streamlit command.

streamlit run main.py

Step 8: Access the App

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.

About

AI Smart Chat Bot Supernova Paul planned to fine tune to Domestic Waste Disposal Guidance and Community Waste Management Recommendations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published