aiagents4pharma 1.39.1__py3-none-any.whl → 1.39.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- aiagents4pharma/talk2scholars/configs/agents/talk2scholars/paper_download_agent/default.yaml +5 -0
- aiagents4pharma/talk2scholars/configs/agents/talk2scholars/pdf_agent/default.yaml +5 -0
- aiagents4pharma/talk2scholars/configs/tools/download_arxiv_paper/default.yaml +4 -0
- aiagents4pharma/talk2scholars/configs/tools/download_biorxiv_paper/default.yaml +2 -0
- aiagents4pharma/talk2scholars/configs/tools/download_medrxiv_paper/default.yaml +2 -0
- aiagents4pharma/talk2scholars/configs/tools/question_and_answer/default.yaml +22 -0
- {aiagents4pharma-1.39.1.dist-info → aiagents4pharma-1.39.2.dist-info}/METADATA +5 -5
- {aiagents4pharma-1.39.1.dist-info → aiagents4pharma-1.39.2.dist-info}/RECORD +11 -5
- {aiagents4pharma-1.39.1.dist-info → aiagents4pharma-1.39.2.dist-info}/WHEEL +0 -0
- {aiagents4pharma-1.39.1.dist-info → aiagents4pharma-1.39.2.dist-info}/licenses/LICENSE +0 -0
- {aiagents4pharma-1.39.1.dist-info → aiagents4pharma-1.39.2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,5 @@
|
|
1
|
+
_target_: agents.paper_download_agent.get_app
|
2
|
+
paper_download_agent: |
|
3
|
+
You are the Paper Download Agent.
|
4
|
+
|
5
|
+
You are responsible for downloading PDFs of papers using their IDs. Use all the provied Ids to download the papers. Only when the user asks a question related to PDFs, please forward the query to the `question_and_answer` tool from the `pdf_agent`
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Default configuration for the PDF question_and_answer Tool
|
2
|
+
chunk_size: 1200 # Number of characters per text chunk
|
3
|
+
chunk_overlap: 200 # Overlap between adjacent chunks
|
4
|
+
top_k_papers: 5 # Number of papers to rank and retrieve
|
5
|
+
top_k_chunks: 25 # Number of chunks to retrieve
|
6
|
+
reranker:
|
7
|
+
model: "nvidia/nv-rerankqa-mistral-4b-v3"
|
8
|
+
api_key: ${oc.env:NVIDIA_API_KEY}
|
9
|
+
prompt_template: |
|
10
|
+
You are a scientific research assistant specialized in reading and extracting information from research papers.
|
11
|
+
Your role is to answer questions by retrieving relevant information from the provided context.
|
12
|
+
|
13
|
+
- Provide detailed, structured, and well-argued explanations—not just brief summaries.
|
14
|
+
- Cite specific sources using onky the title of the paper.
|
15
|
+
- If the context is insufficient, clearly state that more information is needed.
|
16
|
+
|
17
|
+
Context:
|
18
|
+
{context}
|
19
|
+
|
20
|
+
Question: {question}
|
21
|
+
|
22
|
+
Your answer should be comprehensive, accurate, and clearly structured for a scientific audience.
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: aiagents4pharma
|
3
|
-
Version: 1.39.
|
3
|
+
Version: 1.39.2
|
4
4
|
Summary: AI Agents for drug discovery, drug development, and other pharmaceutical R&D.
|
5
5
|
Classifier: Programming Language :: Python :: 3
|
6
6
|
Classifier: License :: OSI Approved :: MIT License
|
@@ -145,7 +145,7 @@ LANGCHAIN_TRACING_V2=true # Optional for both agents
|
|
145
145
|
LANGCHAIN_API_KEY=... # Optional for both agents
|
146
146
|
```
|
147
147
|
|
148
|
-
[Additional Notes for Windows Users](https://github.com/VirtualPatientEngine/AIAgents4Pharma/
|
148
|
+
[Additional Notes for Windows Users](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#notes-for-windows-users)
|
149
149
|
|
150
150
|
##### **3. Start the application**
|
151
151
|
|
@@ -154,7 +154,7 @@ chmod +x startup.sh
|
|
154
154
|
./startup.sh # Add --cpu flag to force CPU mode if needed
|
155
155
|
```
|
156
156
|
|
157
|
-
[More about startup script](https://github.com/VirtualPatientEngine/AIAgents4Pharma/
|
157
|
+
[More about startup script](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#about-startupsh)
|
158
158
|
|
159
159
|
##### **To Run Talk2Biomodels / Talk2Scholars**
|
160
160
|
|
@@ -196,11 +196,11 @@ To use **Talk2BioModels** or **Talk2Scholars**, you need a free **NVIDIA API key
|
|
196
196
|
|
197
197
|
Only for **Talk2Scholars**, you also need a **Zotero API key**, which you can generate [here](https://www.zotero.org/user/login#applications). _(For all other agents, the Zotero key is not required.)_
|
198
198
|
|
199
|
-
If you are using docker on Windows, please follow these [Windows Setup Notes](https://github.com/VirtualPatientEngine/AIAgents4Pharma/
|
199
|
+
If you are using docker on Windows, please follow these [Windows Setup Notes](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#notes-for-windows-users).
|
200
200
|
|
201
201
|
**LangSmith** support is optional. To enable it, create an API key [here](https://docs.smith.langchain.com/administration/how_to_guides/organization_management/create_account_api_key).
|
202
202
|
|
203
|
-
[More on running multiple agents simultaneously](https://github.com/VirtualPatientEngine/AIAgents4Pharma/
|
203
|
+
[More on running multiple agents simultaneously](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#to-run-multiple-agents-simultaneously)
|
204
204
|
|
205
205
|
#### Option 2: git (for developers and contributors)
|
206
206
|
|
@@ -158,7 +158,9 @@ aiagents4pharma/talk2scholars/configs/agents/talk2scholars/__init__.py,sha256=D9
|
|
158
158
|
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/main_agent/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
159
159
|
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/main_agent/default.yaml,sha256=hew5vyrhLeJktoN6DTPRRpnINrXqKZ4trLJQDOuDGOA,4712
|
160
160
|
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/paper_download_agent/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
161
|
+
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/paper_download_agent/default.yaml,sha256=D-IanUKvd2yhrFJjQCMnIG8UNQ3fbkW_bOdhHWRKmq8,357
|
161
162
|
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/pdf_agent/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
163
|
+
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/pdf_agent/default.yaml,sha256=p3hFJi-1xbHCNagTG13WHvsrPt11XQg1nHS7VJx2XOY,166
|
162
164
|
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/s2_agent/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
163
165
|
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/s2_agent/default.yaml,sha256=N3a_brrB1ilUCeqHQrqu97Olz2snko3tTNPMNR8yTHI,208
|
164
166
|
aiagents4pharma/talk2scholars/configs/agents/talk2scholars/zotero_agent/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
@@ -168,11 +170,15 @@ aiagents4pharma/talk2scholars/configs/app/frontend/__init__.py,sha256=fqQQ-GlRcb
|
|
168
170
|
aiagents4pharma/talk2scholars/configs/app/frontend/default.yaml,sha256=A6nYjrgzEyRv5JYsGN7oqNX4-tufMBZ6mg-A7bMX6V4,906
|
169
171
|
aiagents4pharma/talk2scholars/configs/tools/__init__.py,sha256=6pHPF0ZGY78SD6KPMukd_xrfO1ocVXcyrsrB-kz-OnI,402
|
170
172
|
aiagents4pharma/talk2scholars/configs/tools/download_arxiv_paper/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
173
|
+
aiagents4pharma/talk2scholars/configs/tools/download_arxiv_paper/default.yaml,sha256=VT3f-E6QGtqUjLEX0eaw9b_7f1Fp83cnnMOpqOufK4I,120
|
171
174
|
aiagents4pharma/talk2scholars/configs/tools/download_biorxiv_paper/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
175
|
+
aiagents4pharma/talk2scholars/configs/tools/download_biorxiv_paper/default.yaml,sha256=d5_dl1_FYWseBGTVGkvC41jfJMsMUaDMOmC_av3aL4Q,72
|
172
176
|
aiagents4pharma/talk2scholars/configs/tools/download_medrxiv_paper/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
177
|
+
aiagents4pharma/talk2scholars/configs/tools/download_medrxiv_paper/default.yaml,sha256=NaWmyVZ71rIF3ZRUm912wQgRL0cgDTWA-hVKeu60rtg,70
|
173
178
|
aiagents4pharma/talk2scholars/configs/tools/multi_paper_recommendation/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
174
179
|
aiagents4pharma/talk2scholars/configs/tools/multi_paper_recommendation/default.yaml,sha256=comNgL9hRpH--IWuEsrN6hV5WdrJmh-ZsRh7hbryVhg,631
|
175
180
|
aiagents4pharma/talk2scholars/configs/tools/question_and_answer/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
181
|
+
aiagents4pharma/talk2scholars/configs/tools/question_and_answer/default.yaml,sha256=lZ_DM0UIj8j2Xryt90YOEj4Bl9_FZ-Z4dhLxaAbgNFY,977
|
176
182
|
aiagents4pharma/talk2scholars/configs/tools/retrieve_semantic_scholar_paper_id/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
177
183
|
aiagents4pharma/talk2scholars/configs/tools/retrieve_semantic_scholar_paper_id/default.yaml,sha256=HG-N8yRjlX9zFwbIBvaDI9ndKjfL-gqPTCCPMLgdUpw,271
|
178
184
|
aiagents4pharma/talk2scholars/configs/tools/search/__init__.py,sha256=fqQQ-GlRcbzru2KmEk3oMma0R6_SzGM8dOXzYeU4oVA,46
|
@@ -245,8 +251,8 @@ aiagents4pharma/talk2scholars/tools/zotero/utils/review_helper.py,sha256=IPD1V9y
|
|
245
251
|
aiagents4pharma/talk2scholars/tools/zotero/utils/write_helper.py,sha256=ALwLecy1QVebbsmXJiDj1GhGmyhq2R2tZlAyEl1vfhw,7410
|
246
252
|
aiagents4pharma/talk2scholars/tools/zotero/utils/zotero_path.py,sha256=oIrfbOySgts50ksHKyjcWjRkPRIS88g3Lc0v9mBkU8w,6375
|
247
253
|
aiagents4pharma/talk2scholars/tools/zotero/utils/zotero_pdf_downloader.py,sha256=ERBha8afU6Q1EaRBe9qB8tchOzZ4_KfFgDW6EElOJoU,4816
|
248
|
-
aiagents4pharma-1.39.
|
249
|
-
aiagents4pharma-1.39.
|
250
|
-
aiagents4pharma-1.39.
|
251
|
-
aiagents4pharma-1.39.
|
252
|
-
aiagents4pharma-1.39.
|
254
|
+
aiagents4pharma-1.39.2.dist-info/licenses/LICENSE,sha256=IcIbyB1Hyk5ZDah03VNQvJkbNk2hkBCDqQ8qtnCvB4Q,1077
|
255
|
+
aiagents4pharma-1.39.2.dist-info/METADATA,sha256=Gc44kyTHU3VlsH8ZqKwPJvZId36XWFRHAlLTpLShCNg,14775
|
256
|
+
aiagents4pharma-1.39.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
257
|
+
aiagents4pharma-1.39.2.dist-info/top_level.txt,sha256=-AH8rMmrSnJtq7HaAObS78UU-cTCwvX660dSxeM7a0A,16
|
258
|
+
aiagents4pharma-1.39.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|