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

https://github.com/hadjuse/chatbot-malagasy

A little project to show how to use mistral to create a little chatbot using mistral and Langchain
https://github.com/hadjuse/chatbot-malagasy

langchain-python mistral-api mistralai python3

Last synced: about 1 month ago
JSON representation

A little project to show how to use mistral to create a little chatbot using mistral and Langchain

Awesome Lists containing this project

README

        

# Project RAG response in Malagasy
This little project is a chatbot built using the Retrieval-Augmented Generation (RAG) approach with Langchain. It focuses on providing responses in Malagasy.

## Features
- RAG for precise responses
- Langchain integration for NLP
- Straightforward setup and deployment

## Prerequisites
- Python 3.8+
- Jupyter Notebook
- Required Python packages (in `requirements.txt`)

## Installation
1. Clone the repository:
```bash
git clone https://github.com/hadjuse/ChatBot-Malagasy.git
cd ChatBot-Malagasy
```
2. Create and activate a virtual environment:
```bash
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```
3. Install requirements:
```bash
pip install -r requirements.txt
```

## Launching the Chatbot
1. Execute the ui.py in the folder frontend.

## Notebook Details
Notebook provide details about prompting technique and how to use langchain for use cases

## Contributing
Fork the repository, make your changes, and open a pull request.

## License
Licensed under the MIT License. See `LICENSE` for details.

## Contact
For questions or issues, open a GitHub issue or contact the maintainer at [[email protected]].