aiagents4pharma 1.40.1__tar.gz → 1.42.0__tar.gz
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-1.40.1 → aiagents4pharma-1.42.0}/PKG-INFO +52 -126
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/README.md +49 -124
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/app/frontend/default.yaml +1 -1
- aiagents4pharma-1.42.0/aiagents4pharma/talk2knowledgegraphs/configs/tools/multimodal_subgraph_extraction/default.yaml +37 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2knowledgegraphs/configs/utils/enrichments/ols_terms/default.yaml +3 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2knowledgegraphs/configs/utils/enrichments/reactome_pathways/default.yaml +3 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2knowledgegraphs/configs/utils/enrichments/uniprot_proteins/default.yaml +6 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2knowledgegraphs/configs/utils/pubchem_utils/default.yaml +5 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2knowledgegraphs/milvus_data_dump.py +911 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/s2_agent/default.yaml +9 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/configs/tools/question_and_answer/default.yaml +62 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_nvidia_nim_reranker.py +127 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_answer_formatter.py +66 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_batch_processor.py +101 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_collection_manager.py +150 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_document_processor.py +69 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_generate_answer.py +75 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_gpu_detection.py +140 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_paper_loader.py +116 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_rag_pipeline.py +98 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_retrieve_chunks.py +197 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_singleton_manager.py +156 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_vector_normalization.py +121 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_pdf_vector_store.py +434 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_question_and_answer_tool.py +109 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tests/test_tool_helper_utils.py +85 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/paper_download/download_biorxiv_input.py +8 -6
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/paper_download/download_medrxiv_input.py +6 -4
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/pdf/question_and_answer.py +74 -40
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/__init__.py +35 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/answer_formatter.py +62 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/batch_processor.py +200 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/collection_manager.py +172 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/document_processor.py +76 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/get_vectorstore.py +63 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/gpu_detection.py +154 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/nvidia_nim_reranker.py +97 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/paper_loader.py +123 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/rag_pipeline.py +122 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/retrieve_chunks.py +205 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/singleton_manager.py +140 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/tool_helper.py +87 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/vector_normalization.py +159 -0
- aiagents4pharma-1.42.0/aiagents4pharma/talk2scholars/tools/pdf/utils/vector_store.py +343 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/multi_paper_rec.py +12 -9
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/query_dataframe.py +0 -1
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/retrieve_semantic_scholar_paper_id.py +9 -8
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/single_paper_rec.py +5 -5
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma.egg-info/PKG-INFO +52 -126
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma.egg-info/SOURCES.txt +28 -1
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma.egg-info/requires.txt +2 -1
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/pyproject.toml +6 -33
- aiagents4pharma-1.42.0/release_version.txt +1 -0
- aiagents4pharma-1.40.1/aiagents4pharma/talk2knowledgegraphs/milvus_data_dump.py +0 -509
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/s2_agent/default.yaml +0 -5
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/configs/tools/question_and_answer/default.yaml +0 -22
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/tests/test_nvidia_nim_reranker_utils.py +0 -28
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/tests/test_question_and_answer_tool.py +0 -529
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/tests/test_tool_helper_utils.py +0 -140
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/tools/pdf/utils/__init__.py +0 -10
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/tools/pdf/utils/nvidia_nim_reranker.py +0 -77
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/tools/pdf/utils/retrieve_chunks.py +0 -83
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/tools/pdf/utils/tool_helper.py +0 -125
- aiagents4pharma-1.40.1/aiagents4pharma/talk2scholars/tools/pdf/utils/vector_store.py +0 -162
- aiagents4pharma-1.40.1/release_version.txt +0 -1
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/LICENSE +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/agents/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/agents/main_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/configs/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/configs/agents/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/configs/agents/main_agent/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/configs/config.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/states/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/states/state_talk2aiagents4pharma.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/tests/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2aiagents4pharma/tests/test_main_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/agents/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/agents/t2b_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/api/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/api/kegg.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/api/ols.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/api/uniprot.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/agents/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/agents/t2b_agent/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/agents/t2b_agent/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/config.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/tools/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/tools/ask_question/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/tools/ask_question/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/tools/custom_plotter/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/tools/custom_plotter/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/tools/get_annotation/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/configs/tools/get_annotation/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/models/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/models/basico_model.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/models/sys_bio_model.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/states/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/states/state_talk2biomodels.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_api.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_ask_question.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_basico_model.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_get_annotation.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_getmodelinfo.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_integration.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_load_biomodel.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_param_scan.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_query_article.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_search_models.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_simulate_model.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_steady_state.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tests/test_sys_bio_model.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/ask_question.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/custom_plotter.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/get_annotation.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/get_modelinfo.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/load_arguments.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/load_biomodel.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/parameter_scan.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/query_article.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/search_models.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/simulate_model.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/steady_state.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2biomodels/tools/utils.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/agents/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/agents/scp_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/states/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/states/state_talk2cells.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/tests/scp_agent/test_scp_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/tools/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/tools/scp_agent/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/tools/scp_agent/display_studies.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2cells/tools/scp_agent/search_studies.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/agents/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/agents/t2kg_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/agents/t2kg_agent/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/agents/t2kg_agent/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/app/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/app/frontend/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/config.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/tools/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/tools/graphrag_reasoning/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/tools/graphrag_reasoning/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/tools/multimodal_subgraph_extraction/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/tools/subgraph_extraction/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/tools/subgraph_extraction/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/tools/subgraph_summarization/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/configs/tools/subgraph_summarization/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/datasets/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/datasets/biobridge_primekg.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/datasets/dataset.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/datasets/primekg.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/datasets/starkqa_primekg.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/states/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/states/state_talk2knowledgegraphs.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_agents_t2kg_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_datasets_biobridge_primekg.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_datasets_dataset.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_datasets_primekg.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_datasets_starkqa_primekg.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_tools_graphrag_reasoning.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_tools_milvus_multimodal_subgraph_extraction.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_tools_multimodal_subgraph_extraction.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_tools_subgraph_extraction.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_tools_subgraph_summarization.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_embeddings_embeddings.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_embeddings_huggingface.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_embeddings_nim_molmim.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_embeddings_ollama.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_embeddings_sentencetransformer.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_enrichments_enrichments.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_enrichments_ollama.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_enrichments_ols.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_enrichments_pubchem.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_enrichments_reactome.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_enrichments_uniprot.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_extractions_milvus_multimodal_pcst.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_kg_utils.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_pubchem_utils.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tools/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tools/graphrag_reasoning.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tools/load_arguments.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tools/milvus_multimodal_subgraph_extraction.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tools/multimodal_subgraph_extraction.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tools/subgraph_extraction.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/tools/subgraph_summarization.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/embeddings.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/huggingface.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/nim_molmim.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/ollama.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/sentence_transformer.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/enrichments.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/ollama.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/ols_terms.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/pubchem_strings.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/reactome_pathways.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/uniprot_proteins.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/extractions/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/extractions/milvus_multimodal_pcst.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/extractions/multimodal_pcst.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/extractions/pcst.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/kg_utils.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2knowledgegraphs/utils/pubchem_utils.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/agents/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/agents/main_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/agents/paper_download_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/agents/pdf_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/agents/s2_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/agents/zotero_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/main_agent/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/main_agent/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/paper_download_agent/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/paper_download_agent/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/pdf_agent/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/pdf_agent/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/s2_agent/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/zotero_agent/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/zotero_agent/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/app/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/app/frontend/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/app/frontend/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/config.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/download_arxiv_paper/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/download_arxiv_paper/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/download_biorxiv_paper/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/download_biorxiv_paper/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/download_medrxiv_paper/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/download_medrxiv_paper/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/multi_paper_recommendation/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/multi_paper_recommendation/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/question_and_answer/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/retrieve_semantic_scholar_paper_id/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/retrieve_semantic_scholar_paper_id/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/search/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/search/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/single_paper_recommendation/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/single_paper_recommendation/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/zotero_read/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/zotero_read/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/zotero_write/__inti__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/configs/tools/zotero_write/default.yaml +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/state/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/state/state_talk2scholars.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_main_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_paper_download_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_paper_download_biorxiv.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_paper_download_medrxiv.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_paper_download_tools.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_pdf_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_read_helper_utils.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_s2_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_s2_display_dataframe.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_s2_multi.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_s2_query_dataframe.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_s2_retrieve.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_s2_search.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_s2_single.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_s2_utils_ext_ids.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_state.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_zotero_agent.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_zotero_human_in_the_loop.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_zotero_path.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_zotero_pdf_downloader_utils.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_zotero_read.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tests/test_zotero_write.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/paper_download/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/paper_download/download_arxiv_input.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/pdf/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/pdf/utils/generate_answer.py +14 -14
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/display_dataframe.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/search.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/utils/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/utils/multi_helper.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/utils/search_helper.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/s2/utils/single_helper.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/utils/__init__.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/utils/read_helper.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/utils/review_helper.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/utils/write_helper.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/utils/zotero_path.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/utils/zotero_pdf_downloader.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/zotero_read.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/zotero_review.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma/talk2scholars/tools/zotero/zotero_write.py +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma.egg-info/dependency_links.txt +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/aiagents4pharma.egg-info/top_level.txt +0 -0
- {aiagents4pharma-1.40.1 → aiagents4pharma-1.42.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: aiagents4pharma
|
3
|
-
Version: 1.
|
3
|
+
Version: 1.42.0
|
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
|
@@ -20,6 +20,7 @@ Requires-Dist: langchain==0.3.7
|
|
20
20
|
Requires-Dist: langchain-community==0.3.5
|
21
21
|
Requires-Dist: langchain-core==0.3.40
|
22
22
|
Requires-Dist: langchain-experimental==0.3.3
|
23
|
+
Requires-Dist: langchain-milvus==0.2.0
|
23
24
|
Requires-Dist: langchain-nvidia-ai-endpoints==0.3.9
|
24
25
|
Requires-Dist: langchain-openai==0.2.5
|
25
26
|
Requires-Dist: langchain_ollama==0.2.3
|
@@ -37,6 +38,7 @@ Requires-Dist: pypdf==5.2.0
|
|
37
38
|
Requires-Dist: pytest==8.3.3
|
38
39
|
Requires-Dist: pytest-asyncio==0.25.2
|
39
40
|
Requires-Dist: pyzotero==1.6.9
|
41
|
+
Requires-Dist: pymilvus==2.5.11
|
40
42
|
Requires-Dist: streamlit==1.39.0
|
41
43
|
Requires-Dist: sentence_transformers==3.3.1
|
42
44
|
Requires-Dist: tabulate==0.9.0
|
@@ -63,20 +65,35 @@ Requires-Dist: plotly-express==0.4.1
|
|
63
65
|
Requires-Dist: seaborn==0.13.2
|
64
66
|
Requires-Dist: scanpy==1.11.0
|
65
67
|
Requires-Dist: openpyxl==3.1.5
|
66
|
-
Requires-Dist: pymilvus==2.5.11
|
67
68
|
Dynamic: license-file
|
68
69
|
|
70
|
+
<img src="docs/assets/VPE.png" alt="Virtual Patient Engine Logo" width="150"/>
|
71
|
+
|
72
|
+
<!-- Project Info -->
|
73
|
+
|
74
|
+

|
75
|
+

|
76
|
+
|
77
|
+
<!-- Deployment Workflows -->
|
78
|
+
|
79
|
+
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/pages/pages-build-deployment)
|
80
|
+
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/mkdocs-deploy.yml)
|
81
|
+
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/docker_build.yml)
|
82
|
+
|
83
|
+
<!-- Tests -->
|
84
|
+
|
85
|
+
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2aiagents4pharma.yml)
|
69
86
|
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2biomodels.yml)
|
70
|
-
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2cells.yml)
|
71
87
|
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2knowledgegraphs.yml)
|
72
88
|
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2scholars.yml)
|
73
|
-
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2cells.yml)
|
90
|
+
|
91
|
+
<!-- Docker Pulls -->
|
92
|
+
|
93
|
+

|
94
|
+

|
95
|
+

|
96
|
+

|
80
97
|
|
81
98
|
## Introduction
|
82
99
|
|
@@ -111,103 +128,12 @@ Our toolkit currently consists of the following agents:
|
|
111
128
|
|
112
129
|
_We now have all the agents available on Docker Hub._
|
113
130
|
|
114
|
-
|
115
|
-
|
116
|
-
If your machine has NVIDIA GPU(s), please install the following this:
|
117
|
-
- [nvidia-cuda-toolkit](https://developer.nvidia.com/cuda-toolkit)
|
118
|
-
- [nvidia-container-toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/1.17.8/install-guide.html) (required for GPU support with Docker; enables containers to access NVIDIA GPUs for accelerated computing). After installing `nvidia-container-toolkit`, please restart Docker to ensure GPU support is enabled.
|
119
|
-
|
120
|
-
##### **1. Download docker-compose.yml, .env.example and startup.sh from GitHub**
|
121
|
-
|
122
|
-
###### Talk2Agents4Pharma
|
123
|
-
|
124
|
-
```sh
|
125
|
-
mkdir talk2aiagents4pharma && cd talk2aiagents4pharma && wget https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2aiagents4pharma/docker-compose.yml https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2aiagents4pharma/.env.example https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2aiagents4pharma/startup.sh
|
126
|
-
```
|
127
|
-
|
128
|
-
###### Talk2KnowledgeGraphs
|
129
|
-
|
130
|
-
```sh
|
131
|
-
mkdir talk2knowledgegraphs && cd talk2knowledgegraphs && wget https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2knowledgegraphs/docker-compose.yml https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2knowledgegraphs/.env.example https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2knowledgegraphs/startup.sh
|
132
|
-
```
|
133
|
-
|
134
|
-
##### **2. Setup environment variables**
|
135
|
-
|
136
|
-
Copy and configure your `.env` file:
|
137
|
-
|
138
|
-
```sh
|
139
|
-
cp .env.example .env
|
140
|
-
```
|
141
|
-
|
142
|
-
Then edit `.env` and add your API keys:
|
143
|
-
|
144
|
-
```env
|
145
|
-
OPENAI_API_KEY=... # Required for both agents
|
146
|
-
NVIDIA_API_KEY=... # Required for both agents
|
147
|
-
LANGCHAIN_TRACING_V2=true # Optional for both agents
|
148
|
-
LANGCHAIN_API_KEY=... # Optional for both agents
|
149
|
-
```
|
150
|
-
|
151
|
-
[Additional Notes for Windows Users](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#notes-for-windows-users)
|
152
|
-
|
153
|
-
##### **3. Start the application**
|
154
|
-
|
155
|
-
```sh
|
156
|
-
chmod +x startup.sh
|
157
|
-
./startup.sh # Add --cpu flag to force CPU mode if needed
|
158
|
-
```
|
159
|
-
|
160
|
-
[More about startup script](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#about-startupsh)
|
161
|
-
|
162
|
-
##### **To Run Talk2Biomodels / Talk2Scholars**
|
163
|
-
|
164
|
-
###### Talk2Biomodels
|
165
|
-
|
166
|
-
```docker
|
167
|
-
docker run -d \
|
168
|
-
--name talk2biomodels \
|
169
|
-
-e OPENAI_API_KEY=<your_openai_api_key> \
|
170
|
-
-e NVIDIA_API_KEY=<your_nvidia_api_key> \
|
171
|
-
-p 8501:8501 \
|
172
|
-
virtualpatientengine/talk2biomodels
|
173
|
-
```
|
174
|
-
|
175
|
-
###### Talk2Scholars
|
176
|
-
|
177
|
-
```docker
|
178
|
-
docker run -d \
|
179
|
-
--name talk2scholars \
|
180
|
-
-e OPENAI_API_KEY=<your_openai_api_key> \
|
181
|
-
-e ZOTERO_API_KEY=<your_zotero_api_key> \
|
182
|
-
-e ZOTERO_USER_ID=<your_zotero_user_id> \
|
183
|
-
-e NVIDIA_API_KEY=<your_nvidia_api_key> \
|
184
|
-
-p 8501:8501 \
|
185
|
-
virtualpatientengine/talk2scholars
|
186
|
-
```
|
187
|
-
|
188
|
-
##### **4. Access the Web UI**
|
189
|
-
|
190
|
-
Once started, the agent is available at:
|
191
|
-
|
192
|
-
```
|
193
|
-
http://localhost:8501
|
194
|
-
```
|
195
|
-
|
196
|
-
To use **Talk2AIAgents4Pharma** or **Talk2KnowledgeGraphs**, you need a free **NVIDIA API key**. Create an account and apply for free credits [here](https://build.nvidia.com/explore/discover).
|
197
|
-
|
198
|
-
To use **Talk2BioModels** or **Talk2Scholars**, you need a free **NVIDIA API key**. Create an account and apply for free credits [here](https://build.nvidia.com/explore/discover).
|
199
|
-
|
200
|
-
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.)_
|
201
|
-
|
202
|
-
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).
|
203
|
-
|
204
|
-
**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).
|
205
|
-
|
206
|
-
[More on running multiple agents simultaneously](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#to-run-multiple-agents-simultaneously)
|
207
|
-
|
208
|
-
📝 By default, `talk2knowledgegraphs` includes a small subset of the PrimeKG knowledge graph, allowing users to start interacting with it out of the box.
|
209
|
-
To switch to a different knowledge graph or use your own, refer to the [deployment guide](https://virtualpatientengine.github.io/AIAgents4Pharma/talk2knowledgegraphs/deployment/).
|
131
|
+
Choose your agent below for detailed Docker instructions:
|
210
132
|
|
133
|
+
- [Talk2AIAgents4Pharma](aiagents4pharma/talk2aiagents4pharma/install.md)
|
134
|
+
- [Talk2KnowledgeGraphs](aiagents4pharma/talk2knowledgegraphs/install.md)
|
135
|
+
- [Talk2BioModels](aiagents4pharma/talk2biomodels/install.md)
|
136
|
+
- [Talk2Scholars](aiagents4pharma/talk2scholars/install.md)
|
211
137
|
|
212
138
|
#### Option 2: git (for developers and contributors)
|
213
139
|
|
@@ -238,23 +164,6 @@ export LANGCHAIN_TRACING_V2=true # Optional for all agents
|
|
238
164
|
export LANGCHAIN_API_KEY=... # Optional for all agents
|
239
165
|
```
|
240
166
|
|
241
|
-
To use **Talk2AIAgents4Pharma**, **Talk2BioModels**, **Talk2KnowledgeGraphs**, or **Talk2Scholars**, you need a free **NVIDIA API key**. Create an account and apply for free credits [here](https://build.nvidia.com/explore/discover).
|
242
|
-
|
243
|
-
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.)_
|
244
|
-
|
245
|
-
To use **Talk2Scholars**, you must have **FAISS** installed through **Conda**. Follow installation instructions for your OS [here](https://github.com/VirtualPatientEngine/AIAgents4Pharma/tree/main/aiagents4pharma/talk2scholars/install.md).
|
246
|
-
|
247
|
-
Additionally on **Windows**, the `pcst_fast 1.0.10` library requires **Microsoft Visual C++ 14.0 or greater**.
|
248
|
-
You can download the **Microsoft C++ Build Tools** [here](https://visualstudio.microsoft.com/visual-cpp-build-tools/).
|
249
|
-
|
250
|
-
**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).
|
251
|
-
|
252
|
-
_Please note that this will create a new tracing project in your Langsmith
|
253
|
-
account with the name `T2X-xxxx`, where `X` can be `AA4P` (Main Agent),
|
254
|
-
`B` (Biomodels), `S` (Scholars), `KG` (KnowledgeGraphs), or `C` (Cells).
|
255
|
-
If you skip the previous step, it will default to the name `default`.
|
256
|
-
`xxxx` will be the 4-digit ID created for the session._
|
257
|
-
|
258
167
|
4. **Launch the app:**
|
259
168
|
|
260
169
|
```sh
|
@@ -269,10 +178,27 @@ _Replace `<agent>` with the agent name you are interested to launch:_
|
|
269
178
|
- `talk2scholars`
|
270
179
|
- `talk2cells`
|
271
180
|
|
272
|
-
|
273
|
-
|
181
|
+
If your machine has NVIDIA GPU(s), please install the following this:
|
182
|
+
|
183
|
+
- [nvidia-cuda-toolkit](https://developer.nvidia.com/cuda-toolkit)
|
184
|
+
- [nvidia-container-toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/1.17.8/install-guide.html) (required for GPU support with Docker; enables containers to access NVIDIA GPUs for accelerated computing). After installing `nvidia-container-toolkit`, please restart Docker to ensure GPU support is enabled.
|
185
|
+
|
186
|
+
To use the **Agents**, you need a free **NVIDIA API key**. Create an account and apply for free credits [here](https://build.nvidia.com/explore/discover).
|
187
|
+
|
188
|
+
**Talk2Scholars** and **Talk2KnowledgeGraphs** requires Milvus to be set up as the vector database — install Milvus depending on your setup by following the official instructions for [CPU](https://milvus.io/docs/install_standalone-docker-compose.md) or [GPU](https://milvus.io/docs/install_standalone-docker-compose-gpu.md). You will also need a **Zotero API key**, which you can generate [here](https://www.zotero.org/user/login#applications). _(The Zotero key is only required for Talk2Scholars; all other agents do not need it.)_
|
189
|
+
|
190
|
+
> By default, `talk2knowledgegraphs` includes a small subset of the PrimeKG knowledge graph, allowing users to start interacting with it out of the box.
|
191
|
+
> To switch to a different knowledge graph or use your own, refer to the [deployment guide](https://virtualpatientengine.github.io/AIAgents4Pharma/talk2knowledgegraphs/deployment/).
|
192
|
+
> Additionally on **Windows**, the `pcst_fast 1.0.10` library requires **Microsoft Visual C++ 14.0 or greater**.
|
193
|
+
> You can download the **Microsoft C++ Build Tools** [here](https://visualstudio.microsoft.com/visual-cpp-build-tools/).
|
194
|
+
|
195
|
+
**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).
|
274
196
|
|
275
|
-
|
197
|
+
_Please note that this will create a new tracing project in your Langsmith
|
198
|
+
account with the name `T2X-xxxx`, where `X` can be `AA4P` (Main Agent),
|
199
|
+
`B` (Biomodels), `S` (Scholars), `KG` (KnowledgeGraphs), or `C` (Cells).
|
200
|
+
If you skip the previous step, it will default to the name `default`.
|
201
|
+
`xxxx` will be the 4-digit ID created for the session._
|
276
202
|
|
277
203
|
#### Option 3: pip (beta-release)
|
278
204
|
|
@@ -1,14 +1,30 @@
|
|
1
|
+
<img src="docs/assets/VPE.png" alt="Virtual Patient Engine Logo" width="150"/>
|
2
|
+
|
3
|
+
<!-- Project Info -->
|
4
|
+
|
5
|
+

|
6
|
+

|
7
|
+
|
8
|
+
<!-- Deployment Workflows -->
|
9
|
+
|
10
|
+
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/pages/pages-build-deployment)
|
11
|
+
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/mkdocs-deploy.yml)
|
12
|
+
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/docker_build.yml)
|
13
|
+
|
14
|
+
<!-- Tests -->
|
15
|
+
|
16
|
+
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2aiagents4pharma.yml)
|
1
17
|
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2biomodels.yml)
|
2
|
-
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2cells.yml)
|
3
18
|
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2knowledgegraphs.yml)
|
4
19
|
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2scholars.yml)
|
5
|
-
[](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2cells.yml)
|
21
|
+
|
22
|
+
<!-- Docker Pulls -->
|
23
|
+
|
24
|
+

|
25
|
+

|
26
|
+

|
27
|
+

|
12
28
|
|
13
29
|
## Introduction
|
14
30
|
|
@@ -43,103 +59,12 @@ Our toolkit currently consists of the following agents:
|
|
43
59
|
|
44
60
|
_We now have all the agents available on Docker Hub._
|
45
61
|
|
46
|
-
|
47
|
-
|
48
|
-
If your machine has NVIDIA GPU(s), please install the following this:
|
49
|
-
- [nvidia-cuda-toolkit](https://developer.nvidia.com/cuda-toolkit)
|
50
|
-
- [nvidia-container-toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/1.17.8/install-guide.html) (required for GPU support with Docker; enables containers to access NVIDIA GPUs for accelerated computing). After installing `nvidia-container-toolkit`, please restart Docker to ensure GPU support is enabled.
|
51
|
-
|
52
|
-
##### **1. Download docker-compose.yml, .env.example and startup.sh from GitHub**
|
53
|
-
|
54
|
-
###### Talk2Agents4Pharma
|
55
|
-
|
56
|
-
```sh
|
57
|
-
mkdir talk2aiagents4pharma && cd talk2aiagents4pharma && wget https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2aiagents4pharma/docker-compose.yml https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2aiagents4pharma/.env.example https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2aiagents4pharma/startup.sh
|
58
|
-
```
|
59
|
-
|
60
|
-
###### Talk2KnowledgeGraphs
|
61
|
-
|
62
|
-
```sh
|
63
|
-
mkdir talk2knowledgegraphs && cd talk2knowledgegraphs && wget https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2knowledgegraphs/docker-compose.yml https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2knowledgegraphs/.env.example https://raw.githubusercontent.com/VirtualPatientEngine/AIAgents4Pharma/main/aiagents4pharma/talk2knowledgegraphs/startup.sh
|
64
|
-
```
|
65
|
-
|
66
|
-
##### **2. Setup environment variables**
|
67
|
-
|
68
|
-
Copy and configure your `.env` file:
|
69
|
-
|
70
|
-
```sh
|
71
|
-
cp .env.example .env
|
72
|
-
```
|
73
|
-
|
74
|
-
Then edit `.env` and add your API keys:
|
75
|
-
|
76
|
-
```env
|
77
|
-
OPENAI_API_KEY=... # Required for both agents
|
78
|
-
NVIDIA_API_KEY=... # Required for both agents
|
79
|
-
LANGCHAIN_TRACING_V2=true # Optional for both agents
|
80
|
-
LANGCHAIN_API_KEY=... # Optional for both agents
|
81
|
-
```
|
82
|
-
|
83
|
-
[Additional Notes for Windows Users](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#notes-for-windows-users)
|
84
|
-
|
85
|
-
##### **3. Start the application**
|
86
|
-
|
87
|
-
```sh
|
88
|
-
chmod +x startup.sh
|
89
|
-
./startup.sh # Add --cpu flag to force CPU mode if needed
|
90
|
-
```
|
91
|
-
|
92
|
-
[More about startup script](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#about-startupsh)
|
93
|
-
|
94
|
-
##### **To Run Talk2Biomodels / Talk2Scholars**
|
95
|
-
|
96
|
-
###### Talk2Biomodels
|
97
|
-
|
98
|
-
```docker
|
99
|
-
docker run -d \
|
100
|
-
--name talk2biomodels \
|
101
|
-
-e OPENAI_API_KEY=<your_openai_api_key> \
|
102
|
-
-e NVIDIA_API_KEY=<your_nvidia_api_key> \
|
103
|
-
-p 8501:8501 \
|
104
|
-
virtualpatientengine/talk2biomodels
|
105
|
-
```
|
106
|
-
|
107
|
-
###### Talk2Scholars
|
108
|
-
|
109
|
-
```docker
|
110
|
-
docker run -d \
|
111
|
-
--name talk2scholars \
|
112
|
-
-e OPENAI_API_KEY=<your_openai_api_key> \
|
113
|
-
-e ZOTERO_API_KEY=<your_zotero_api_key> \
|
114
|
-
-e ZOTERO_USER_ID=<your_zotero_user_id> \
|
115
|
-
-e NVIDIA_API_KEY=<your_nvidia_api_key> \
|
116
|
-
-p 8501:8501 \
|
117
|
-
virtualpatientengine/talk2scholars
|
118
|
-
```
|
119
|
-
|
120
|
-
##### **4. Access the Web UI**
|
121
|
-
|
122
|
-
Once started, the agent is available at:
|
123
|
-
|
124
|
-
```
|
125
|
-
http://localhost:8501
|
126
|
-
```
|
127
|
-
|
128
|
-
To use **Talk2AIAgents4Pharma** or **Talk2KnowledgeGraphs**, you need a free **NVIDIA API key**. Create an account and apply for free credits [here](https://build.nvidia.com/explore/discover).
|
129
|
-
|
130
|
-
To use **Talk2BioModels** or **Talk2Scholars**, you need a free **NVIDIA API key**. Create an account and apply for free credits [here](https://build.nvidia.com/explore/discover).
|
131
|
-
|
132
|
-
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.)_
|
133
|
-
|
134
|
-
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).
|
135
|
-
|
136
|
-
**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).
|
137
|
-
|
138
|
-
[More on running multiple agents simultaneously](https://github.com/VirtualPatientEngine/AIAgents4Pharma/blob/main/aiagents4pharma/talk2aiagents4pharma/install.md#to-run-multiple-agents-simultaneously)
|
139
|
-
|
140
|
-
📝 By default, `talk2knowledgegraphs` includes a small subset of the PrimeKG knowledge graph, allowing users to start interacting with it out of the box.
|
141
|
-
To switch to a different knowledge graph or use your own, refer to the [deployment guide](https://virtualpatientengine.github.io/AIAgents4Pharma/talk2knowledgegraphs/deployment/).
|
62
|
+
Choose your agent below for detailed Docker instructions:
|
142
63
|
|
64
|
+
- [Talk2AIAgents4Pharma](aiagents4pharma/talk2aiagents4pharma/install.md)
|
65
|
+
- [Talk2KnowledgeGraphs](aiagents4pharma/talk2knowledgegraphs/install.md)
|
66
|
+
- [Talk2BioModels](aiagents4pharma/talk2biomodels/install.md)
|
67
|
+
- [Talk2Scholars](aiagents4pharma/talk2scholars/install.md)
|
143
68
|
|
144
69
|
#### Option 2: git (for developers and contributors)
|
145
70
|
|
@@ -170,23 +95,6 @@ export LANGCHAIN_TRACING_V2=true # Optional for all agents
|
|
170
95
|
export LANGCHAIN_API_KEY=... # Optional for all agents
|
171
96
|
```
|
172
97
|
|
173
|
-
To use **Talk2AIAgents4Pharma**, **Talk2BioModels**, **Talk2KnowledgeGraphs**, or **Talk2Scholars**, you need a free **NVIDIA API key**. Create an account and apply for free credits [here](https://build.nvidia.com/explore/discover).
|
174
|
-
|
175
|
-
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.)_
|
176
|
-
|
177
|
-
To use **Talk2Scholars**, you must have **FAISS** installed through **Conda**. Follow installation instructions for your OS [here](https://github.com/VirtualPatientEngine/AIAgents4Pharma/tree/main/aiagents4pharma/talk2scholars/install.md).
|
178
|
-
|
179
|
-
Additionally on **Windows**, the `pcst_fast 1.0.10` library requires **Microsoft Visual C++ 14.0 or greater**.
|
180
|
-
You can download the **Microsoft C++ Build Tools** [here](https://visualstudio.microsoft.com/visual-cpp-build-tools/).
|
181
|
-
|
182
|
-
**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).
|
183
|
-
|
184
|
-
_Please note that this will create a new tracing project in your Langsmith
|
185
|
-
account with the name `T2X-xxxx`, where `X` can be `AA4P` (Main Agent),
|
186
|
-
`B` (Biomodels), `S` (Scholars), `KG` (KnowledgeGraphs), or `C` (Cells).
|
187
|
-
If you skip the previous step, it will default to the name `default`.
|
188
|
-
`xxxx` will be the 4-digit ID created for the session._
|
189
|
-
|
190
98
|
4. **Launch the app:**
|
191
99
|
|
192
100
|
```sh
|
@@ -201,10 +109,27 @@ _Replace `<agent>` with the agent name you are interested to launch:_
|
|
201
109
|
- `talk2scholars`
|
202
110
|
- `talk2cells`
|
203
111
|
|
204
|
-
|
205
|
-
|
112
|
+
If your machine has NVIDIA GPU(s), please install the following this:
|
113
|
+
|
114
|
+
- [nvidia-cuda-toolkit](https://developer.nvidia.com/cuda-toolkit)
|
115
|
+
- [nvidia-container-toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/1.17.8/install-guide.html) (required for GPU support with Docker; enables containers to access NVIDIA GPUs for accelerated computing). After installing `nvidia-container-toolkit`, please restart Docker to ensure GPU support is enabled.
|
206
116
|
|
207
|
-
|
117
|
+
To use the **Agents**, you need a free **NVIDIA API key**. Create an account and apply for free credits [here](https://build.nvidia.com/explore/discover).
|
118
|
+
|
119
|
+
**Talk2Scholars** and **Talk2KnowledgeGraphs** requires Milvus to be set up as the vector database — install Milvus depending on your setup by following the official instructions for [CPU](https://milvus.io/docs/install_standalone-docker-compose.md) or [GPU](https://milvus.io/docs/install_standalone-docker-compose-gpu.md). You will also need a **Zotero API key**, which you can generate [here](https://www.zotero.org/user/login#applications). _(The Zotero key is only required for Talk2Scholars; all other agents do not need it.)_
|
120
|
+
|
121
|
+
> By default, `talk2knowledgegraphs` includes a small subset of the PrimeKG knowledge graph, allowing users to start interacting with it out of the box.
|
122
|
+
> To switch to a different knowledge graph or use your own, refer to the [deployment guide](https://virtualpatientengine.github.io/AIAgents4Pharma/talk2knowledgegraphs/deployment/).
|
123
|
+
> Additionally on **Windows**, the `pcst_fast 1.0.10` library requires **Microsoft Visual C++ 14.0 or greater**.
|
124
|
+
> You can download the **Microsoft C++ Build Tools** [here](https://visualstudio.microsoft.com/visual-cpp-build-tools/).
|
125
|
+
|
126
|
+
**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).
|
127
|
+
|
128
|
+
_Please note that this will create a new tracing project in your Langsmith
|
129
|
+
account with the name `T2X-xxxx`, where `X` can be `AA4P` (Main Agent),
|
130
|
+
`B` (Biomodels), `S` (Scholars), `KG` (KnowledgeGraphs), or `C` (Cells).
|
131
|
+
If you skip the previous step, it will default to the name `default`.
|
132
|
+
`xxxx` will be the 4-digit ID created for the session._
|
208
133
|
|
209
134
|
#### Option 3: pip (beta-release)
|
210
135
|
|
@@ -60,4 +60,4 @@ milvus_db:
|
|
60
60
|
collection_nodes_drug: "t2kg_primekg_nodes_drug"
|
61
61
|
collection_nodes_disease: "t2kg_primekg_nodes_disease"
|
62
62
|
query_batch_size: 1000000
|
63
|
-
cache_edge_index_path: "aiagents4pharma/talk2knowledgegraphs/tests/files/t2kg_primekg_edge_index.pkl"
|
63
|
+
cache_edge_index_path: "${oc.env:CACHE_EDGE_INDEX_PATH,aiagents4pharma/talk2knowledgegraphs/tests/files/t2kg_primekg_edge_index.pkl}"
|
@@ -0,0 +1,37 @@
|
|
1
|
+
_target_: talk2knowledgegraphs.tools.multimodal_subgraph_extraction
|
2
|
+
ollama_embeddings:
|
3
|
+
- "nomic-embed-text"
|
4
|
+
temperature: 0.1
|
5
|
+
streaming: False
|
6
|
+
topk: 15
|
7
|
+
topk_e: 15
|
8
|
+
cost_e: 0.5
|
9
|
+
c_const: 0.01
|
10
|
+
root: -1
|
11
|
+
num_clusters: 1
|
12
|
+
pruning: "gw"
|
13
|
+
verbosity_level: 0
|
14
|
+
search_metric_type: "IP" # Inner Product
|
15
|
+
node_id_column: "node_id"
|
16
|
+
node_attr_column: "node_attr"
|
17
|
+
edge_src_column: "edge_src"
|
18
|
+
edge_attr_column: "edge_attr"
|
19
|
+
edge_dst_column: "edge_dst"
|
20
|
+
node_colors_dict:
|
21
|
+
"gene/protein": "#6a79f7"
|
22
|
+
"molecular_function": "#82cafc"
|
23
|
+
"cellular_component": "#3f9b0b"
|
24
|
+
"biological_process": "#c5c9c7"
|
25
|
+
"drug": "#c4a661"
|
26
|
+
"disease": "#80013f"
|
27
|
+
|
28
|
+
biobridge:
|
29
|
+
# source: "aiagents4pharma/talk2knowledgegraphs/tests/files/ibd_biobridge_multimodal/"
|
30
|
+
source: "/mnt/blockstorage/biobridge_multimodal/"
|
31
|
+
node_type:
|
32
|
+
- "gene/protein"
|
33
|
+
- "molecular_function"
|
34
|
+
- "cellular_component"
|
35
|
+
- "biological_process"
|
36
|
+
- "drug"
|
37
|
+
- "disease"
|
aiagents4pharma-1.42.0/aiagents4pharma/talk2knowledgegraphs/configs/utils/pubchem_utils/default.yaml
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
_target_: talk2knowledgegraphs.utils.pubchem_utils
|
2
|
+
pubchem_cid_base_url: https://pubchem.ncbi.nlm.nih.gov/rest/pug/substance/sourceid/
|
3
|
+
pubchem_cid_description_url: https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/
|
4
|
+
pubchem_casrn2cid_url: https://pubchem.ncbi.nlm.nih.gov/rest/pug/substance/xref/RN/
|
5
|
+
pubchem_cid2smiles_url: https://pubchem.ncbi.nlm.nih.gov/rest/pug/compound/cid/
|