The project is to use OpenAI embedding and chat models and help you answer queries related to the pdf you use.
(Hugging face models can also be used but need to have appropriate hardware)
git clone https://github.com/knownbymanoj/Chatpdf.git
pip install -r requirements.txt
Parameter | Type | Description |
---|---|---|
OPENAI_API_KEY= |
string |
Required. Your API key |
HUGGINGFACEHUB_API_TOKEN= |
string |
Required. Your API key |
4) Run your Code in Terminal using and that's it your chatbot is on and a link is displayed and if not redirected you can coipy and paste the link in your browser.
streamlit run app.py