Skip to content

About

Conversational AI chatbot built with Python, Streamlit, and OpenAI GPT-3.5

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

💬 AI Chatbot - Streamlit + OpenAI

A conversational AI chatbot built with Python, Streamlit, and OpenAI's GPT-3.5. Supports multi-turn conversations with a clean, minimal chat UI.

🚀 Features

  • 🤖 Powered by OpenAI GPT-3.5-turbo
  • 💬 Multi-turn conversation memory
  • ⚡ Real-time streaming responses
  • 🖥️ Clean Streamlit web interface
  • 🔑 Secure API key handling via environment variables

🛠️ Tech Stack

Python Streamlit OpenAI

⚙️ Setup & Run

  1. Clone the repo
   git clone https://github.com/SimranSabat/chatbot.git
   cd chatbot
  1. Install dependencies
   pip install -r requirements.txt
  1. Add your OpenAI API key Create a .streamlit/secrets.toml file:
   OPENAI_API_KEY = "your-api-key-here"
  1. Run the app
   streamlit run streamlit_app.py

📁 Project Structure

chatbot/
├── streamlit_app.py     # Main application
├── requirements.txt     # Dependencies
└── .streamlit/
    └── secrets.toml     # API keys (not committed)

🔒 Security Note

Never commit your API key. Use .streamlit/secrets.toml locally and Streamlit Cloud's secrets manager for deployment.


Made with ❤️ by Simran Sabat

About

Conversational AI chatbot built with Python, Streamlit, and OpenAI GPT-3.5

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages