Skip to content

AI Assistant with Chainlit Interface A multi-functional AI chatbot built with Chainlit, supporting tools like weather updates, news, jokes, currency exchange, and intelligent agents for writing, email generation, prompt egineering and translation. Users can switch between LLMs like Gemini, Llama, and Exaone, with interactive UI and chat history

License

Notifications You must be signed in to change notification settings

MuhammadUsmanGM/Chainlit-Chatbot

Repository files navigation

🧠 Multi-Tool Chatbot

(Chainlit + TogetherAI + OpenRouter + Gemini)

Chainlit App

Python Chainlit License

An advanced, modular AI assistant built with Chainlit, integrated with multiple LLM providers like Gemini, TogetherAI, and OpenRouter, and powered by a suite of useful tools for enhanced user interaction.


✨ Key Features

  • Multi-LLM Support – Gemini, Together Meta, Exaone, OpenRouter DeepSeek
  • 🔧 Tool-Based Modular Architecture – Easy integration via function_tool
  • 🧠 Dynamic Model Configuration – Switch profiles on the fly
  • 💬 Live Typing & Streamed Responses – Real-time interaction
  • 🧾 Persistent Chat History – Auto-saves to JSON
  • 🎯 Starter Prompts – For better user engagement

🧰 Built-in Tools

  • 🌦️ Weather Checker
  • 🗞️ News Fetcher
  • 😂 Programming Joke Teller
  • 💱 Currency Exchange Lookup
  • ✍️ EasyWriter – Writing assistant
  • 📧 EmailWriter – Email generator
  • 🌏 Language Translator
  • 🧪 Prompt Engineer
  • 🌐 IP Geolocation
  • 🪲 Code Debugger - Debug and improve code

🔮 Built-in Language Hand-Off Tools

Easily switch or hand off tasks between:

  • ✨ English Language
  • ✨ Urdu Language

📁 Project Structure

├── main.py # Entry point with chat logic, streaming, and tools ├── my_secrets.py # Handles environment variables securely ├── .env # API keys and config (not committed) ├──images #contain output and interface images ├──public #contain svg logos for starter tools └── chat_history.json # Chat history output file (on session end)

📬 Contact

For questions, reach out via GitHub Issues or muhammadusman5965etc@gmail.com

🚆Interface Preview

Interface

📤Sample Output

Output

About

AI Assistant with Chainlit Interface A multi-functional AI chatbot built with Chainlit, supporting tools like weather updates, news, jokes, currency exchange, and intelligent agents for writing, email generation, prompt egineering and translation. Users can switch between LLMs like Gemini, Llama, and Exaone, with interactive UI and chat history

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages