/NitroBOT

Live Bot

Primary LanguagePythonApache License 2.0Apache-2.0

LangChain Datasheet Bot

Project Overview

This project utilizes the LangChain library with the RAG (Retrieval-Augmented Generation) technique to provide access to public PDF files of Viavi Solutions website and create a chatbot capable of providing information about their products. The bot takes user prompts and generates responses by querying the LangChain model, including relevant information from Viavi Solutions' PDF documents. Requirements

#Demo

Before running the project, make sure you have the following dependencies installed:

    Python 3.11
    Streamlit
    Dotenv
    OpenAI`s GPT-3 model (for LangChain)
    Other Python libraries as required (specified in the code)

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

PINECONE_API_KEY

PINECONE_ENVIRONMENT_REGION

OPENAI_API_KEY

Run Locally

Clone the project

  git clone git@github.com:vanzei/NitroBOT.git

Go to the project directory

  cd NitroBOT

Install dependencies

  pip install -r requirements.txt

Start the flask server

  streamlit run main.py

🔗 Links

portfolio linkedin