Skip to content

🦙Implements LLama3-powered conversational AI to provide intelligent responses to user queries in real-time.

License

Notifications You must be signed in to change notification settings

rajveersinghcse/Llama3-Chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

llama

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 in your system.
  • After installing the Ollama you have to install llama3 by using this command

Getting Started

Installation

  1. Clone the repository:

    git clone https://github.com/rajveersinghcse/Llama3-Chatbot.git
  2. Navigate to the project directory:

    cd llama3-chatbot
  3. Install the required dependencies:

    pip install -r requirements.txt
  4. In .env file paste your Langchain API key.

  5. Run this command:

    flask --app app.py run
  6. 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 file for details.

Acknowledgments

  • OpenAI for providing the LLama3 model.
  • Bootstrap for the frontend styling.

About

🦙Implements LLama3-powered conversational AI to provide intelligent responses to user queries in real-time.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published