mirror of
https://github.com/Shubhamsaboo/awesome-llm-apps.git
synced 2026-03-09 07:25:00 -05:00
3.1 KiB
3.1 KiB
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.
PharmaQuery Architecture
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
- Programming Language: Python 3.10+
- Framework: LangChain
- Database: ChromaDB
- Models:
- Embeddings: Google Gemini API (embedding-001)
- Chat: Google Gemini API (gemini-1.5-pro)
- PDF Processing: PyPDFLoader
- Document Splitter: SentenceTransformersTokenTextSplitter
Requirements
-
Install Dependencies:
pip install -r requirements.txt -
Set Up Environment Variables: Create a
.envfile in the project root directory with the following variables:GOOGLE_API_KEY="your_google_gemini_api_key"Note:Replaceyour_google_gemini_api_keywith actual key. -
Run the Application:
streamlit run app.py -
Use the Application:
- Enter your query in the main interface.
- Optionally, upload research papers in the sidebar to enhance the database.
📫 Connect With Me