Skip to content

Srishank-Padam/Multi-task-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌟 All-in-One AI Assistant

This Streamlit app is an All-in-One AI Assistant that uses Google's Gemini API to perform various tasks in one place.
It provides an interactive, user-friendly interface for chatting, summarization, translation, and more β€” making it a versatile learning and productivity tool.

✨ Key Benefits for Users of This Code

1. Versatility and Multiple Functions πŸ› οΈ

This assistant is designed as an all-in-one AI tool. Instead of building separate apps, this code shows how to integrate multiple features into one app:

  • Conversational Chatbot πŸ’¬
  • Text Summarization ✍️
  • Keyword Extraction πŸ”‘
  • Multilingual Translation 🌍
  • Text-to-Speech (TTS) πŸ”Š

2. Clear and Modular Structure 🧩

  • A simple menu with radio buttons (st.radio) lets you switch between tasks.
  • Each task is implemented with clear if/elif blocks.
  • Easy to extend with new features like Q&A or Sentiment Analysis.

3. Practical Use of Streamlit πŸš€

  • st.radio, st.selectbox, st.text_area β†’ interactive inputs.
  • st.spinner β†’ adds loading animations.
  • st.session_state β†’ keeps chat history.
  • st.audio β†’ plays AI-generated speech.
  • st.components.v1.html β†’ allows embedding custom HTML.

4. Demonstrates Gemini API Integration πŸ”—

  • Configures the API key with genai.configure(api_key=...).
  • Supports multiple models (gemini-pro, gemini-pro-vision, gemini-2.5-flash-preview-tts).
  • Handles text, translation, and speech.

⚑ How to Run This Project

Follow these steps to set up and run the assistant locally:

πŸ”Ή 1. Clone the Repository

git clone https://github.com/your-username/all-in-one-ai-assistant.git
cd all-in-one-ai-assistant

### πŸ”Ή 2. Create & Activate a Virtual Environment (Recommended)

About

🌟AI Multi-Task Chatbot with Animated UI An AI-powered chatbot built with Streamlit and Google Gemini API. Features include NLP tasks like summarization, keyword extraction, multilingual translation, and text-to-speech, all within an interactive animated UI for seamless conversations.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors