Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rafaykhattak/llamadoc
Taking advantage of LlamaIndex's in-context learning paradigm, LlamaDoc empowers users to input PDF documents and pose any questions related to the content. The tool leverages the LLama Index's reasoning capabilities to provide intelligent responses based on the contextual understanding of the LLM.
https://github.com/rafaykhattak/llamadoc
deep-neural-networks gpt3 in-context-learning llama-index llm
Last synced: 21 days ago
JSON representation
Taking advantage of LlamaIndex's in-context learning paradigm, LlamaDoc empowers users to input PDF documents and pose any questions related to the content. The tool leverages the LLama Index's reasoning capabilities to provide intelligent responses based on the contextual understanding of the LLM.
- Host: GitHub
- URL: https://github.com/rafaykhattak/llamadoc
- Owner: RafayKhattak
- Created: 2023-05-13T08:30:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-06-20T04:54:40.000Z (over 1 year ago)
- Last Synced: 2024-11-13T02:32:20.346Z (3 months ago)
- Topics: deep-neural-networks, gpt3, in-context-learning, llama-index, llm
- Language: Python
- Homepage: https://rafaykhattak-llamadoc-app-vd88ke.streamlit.app/
- Size: 686 KB
- Stars: 13
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LlamaDoc
LlamaDoc is a powerful web application that utilizes the LlamaIndex library and the reasoning capabilities of LLMs (Language Model Models) to provide accurate and insightful responses from PDF files. It enables users to upload PDF documents, search for specific information within them, and receive relevant answers generated by LLMs.
![Screenshot (449)](https://github.com/RafayKhattak/LlamaDoc/assets/90026724/271fc603-d4ef-427a-9780-55b31b17f360)
## Features- **PDF Upload**: Users can upload their PDF files through the web interface.
- **In-Context Learning**: LlamaDoc leverages the in-context learning approach of LLMs, allowing for more accurate and context-aware responses.
- **Search Functionality**: Users can input their queries in the search bar to retrieve relevant information from the uploaded PDFs.
- **Interactive PDF Viewing**: LlamaDoc provides an interactive PDF viewer that allows users to view the uploaded PDF files directly in the web application.## Installation
1. Clone the repository:
```
git clone https://github.com/yourusername/LlamaDoc.git
cd
```
2. Install the required dependencies:
```
pip install -r requirements.txt
```
3. Set up the environment variables:
- Create a .env file in the root directory.
- Add the following key-value pairs to the .env file:
```
OPENAI_API_KEY=your_openai_api_key
```
4. Start the LlamaDoc web application:
```
streamlit run app.py
```