Skip to content

Anjali33-web/AI-Data-Science-Tutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Conversational AI Data Science Tutor

A Conversational AI Chatbot built with **Streamlit, LangChain, and Google Gemini **.
This AI tutor answers only Data Science-related doubts while maintaining conversation awareness with memory.


πŸš€ Features

βœ… Uses Google Gemini 1.5 Pro (Free API)
βœ… Conversation Memory (Remembers past interactions)
βœ… Built with LangChain & Streamlit for a simple UI
βœ… Free Deployment on Streamlit Cloud


πŸ›  Tech Stack


πŸ“‚ Project Structure

πŸ“¦ AI-Data-Science-Tutor ┣ πŸ“œ .env # Stores Google API Key (DO NOT SHARE) ┣ πŸ“œ config.py # Loads API key from .env ┣ πŸ“œ app.py # Main Chatbot App (Streamlit) ┣ πŸ“œ requirements.txt # Python Dependencies β”— πŸ“œ README.md # This File


πŸ”§ Installation & Setup (Run Locally)

1️⃣ Clone the Repository

git clone https://github.com/YOUR-USERNAME/AI-Data-Science-Tutor.git
cd AI-Data-Science-Tutor
2️⃣ Create a Virtual Environment (Recommended)

python -m venv venv
Activate it:

Windows: venv\Scripts\activate
Mac/Linux: source venv/bin/activate
3️⃣ Install Dependencies

pip install -r requirements.txt
4️⃣ Get Google Gemini API Key
Go to Google AI Studio
Sign in β†’ Get API Key
Copy the API key
Create a .env file in the project folder & add:

GOOGLE_API_KEY=your-api-key
5️⃣ Run the Chatbot

streamlit run app.py
🌍 Deploy on Streamlit Cloud (Free)
Push your code to GitHub
bash
git add .
git commit -m "Initial commit"
git push origin main
Go to Streamlit Cloud
Sign in with GitHub
Deploy App β†’ Set app.py as the main file
Click "Deploy" πŸŽ‰

πŸ€– How It Works
Enter your Data Science-related question
The AI responds with an explanation
Conversation Memory maintains context
πŸ›  Troubleshooting
LangChain Community Module Not Found?
Run this:

bash
pip install --upgrade langchain langchain-community langchain-google-genai
Streamlit Not Found?
bash
pip install streamlit
🎯 Next Steps
Improve UI design
Add more AI capabilities
Deploy on Hugging Face Spaces
πŸ’‘ Credits
Developed by: Your Name
Model: Google Gemini 
Frameworks: LangChain, Streamlit
⭐ Like This Project? Give It a Star on GitHub! ⭐


---

### **πŸ’‘ What’s Included?**
βœ”οΈ Installation Steps  
βœ”οΈ API Key Setup  
βœ”οΈ Running Instructions  
βœ”οΈ Deployment Guide  
βœ”οΈ Troubleshooting Section  

πŸ’‘ **Next Steps:**  
- Upload this **`README.md`** to GitHub  
- Create a **`requirements.txt`** by running:
  ```bash
  pip freeze > requirements.txt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages