Skip to content

manoranjan-30/Chatbot---Using-Llama3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Chatbot---Using-Llama3

This repository demonstrates a simple chatbot application using the LangChain library and the LLAMA3 model. The chatbot is designed to respond to user queries interactively using the Streamlit framework for a web-based user interface.

Features

LangChain Integration :: Utilizes the LangChain library for prompt management and output parsing.

LLAMA3 Model :: Incorporates the LLAMA2 model from Ollama for natural language processing.

Streamlit Interface : Provides a user-friendly interface using Streamlit for real-time query handling.

Environment Variable Management :: Securely handles API keys and other sensitive information using a .env file.

Installation

Clone the repository:

git clone https://github.com/manoranjan-30/Chatbot---Using-Llama3.git

cd Chatbot---Using-Llama3

Install dependencies:

pip install -r requirements.txt

Set up environment variables:

Create a .env file in the root directory of the project.

Add your LangChain API key to the .env file:

LANGCHAIN_API_KEY=your_api_key_here

Run the Streamlit application:

streamlit run app.py

Interact with the chatbot:

Open your web browser and go to the URL provided by Streamlit. Enter your query in the text input box and get responses from the chatbot powered by LLAMA2. Screenshot (192)

About

This repository demonstrates a simple chatbot application using the LangChain library and the LLAMA model. The chatbot is designed to respond to user queries interactively using the Streamlit framework for a web-based user interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages