Files
sailikhithk 6e1e315c02 fix: remove deprecated pathlib backport and migrate PyPDF2 to pypdf (#1029)
Remove pathlib==1.0.1 from ai_tic_tac_toe_agent/requirements.txt. This is the
abandoned 2012 backport of the stdlib module that can shadow and break Python's
built-in pathlib on modern Python. The code already uses `from pathlib import
Path` (stdlib), so the package is unnecessary.

Migrate PyPDF2 to pypdf in two projects (ai_recruitment_agent_team and
rag_chain). PyPDF2 is deprecated and had a ReDoS vulnerability (CVE-2023-36810).
The maintained successor is pypdf, which the rest of the repo already uses in
10+ other projects. The PdfReader API is identical:
  - import PyPDF2 -> import pypdf
  - PyPDF2.PdfReader -> pypdf.PdfReader

Files changed:
- ai_tic_tac_toe_agent/requirements.txt: removed pathlib==1.0.1
- ai_recruitment_agent_team/requirements.txt: PyPDF2==3.0.1 -> pypdf>=4.0.0
- ai_recruitment_agent_team/ai_recruitment_agent_team.py: import and usage
- ai_recruitment_agent_team/README.md: updated tech stack mention
- rag_chain/requirements.txt: PyPDF2 -> pypdf>=4.0.0
2026-08-15 17:35:13 -05:00
..
2025-02-13 21:59:11 +01:00
2025-01-14 20:28:18 +05:30

PharmaQuery

Overview

PharmaQuery is an advanced Pharmaceutical Insight Retrieval System designed to help users gain meaningful insights from research papers and documents in the pharmaceutical domain.

Demo

https://github.com/user-attachments/assets/c12ee305-86fe-4f71-9219-57c7f438f291

Features

  • Natural Language Querying: Ask complex questions about the pharmaceutical industry and get concise, accurate answers.
  • Custom Database: Upload your own research documents to enhance the retrieval system's knowledge base.
  • Similarity Search: Retrieves the most relevant documents for your query using AI embeddings.
  • Streamlit Interface: User-friendly interface for queries and document uploads.

Technologies Used

Requirements

  1. Install Dependencies:

    pip install -r requirements.txt
    
  2. Run the Application:

    streamlit run app.py
    
  3. Use the Application:

    • Paste your Google API Key in the sidebar.
    • Enter your query in the main interface.
    • Optionally, upload research papers in the sidebar to enhance the database.

📫 Connect With Me

handshake gif

codewithcharan __mr.__.unique codewithcharan