Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miteshgupta07/intellichat

IntelliChat is a conversational AI chatbot with persistent history and multi-language support. Built using Streamlit, LangChain, and ChatGroq, it provides context-aware, customizable responses in five languages.
https://github.com/miteshgupta07/intellichat

chatbot generative-ai groq langchain streamlit

Last synced: 12 days ago
JSON representation

IntelliChat is a conversational AI chatbot with persistent history and multi-language support. Built using Streamlit, LangChain, and ChatGroq, it provides context-aware, customizable responses in five languages.

Awesome Lists containing this project

README

        

# IntelliChat: Conversational AI Chatbot with Persistent History 🤖

IntelliChat is a powerful, multi-language conversational AI chatbot that delivers accurate, context-aware responses. Equipped with persistent chat history and customizable model settings, IntelliChat is designed to provide a seamless, user-friendly experience for general knowledge queries and more.

## Deployment 🌍
IntelliChat can be deployed on [**Streamlit**](https://intellichat-chatbot.streamlit.app/) for an intuitive and scalable user interface.

## Features 🚀
- **Persistent Chat History**: Maintains the flow of conversation across queries.
- **Multi-Language Support**: Communicate in English, Spanish, French, German, or Hindi.
- **Customizable Models**: Choose from state-of-the-art models:
- **LLaMA 3.1-8B**: Efficient for various language tasks.
- **Gemma2 9B**: Offers nuanced and contextually rich responses.
- **Mixtral**: Multi-modal capabilities for creative applications.
- **Adjustable Parameters**: Fine-tune temperature and max tokens to control output creativity and length.
- **Real-Time LangChain Tracing**: Enhanced debugging and performance optimization.

## Configuration 🛠️

### Model Selection
- **LLaMA 3.1-8B**: Optimal for general text generation tasks.
- **Gemma2 9B**: Ideal for nuanced, context-aware responses.
- **Mixtral**: Suitable for multi-modal (text and visual) tasks.

### Adjustable Parameters
- **Temperature**: Controls creativity in responses.
- **Max Tokens**: Limits the length of generated outputs.

## How It Works 📝
1. User inputs are sent to the chosen model via LangChain.
2. Responses are generated based on the provided language and history context.
3. Persistent chat history ensures a continuous, natural conversation flow.

## Multi-Language Support 🌐
IntelliChat supports five languages:
- **English**
- **Spanish**
- **French**
- **German**
- **Hindi**

## Usage Guide 📚
1. Clone the repository:
```bash
git clone https://github.com/miteshgupta07/IntelliChat.git
cd IntelliChat
2. Install Dependencies
```bash
pip install -r requirements.txt
3. Set up API keys
- Add your API keys to repository secrets (for deployment) or .env (for local use).
4. Run the app locallly
```bash
streamlit run app.py
```

## Security 🛡️
API keys are securely stored as **GitHub Repository Secrets** or in `.env` files for local development.

## Technologies Used 📊
- **Streamlit**: For an interactive user interface.
- **LangChain**: To manage prompts and chat history.
- **ChatGroq**: High-performance conversational models.
- **Python**: Core programming language for logic and integration.

## Contributing 🤝
Contributions are welcome! Please open an issue or submit a pull request for any improvements or feature suggestions.

## License 📝
This project is licensed under the MIT License - see the [LICENSE](https://github.com/miteshgupta07/IntelliChat/blob/main/LICENSE) file for details.

## Acknowledgments 🙏
- **LangChain**: For robust history and prompt management.
- **Groq Models**: For providing state-of-the-art conversational AI capabilities.
- **Streamlit Community**: For helpful resources and support.

## Contact
For inquiries or collaborations, please contact me at [email protected].