Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

⚑ Pawan AI Chatbot

A full-stack AI Chatbot built using Google Gemini API, FastAPI, and Streamlit.

This project was created as part of Project 1 – AI Domain Internship Program.


πŸš€ Features

  • βœ… Fast & clean chat UI (Streamlit)
  • βœ… Backend API using FastAPI
  • βœ… Connects to Google Gemini LLM for responses
  • βœ… Environment variable support using .env
  • βœ… Simple, minimal, submission-ready project structure

πŸ—οΈ Tech Stack

  • Python
  • Google Gemini API
  • FastAPI (Backend)
  • Streamlit (Frontend)
  • dotenv (Environment variable loader)

πŸ“‚ Project Structure

AI_Chatbot_Project/ │── main.py │── requirements.txt │── README.md │── .env (not included in GitHub) │── streamlit/ β”‚ β”œβ”€β”€ config.toml β”‚ β”œβ”€β”€ credentials.toml


πŸ”‘ Setup (API Key)

Create a .env file in the root folder:

GEMINI_API_KEY=YOUR_API_KEY_HERE


▢️ How to Run Locally
1️⃣ Create Virtual Environment
python -m venv venv

2️⃣ Activate Virtual Environment

Windows cmd

venv\Scripts\activate

3️⃣ Install Dependencies
pip install -r requirements.txt

4️⃣ Run Streamlit App
streamlit run main.py

βœ… Output

Streamlit UI runs on: http://localhost:8501

About

Full-stack AI Chatbot using Google Gemini API + FastAPI backend + Streamlit frontend. Built for Coincent AI Domain Project 1 submission.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages