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
Python 3.11
Streamlit
Dotenv
OpenAI`s GPT-3 model (for LangChain)
Other Python libraries as required (specified in the code)
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
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