Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PDF Assistant

Overview

PDF Assistant is an interactive web application built with Streamlit that allows users to upload a PDF document, ask questions about its content, and receive answers using a conversational AI model. The tool leverages LangChain, OpenAI's GPT-3.5, and FAISS for text embedding and retrieval.

Installation

  1. Clone the Repository:
https://github.com/Unknown-Pplayer/LLM-Application.git
cd LLM-Application
  1. Create a Virtual Environment:
python -m venv venv
source .venv/bin/activate   # On Windows use `venv\Scripts\activate`
  1. Install Dependencies:
pip install -r requirements.txt
  1. Set Up Environment Variables:

You can find your OpenAI API Key https://platform.openai.com/api-keys

Create a .env File at the porject root directory and add the following

OPENAI_API_KEY=YOUR_KEY
  1. Run the Application
streamlit run app.py

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages