Skip to content

πŸ€– Nexa AI – A customizable AI chatbot built with Streamlit, LangChain, and DeepSeek. Supports Groq, OpenAI, chat memory, jokes, quotes, shayari, and more. Open-source and developer-friendly!

License

Notifications You must be signed in to change notification settings

dhruvpatel16120/AI-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

18 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ€– Nexa AI – Your Smart AI Assistant

logo

πŸš€ Nexa AI is your next-gen conversational AI assistant

πŸ” Whether you're a developer, student, or just curious about AI, Nexa AI offers:

  • Custom response modes (Jokes, Shayari, Chanakya Quotes, and more)
  • Interactive chat UI with saved chat history
  • Support for Groq, DeepSeek LLMs
  • Clean, fast, and desi-flavored experience πŸ˜„

powered by Streamlit, LangChain, and DeepSeek β€” built with ❀️ in Python.


⭐ Why Star This Repo?

If you find this project helpful or inspiring, please consider starring 🌟 it on GitHub β€” it helps others discover the project and supports continued development.

πŸ™Œ Contributions, feedback, and ideas are always welcome β€” let's build something amazing together!

Python License Streamlit DeepSeek


πŸ“š Table of Contents


🧠 Overview

Nexa AI is a smart and interactive chatbot built with the latest LLMs and an intuitive UI using Streamlit. Whether you're a developer experimenting with LangChain or a student exploring AI, Nexa gives you flexibility, fun, and functionality.


✨ Features

βœ… Conversational memory and smart history
βœ… Support for DeepSeek, Groq APIs
βœ… Shayari, Gujarati Jokes, Motivational & Chanakya Quotes
βœ… Animated sidebar with Lottie integrations
βœ… Save, download, and manage chats
βœ… .env support for secure API key usage
βœ… Clean, fast UI with emoji flavor


πŸ›  Tech Stack

Python Streamlit LangChain DeepSeek

  • Python 3.9+ – Backend logic
  • Streamlit – Web UI framework
  • LangChain – Language model orchestration
  • DeepSeek/Groq – LLMs for AI intelligence
  • Lottie Files – Animations
  • dotenv – API key management

πŸ“Έ Screenshots

Home UI Saved Chat Panel
main saved
Login Page Chat Output Example
login coding

🎯 Preview

Welcome Animation Sign-Up UI
welcome signup
Download Chat Java Query Response
download java

πŸ“Ί Demo Video

Watch Demo


πŸ“ Project Structure

Ai-bot/
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ lottie/welcome.json     # Animation
β”‚   β”œβ”€β”€ auth.py                 # Login/session logic
β”‚   β”œβ”€β”€ bot.py                  # Core chat interface
β”‚   β”œβ”€β”€ custom_responses.py     # Shayari/Jokes/Quotes
β”‚   └── sidebar.py              # Sidebar features
|
β”œβ”€β”€ preview/                    # Preview images
β”‚   β”œβ”€β”€ main.png
β”‚   β”œβ”€β”€ login.png
β”‚   β”œβ”€β”€ saved_chat.png
β”‚   └── coding.png
β”œβ”€β”€ .env                        # πŸ” Place your API Keys
β”œβ”€β”€ .gitignore
β”œβ”€β”€ LICENSE                     # MIT Licenses
β”œβ”€β”€ main.py                     # Main entry to run app
β”œβ”€β”€ requirements.txt            # dependencies
└── README.md

πŸ’» Installation

πŸ”΅ Windows

βœ… Step 1: Clone the repository

git clone https://github.com/dhruvpatel16120/AI-bot.git
cd AI-bot

βœ… Step 2: Create & activate virtual environment

python -m venv venv
venv\Scripts\activate

βœ… Step 3: Install dependencies

pip install -r requirements.txt

🟒 Linux / macOS

βœ… Step 1: Clone the repository

git clone https://github.com/dhruvpatel16120/AI-bot.git
cd AI-bot

βœ… Step 2: Create & activate virtual environment

python3 -m venv venv
source venv/bin/activate

βœ… Step 3: Install dependencies

pip install -r requirements.txt

πŸ” API Setup

Get your API Key from https://console.groq.com/keys or other LLM providers.

  • ⚠️ Create a .env file in the root directory:
API_KEY=your_api_key_here

▢️ Run the App

streamlit run main.py

Then open your browser: http://localhost:8501


πŸ§ͺ Usage

  • Use sidebar to navigate history and saved chats
  • Add/delete chat history
  • Switch to Shayari or Joke mode from custom_responses.py
  • Save and download your chats
  • Use β€œClear” to reset memory

πŸ“„ License

This project is licensed under the MIT License. See the LICENSE file for full details.


πŸ™Œ Contributing

We welcome all contributions, big or small.

GitHub contributors GitHub last commit

πŸ‘‡ How to Start

  1. Fork this repository 🍴

  2. Create a new branch

    git checkout -b feature/amazing-feature
  3. Make your changes πŸš€

  4. Commit your work

    git commit -m "Added an amazing feature"
  5. Push and open a PR

    git push origin feature/amazing-feature

βœ… Contribution Tips

  • Write clean, readable code
  • Add helpful commit messages
  • Include screenshots/GIFs if adding UI features
  • Keep the README up to date with your change

πŸ’– Thanks to all amazing contributors!


πŸ“¬ Contact

Made with ❀️ by @dhruvpatel16120 Have suggestions or issues? Open an issue or Linkedin Message : dhruvpatel16120


About

πŸ€– Nexa AI – A customizable AI chatbot built with Streamlit, LangChain, and DeepSeek. Supports Groq, OpenAI, chat memory, jokes, quotes, shayari, and more. Open-source and developer-friendly!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages