{"id":13585049,"url":"https://github.com/dotvignesh/PDFChat","last_synced_at":"2025-04-07T06:32:18.310Z","repository":{"id":160751349,"uuid":"624906825","full_name":"dotvignesh/PDFChat","owner":"dotvignesh","description":"The PDFChat app allows you to chat with your PDF files in natural language.","archived":false,"fork":false,"pushed_at":"2023-04-08T10:32:16.000Z","size":5811,"stargazers_count":135,"open_issues_count":3,"forks_count":47,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-11-06T02:38:26.351Z","etag":null,"topics":["embeddings","gpt-3","langchain","llm","openai","python","streamlit"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dotvignesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-07T14:57:48.000Z","updated_at":"2024-10-10T10:44:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"84b0580b-fb45-4736-bd21-4a81ae76c581","html_url":"https://github.com/dotvignesh/PDFChat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotvignesh%2FPDFChat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotvignesh%2FPDFChat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotvignesh%2FPDFChat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dotvignesh%2FPDFChat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dotvignesh","download_url":"https://codeload.github.com/dotvignesh/PDFChat/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247607293,"owners_count":20965942,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["embeddings","gpt-3","langchain","llm","openai","python","streamlit"],"created_at":"2024-08-01T15:04:42.524Z","updated_at":"2025-04-07T06:32:18.298Z","avatar_url":"https://github.com/dotvignesh.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# PDFChat\n\nThe PDFChat app allows you to chat with your PDF files using the power of langchain, OpenAI Embeddings, and GPT3.5 in the backend. \nIt uses Streamlit for the user interface.\n\n## Demo\n\nhttps://user-images.githubusercontent.com/19832025/230705607-00e830c1-0181-49b6-ba92-4c9294b6cec3.mp4 \n\n## Installation\n\nTo install and run the application, follow the instructions below:\n\n1. Clone the repository using Git:\n\n   ```bash\n   git clone https://github.com/dotvignesh/PDFChat.git\n   ```\n\n2. Change into the repository directory:\n\n   ```bash\n   cd PDFChat\n   ```\n\n3. Create a conda environment:\n\n   ```bash\n   conda create --name pdfchat\n   ```\n   \n4. Activate the new conda environment:\n\n   ```bash\n   conda activate pdfchat\n   ```\n   \n5. Install the required packages:\n\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n6. Get your OpenAI API Key by following these steps:\n   - Go to [OpenAI Website](https://platform.openai.com/account/api-keys)\n   - Create an account or log in\n   - Navigate to the \"API Keys\" section\n   - Click on the \"Create new secret key\" button (or use an existing one)\n   - Copy the API key\n\n7. Create a `.env` file in the root of the repository directory, and add the following line, replacing `\u003cyour-api-key\u003e` with your actual API key:\n\n   ```bash\n   OPENAI_API_KEY=\u003cyour-api-key\u003e\n   ```\n\n8. Run the application using streamlit:\n\n   ```bash\n   streamlit run app.py\n   ```\n\nThe application should now be running at http://localhost:8501.\n\n\n## Usage\n\nOnce the app is running, you can upload your PDF files and start chatting with them using the built-in chat interface.\n\nEnjoy chatting with your PDF files!\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotvignesh%2FPDFChat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdotvignesh%2FPDFChat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdotvignesh%2FPDFChat/lists"}