{"id":19242390,"url":"https://github.com/divyanshu9822/chat-with-pdf","last_synced_at":"2026-04-16T19:02:49.968Z","repository":{"id":254623281,"uuid":"847082639","full_name":"Divyanshu9822/chat-with-pdf","owner":"Divyanshu9822","description":"Chat with PDF is an interactive AI chatbot built with Streamlit, designed to allow you to engage with the content of your PDF documents.","archived":false,"fork":false,"pushed_at":"2024-08-25T04:44:51.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-27T08:31:23.738Z","etag":null,"topics":["gemma","groq","python","streamlit"],"latest_commit_sha":null,"homepage":"https://pdf-chat-ai.streamlit.app/","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/Divyanshu9822.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":"2024-08-24T19:50:29.000Z","updated_at":"2025-07-01T06:27:25.000Z","dependencies_parsed_at":"2024-08-24T20:50:32.943Z","dependency_job_id":"2d34edc6-5641-4e20-8050-4507aa0e97cc","html_url":"https://github.com/Divyanshu9822/chat-with-pdf","commit_stats":null,"previous_names":["divyanshu9822/chat-with-pdf"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Divyanshu9822/chat-with-pdf","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyanshu9822%2Fchat-with-pdf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyanshu9822%2Fchat-with-pdf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyanshu9822%2Fchat-with-pdf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyanshu9822%2Fchat-with-pdf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Divyanshu9822","download_url":"https://codeload.github.com/Divyanshu9822/chat-with-pdf/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Divyanshu9822%2Fchat-with-pdf/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31899986,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"ssl_error","status_checked_at":"2026-04-16T18:21:47.142Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["gemma","groq","python","streamlit"],"created_at":"2024-11-09T17:14:12.612Z","updated_at":"2026-04-16T19:02:49.950Z","avatar_url":"https://github.com/Divyanshu9822.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Chat with PDF - Interactive AI Chatbot\n\nChat with PDF is an interactive AI chatbot built with Streamlit, designed to allow you to engage with the content of your PDF documents. Powered by Groq's API and Google’s generative AI embeddings, it enables seamless querying of your uploaded PDFs.\n\n![image](https://github.com/user-attachments/assets/940365bd-156f-49f1-8e10-048302a8a04a)\n\n## Features\n\n- **PDF Interaction**: Upload and query PDF documents directly.\n- **Content-Based Responses**: The chatbot provides responses based on the content of your PDFs.\n- **User-Friendly Interface**: Simple and intuitive UI built with Streamlit.\n- **Customizable API Keys**: Enter your Groq and Google API keys for personalized interactions.\n\n## Prerequisites\n\n- **Python**: Version 3.12 or higher is required.\n- **API Keys Required**:\n    - Get your Groq API key from [Groq API Key Page](https://console.groq.com/keys).\n    - Get your Google API key from [Google API Key Page](https://aistudio.google.com/app/apikey).\n\n## Installation\n\n1. **Clone the repository**:\n    ```bash\n    git clone https://github.com/Divyanshu9822/chat-with-pdf.git\n    cd chat-with-pdf\n    ```\n\n2. **Create and activate a virtual environment**:\n    ```bash\n    python -m venv venv\n    source venv/bin/activate  # On Windows, use `venv\\Scripts\\activate`\n    ```\n\n3. **Install the required packages**:\n    ```bash\n    pip install -r requirements.txt\n    ```\n\n## Usage\n\n1. **Run the Streamlit app**:\n    ```bash\n    streamlit run app.py\n    ```\n\n2. **Enter your API keys** in the sidebar:\n    - **Groq API Key**: Input your Groq API key.\n    - **Google API Key**: Input your Google API key.\n\n3. **Upload PDF(s)** using the file uploader.\n\n4. **Process the documents** by clicking the 'Process Documents' button.\n\n5. **Start querying** the chatbot about the content of the uploaded PDFs.\n\n6. **View responses** based on the content of the documents. Relevant sections from the PDFs will be displayed to support the answers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyanshu9822%2Fchat-with-pdf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivyanshu9822%2Fchat-with-pdf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivyanshu9822%2Fchat-with-pdf/lists"}