https://github.com/alegendary143590/chat-with-pdf
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (7.1%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: alegendary143590
- License: mit
- Language: Jupyter Notebook
- Default Branch: main
- Size: 14.6 KB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
ChatPDF
Chat with any PDF.
Easily upload the PDF documents you'd like to chat with. Instant answers. Ask questions, extract information, and summarize documents with AI. Sources included.
Create app like ChatPDF or PDF.ai in less than 10 lines of code
https://github.com/Anil-matcha/ChatPDF/assets/4326215/65feb017-db88-4334-b535-fd65e81d9724
Getting Started
Code is up now, ⭐ (Star) the repo to receive updates
Replit and streamlit version coming soon
Follow Anil Chandra Naidu Matcha on twitter for updates
Subscribe to https://www.youtube.com/@AnilChandraNaiduMatcha for more such video tutorials
How to run ? (Things might change based on OS)
Create a virtual environment in python https://docs.python.org/3/library/venv.html
Run "pip install -r requirements.txt"
Set OPENAIAPIKEY environment variable with your openai key
Run "python main.py"
Change pdf file and query in code if you want to try with any other content
To run streamlit app, follow the steps run "streamlit run streamlitui.py"
Parts of the streamlit code is inspired from here
Demo link
https://heybot.thesamur.ai/
Also check
Owner
- Login: alegendary143590
- Kind: user
- Repositories: 1
- Profile: https://github.com/alegendary143590
GitHub Events
Total
Last Year
Dependencies
- Deprecated ==1.2.13
- Jinja2 ==3.1.2
- Markdown ==3.4.3
- MarkupSafe ==2.1.2
- Pillow ==9.5.0
- PyYAML ==6.0
- Pygments ==2.15.1
- SQLAlchemy ==2.0.12
- XlsxWriter ==3.1.0
- aiohttp ==3.8.4
- aiosignal ==1.3.1
- anyio ==3.6.2
- argilla ==1.6.0
- async-timeout ==4.0.2
- attrs ==23.1.0
- backoff ==2.2.1
- certifi ==2023.5.7
- cffi ==1.15.1
- charset-normalizer ==3.1.0
- chromadb ==0.3.22
- click ==8.1.3
- clickhouse-connect ==0.5.23
- colorama ==0.4.6
- commonmark ==0.9.1
- cryptography ==40.0.2
- dataclasses-json ==0.5.7
- duckdb ==0.7.1
- et-xmlfile ==1.1.0
- faiss-cpu ==1.7.4
- fastapi ==0.95.1
- filelock ==3.12.0
- frozenlist ==1.3.3
- fsspec ==2023.5.0
- greenlet ==2.0.2
- h11 ==0.14.0
- hnswlib ==0.7.0
- httpcore ==0.16.3
- httptools ==0.5.0
- httpx ==0.23.3
- huggingface-hub ==0.14.1
- idna ==3.4
- importlib-metadata ==6.6.0
- joblib ==1.2.0
- langchain ==0.0.161
- lxml ==4.9.2
- lz4 ==4.3.2
- marshmallow ==3.19.0
- marshmallow-enum ==1.5.1
- monotonic ==1.6
- mpmath ==1.3.0
- msg-parser ==1.2.0
- multidict ==6.0.4
- mypy-extensions ==1.0.0
- networkx ==3.1
- nltk ==3.8.1
- numexpr ==2.8.4
- numpy ==1.23.5
- olefile ==0.46
- openai ==0.27.6
- openapi-schema-pydantic ==1.2.4
- openpyxl ==3.1.2
- packaging ==23.1
- pandas ==1.5.3
- pdfminer.six ==20221105
- posthog ==3.0.1
- pycparser ==2.21
- pydantic ==1.10.7
- pypandoc ==1.11
- pypdf ==3.8.1
- pypdfium2 ==4.15.0
- python-dateutil ==2.8.2
- python-docx ==0.8.11
- python-dotenv ==1.0.0
- python-magic ==0.4.27
- python-pptx ==0.6.21
- pytz ==2023.3
- regex ==2023.5.5
- requests ==2.30.0
- rfc3986 ==1.5.0
- rich ==13.0.1
- scikit-learn ==1.2.2
- scipy ==1.10.1
- sentence-transformers ==2.2.2
- sentencepiece ==0.1.99
- six ==1.16.0
- sniffio ==1.3.0
- starlette ==0.26.1
- sympy ==1.11.1
- tenacity ==8.2.2
- threadpoolctl ==3.1.0
- tiktoken ==0.4.0
- tokenizers ==0.13.3
- torch ==2.0.1
- torchvision ==0.15.2
- tqdm ==4.65.0
- transformers ==4.28.1
- typing-inspect ==0.8.0
- typing_extensions ==4.5.0
- unstructured ==0.6.3
- urllib3 ==2.0.2
- uvicorn ==0.22.0
- watchfiles ==0.19.0
- websockets ==11.0.3
- wrapt ==1.14.1
- yarl ==1.9.2
- zipp ==3.15.0
- zstandard ==0.21.0