Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rajveersinghcse/llama3-chatbot
🦙Implements LLama3-powered conversational AI to provide intelligent responses to user queries in real-time.
https://github.com/rajveersinghcse/llama3-chatbot
chatbot chatgpt llama llama2 llama3
Last synced: 3 months ago
JSON representation
🦙Implements LLama3-powered conversational AI to provide intelligent responses to user queries in real-time.
- Host: GitHub
- URL: https://github.com/rajveersinghcse/llama3-chatbot
- Owner: rajveersinghcse
- License: mit
- Created: 2024-04-23T02:36:32.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-07-09T13:17:06.000Z (6 months ago)
- Last Synced: 2024-10-10T06:05:13.835Z (3 months ago)
- Topics: chatbot, chatgpt, llama, llama2, llama3
- Language: HTML
- Homepage:
- Size: 8.79 KB
- Stars: 6
- Watchers: 1
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Chatbot with LLama3
This is a simple chatbot application built using the LLama3 model from OpenAI. The chatbot is deployed using Flask and can be accessed via a web interface.
## Features
- Uses the LLama3 model from Langchain for natural language processing.
- Utilizes dotenv for managing environment variables.
- Implements a ChatPromptTemplate for defining user and system messages.
- Supports querying the chatbot with user input.
- Web-based interface for easy interaction.
- Uses Bootstrap for styling.## Prerequisite
- You have to install [Ollama](https://ollama.com/download) in your system.
- After installing the Ollama you have to install llama3 by using this command## Getting Started
## Installation
1. Clone the repository:
```bash
git clone https://github.com/rajveersinghcse/Llama3-Chatbot.git
```2. Navigate to the project directory:
```bash
cd llama3-chatbot
```3. Install the required dependencies:
```bash
pip install -r requirements.txt
```4. In `.env` file paste your Langchain API key.
3. Run this command:
```bash
flask --app app.py run
```5. Open your browser and go to `http://localhost:5000` to access the chatbot.
## Usage
- Enter your query in the input field and click "Submit."
- The chatbot will process your query and respond.## Customization
You can customize the chatbot's behavior by modifying the `initialize_chatbot()` function in `app.py`. For example, you can change the prompts or adjust the LLama3 model settings.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Acknowledgments
- OpenAI for providing the LLama3 model.
- Bootstrap for the frontend styling.