aiagents4pharma 1.15.2__tar.gz → 1.17.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.
Files changed (130) hide show
  1. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/PKG-INFO +7 -6
  2. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/README.md +6 -5
  3. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/__init__.py +1 -1
  4. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/__init__.py +1 -1
  5. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/agents/main_agent.py +42 -21
  6. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/agents/s2_agent.py +41 -32
  7. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors/config → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs}/__init__.py +3 -1
  8. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/agents/__init__.py +5 -0
  9. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/__init__.py +6 -0
  10. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/main_agent/__init__.py +3 -0
  11. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/main_agent/default.yaml +39 -0
  12. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/s2_agent/__init__.py +3 -0
  13. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/agents/talk2scholars/s2_agent/default.yaml +68 -0
  14. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/app/__init__.py +5 -0
  15. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/app/frontend/__init__.py +3 -0
  16. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/app/frontend/default.yaml +33 -0
  17. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/config.yaml +8 -0
  18. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/tools/__init__.py +7 -0
  19. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/tools/multi_paper_recommendation/__init__.py +3 -0
  20. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/tools/multi_paper_recommendation/default.yaml +19 -0
  21. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/tools/search/__init__.py +3 -0
  22. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/tools/search/default.yaml +19 -0
  23. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/tools/single_paper_recommendation/__init__.py +3 -0
  24. aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/configs/tools/single_paper_recommendation/default.yaml +20 -0
  25. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/state/__init__.py +1 -1
  26. aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors/state/state_talk2competitors.py → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars/state/state_talk2scholars.py +3 -3
  27. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/tests/test_langgraph.py +72 -55
  28. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/tools/s2/multi_paper_rec.py +13 -5
  29. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/tools/s2/search.py +9 -3
  30. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/tools/s2/single_paper_rec.py +13 -7
  31. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma.egg-info/PKG-INFO +7 -6
  32. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma.egg-info/SOURCES.txt +33 -17
  33. aiagents4pharma-1.17.0/pyproject.toml +86 -0
  34. aiagents4pharma-1.17.0/release_version.txt +1 -0
  35. aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors/config/config.py +0 -110
  36. aiagents4pharma-1.15.2/pyproject.toml +0 -76
  37. aiagents4pharma-1.15.2/release_version.txt +0 -1
  38. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/LICENSE +0 -0
  39. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/__init__.py +0 -0
  40. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/config.yaml +0 -0
  41. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/talk2biomodels/__init__.py +0 -0
  42. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/talk2biomodels/agents/__init__.py +0 -0
  43. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/talk2biomodels/agents/t2b_agent/__init__.py +0 -0
  44. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/talk2biomodels/agents/t2b_agent/default.yaml +0 -0
  45. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/talk2biomodels/tools/__init__.py +0 -0
  46. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/talk2biomodels/tools/ask_question/__init__.py +0 -0
  47. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/talk2biomodels/tools/ask_question/default.yaml +0 -0
  48. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/talk2biomodels/tools/get_annotation/__init__.py +0 -0
  49. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/configs/talk2biomodels/tools/get_annotation/default.yaml +0 -0
  50. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/__init__.py +0 -0
  51. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/agents/__init__.py +0 -0
  52. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/agents/t2b_agent.py +0 -0
  53. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/api/__init__.py +0 -0
  54. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/api/kegg.py +0 -0
  55. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/api/ols.py +0 -0
  56. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/api/uniprot.py +0 -0
  57. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/models/__init__.py +0 -0
  58. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/models/basico_model.py +0 -0
  59. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/models/sys_bio_model.py +0 -0
  60. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/states/__init__.py +0 -0
  61. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/states/state_talk2biomodels.py +0 -0
  62. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/__init__.py +0 -0
  63. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_api.py +0 -0
  64. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_ask_question.py +0 -0
  65. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_basico_model.py +0 -0
  66. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_get_annotation.py +0 -0
  67. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_getmodelinfo.py +0 -0
  68. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_integration.py +0 -0
  69. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_param_scan.py +0 -0
  70. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_query_article.py +0 -0
  71. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_search_models.py +0 -0
  72. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_simulate_model.py +0 -0
  73. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_steady_state.py +0 -0
  74. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tests/test_sys_bio_model.py +0 -0
  75. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/__init__.py +0 -0
  76. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/ask_question.py +0 -0
  77. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/custom_plotter.py +0 -0
  78. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/get_annotation.py +0 -0
  79. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/get_modelinfo.py +0 -0
  80. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/load_arguments.py +0 -0
  81. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/load_biomodel.py +0 -0
  82. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/parameter_scan.py +0 -0
  83. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/query_article.py +0 -0
  84. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/search_models.py +0 -0
  85. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/simulate_model.py +0 -0
  86. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2biomodels/tools/steady_state.py +0 -0
  87. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/__init__.py +0 -0
  88. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/agents/__init__.py +0 -0
  89. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/agents/scp_agent.py +0 -0
  90. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/states/__init__.py +0 -0
  91. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/states/state_talk2cells.py +0 -0
  92. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/tests/scp_agent/test_scp_agent.py +0 -0
  93. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/tools/__init__.py +0 -0
  94. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/tools/scp_agent/__init__.py +0 -0
  95. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/tools/scp_agent/display_studies.py +0 -0
  96. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2cells/tools/scp_agent/search_studies.py +0 -0
  97. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/__init__.py +0 -0
  98. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/datasets/__init__.py +0 -0
  99. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/datasets/biobridge_primekg.py +0 -0
  100. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/datasets/dataset.py +0 -0
  101. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/datasets/primekg.py +0 -0
  102. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/datasets/starkqa_primekg.py +0 -0
  103. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/__init__.py +0 -0
  104. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_datasets_biobridge_primekg.py +0 -0
  105. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_datasets_dataset.py +0 -0
  106. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_datasets_primekg.py +0 -0
  107. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_datasets_starkqa_primekg.py +0 -0
  108. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_embeddings_embeddings.py +0 -0
  109. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_embeddings_huggingface.py +0 -0
  110. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_embeddings_sentencetransformer.py +0 -0
  111. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_enrichments_enrichments.py +0 -0
  112. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/tests/test_utils_enrichments_ollama.py +0 -0
  113. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/utils/__init__.py +0 -0
  114. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/__init__.py +0 -0
  115. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/embeddings.py +0 -0
  116. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/huggingface.py +0 -0
  117. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/utils/embeddings/sentence_transformer.py +0 -0
  118. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/__init__.py +0 -0
  119. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/enrichments.py +0 -0
  120. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/utils/enrichments/ollama.py +0 -0
  121. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma/talk2knowledgegraphs/utils/kg_utils.py +0 -0
  122. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/agents/__init__.py +0 -0
  123. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/tests/__init__.py +0 -0
  124. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/tools/__init__.py +0 -0
  125. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/tools/s2/__init__.py +0 -0
  126. {aiagents4pharma-1.15.2/aiagents4pharma/talk2competitors → aiagents4pharma-1.17.0/aiagents4pharma/talk2scholars}/tools/s2/display_results.py +0 -0
  127. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma.egg-info/dependency_links.txt +0 -0
  128. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma.egg-info/requires.txt +0 -0
  129. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/aiagents4pharma.egg-info/top_level.txt +0 -0
  130. {aiagents4pharma-1.15.2 → aiagents4pharma-1.17.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aiagents4pharma
3
- Version: 1.15.2
3
+ Version: 1.17.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
@@ -50,11 +50,10 @@ Requires-Dist: streamlit-feedback
50
50
  [![Talk2BioModels](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2biomodels.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2biomodels.yml)
51
51
  [![Talk2Cells](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2cells.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2cells.yml)
52
52
  [![Talk2KnowledgeGraphs](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2knowledgegraphs.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2knowledgegraphs.yml)
53
- [![Talk2Competitors](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2competitors.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2competitors.yml)
53
+ [![Talk2Scholars](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2scholars.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2scholars.yml)
54
54
  ![GitHub Release](https://img.shields.io/github/v/release/VirtualPatientEngine/AIAgents4Pharma)
55
55
  ![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2FVirtualPatientEngine%2FAIAgents4Pharma%2Frefs%2Fheads%2Fmain%2Fpyproject.toml)
56
56
 
57
-
58
57
  <h1 align="center" style="border-bottom: none;">🤖 AIAgents4Pharma</h1>
59
58
 
60
59
  Welcome to **AIAgents4Pharma** – an open-source project by [Team VPE](https://github.com/VirtualPatientEngine) that brings together AI-driven tools to help researchers and pharma interact seamlessly with complex biological data.
@@ -64,7 +63,7 @@ Our toolkit currently consists of three intelligent agents, each designed to sim
64
63
  - **Talk2BioModels**: Engage directly with mathematical models in systems biology.
65
64
  - **Talk2Cells** _(Work in progress)_: Query and analyze sequencing data with ease.
66
65
  - **Talk2KnowledgeGraphs** _(Work in progress)_: Access and explore complex biological knowledge graphs for insightful data connections.
67
- - **Talk2Competitors** _(Coming soon)_: Get recommendations for articles related to your choice. Download, query, and write/retrieve them to your reference manager (currently supporting Zotero).
66
+ - **Talk2Scholars** _(Coming soon)_: Get recommendations for articles related to your choice. Download, query, and write/retrieve them to your reference manager (currently supporting Zotero).
68
67
 
69
68
  ---
70
69
 
@@ -87,7 +86,9 @@ Our toolkit currently consists of three intelligent agents, each designed to sim
87
86
 
88
87
  **Talk2KnowledgeGraphs** is an agent designed to enable interaction with biological knowledge graphs (KGs). KGs integrate vast amounts of structured biological data into a format that highlights relationships between entities, such as proteins, genes, and diseases.
89
88
 
90
- ### 4. Talk2Competitors _(Coming soon)_
89
+ ### 4. Talk2Scholars _(Work in Progress)_
90
+
91
+ Talk2Scholars is an AI-powered hierarchical agent system designed to revolutionize academic paper search and analysis. Through intelligent conversation, users can discover, analyze, and receive recommendations for academic papers using state-of-the-art natural language processing.
91
92
 
92
93
  ## Getting Started
93
94
 
@@ -198,7 +199,7 @@ Check out our [CONTRIBUTING.md](CONTRIBUTING.md) for more information.
198
199
  - **User Interface**: Interactive web UI for all agents.
199
200
  - **Talk2Cells**: Integration of sequencing data analysis tools.
200
201
  - **Talk2KnowledgeGraphs**: Interface for biological knowledge graph interaction.
201
- - **Talk2Competitors**: Interface for exploring articles
202
+ - **Talk2Scholars**: Interface for exploring articles
202
203
 
203
204
  We’re excited to bring AIAgents4Pharma to the bioinformatics and pharmaceutical research community. Together, let’s make data-driven biological research more accessible and insightful.
204
205
 
@@ -1,11 +1,10 @@
1
1
  [![Talk2BioModels](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2biomodels.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2biomodels.yml)
2
2
  [![Talk2Cells](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2cells.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2cells.yml)
3
3
  [![Talk2KnowledgeGraphs](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2knowledgegraphs.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2knowledgegraphs.yml)
4
- [![Talk2Competitors](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2competitors.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2competitors.yml)
4
+ [![Talk2Scholars](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2scholars.yml/badge.svg)](https://github.com/VirtualPatientEngine/AIAgents4Pharma/actions/workflows/tests_talk2scholars.yml)
5
5
  ![GitHub Release](https://img.shields.io/github/v/release/VirtualPatientEngine/AIAgents4Pharma)
6
6
  ![Python Version from PEP 621 TOML](https://img.shields.io/python/required-version-toml?tomlFilePath=https%3A%2F%2Fraw.githubusercontent.com%2FVirtualPatientEngine%2FAIAgents4Pharma%2Frefs%2Fheads%2Fmain%2Fpyproject.toml)
7
7
 
8
-
9
8
  <h1 align="center" style="border-bottom: none;">🤖 AIAgents4Pharma</h1>
10
9
 
11
10
  Welcome to **AIAgents4Pharma** – an open-source project by [Team VPE](https://github.com/VirtualPatientEngine) that brings together AI-driven tools to help researchers and pharma interact seamlessly with complex biological data.
@@ -15,7 +14,7 @@ Our toolkit currently consists of three intelligent agents, each designed to sim
15
14
  - **Talk2BioModels**: Engage directly with mathematical models in systems biology.
16
15
  - **Talk2Cells** _(Work in progress)_: Query and analyze sequencing data with ease.
17
16
  - **Talk2KnowledgeGraphs** _(Work in progress)_: Access and explore complex biological knowledge graphs for insightful data connections.
18
- - **Talk2Competitors** _(Coming soon)_: Get recommendations for articles related to your choice. Download, query, and write/retrieve them to your reference manager (currently supporting Zotero).
17
+ - **Talk2Scholars** _(Coming soon)_: Get recommendations for articles related to your choice. Download, query, and write/retrieve them to your reference manager (currently supporting Zotero).
19
18
 
20
19
  ---
21
20
 
@@ -38,7 +37,9 @@ Our toolkit currently consists of three intelligent agents, each designed to sim
38
37
 
39
38
  **Talk2KnowledgeGraphs** is an agent designed to enable interaction with biological knowledge graphs (KGs). KGs integrate vast amounts of structured biological data into a format that highlights relationships between entities, such as proteins, genes, and diseases.
40
39
 
41
- ### 4. Talk2Competitors _(Coming soon)_
40
+ ### 4. Talk2Scholars _(Work in Progress)_
41
+
42
+ Talk2Scholars is an AI-powered hierarchical agent system designed to revolutionize academic paper search and analysis. Through intelligent conversation, users can discover, analyze, and receive recommendations for academic papers using state-of-the-art natural language processing.
42
43
 
43
44
  ## Getting Started
44
45
 
@@ -149,7 +150,7 @@ Check out our [CONTRIBUTING.md](CONTRIBUTING.md) for more information.
149
150
  - **User Interface**: Interactive web UI for all agents.
150
151
  - **Talk2Cells**: Integration of sequencing data analysis tools.
151
152
  - **Talk2KnowledgeGraphs**: Interface for biological knowledge graph interaction.
152
- - **Talk2Competitors**: Interface for exploring articles
153
+ - **Talk2Scholars**: Interface for exploring articles
153
154
 
154
155
  We’re excited to bring AIAgents4Pharma to the bioinformatics and pharmaceutical research community. Together, let’s make data-driven biological research more accessible and insightful.
155
156
 
@@ -6,6 +6,6 @@ from . import (
6
6
  configs,
7
7
  talk2biomodels,
8
8
  talk2cells,
9
- talk2competitors,
9
+ talk2scholars,
10
10
  talk2knowledgegraphs,
11
11
  )
@@ -2,4 +2,4 @@
2
2
  This file is used to import all the modules in the package.
3
3
  """
4
4
 
5
- from . import agents, config, state, tests, tools
5
+ from . import agents, configs, state, tests, tools
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env python3
2
2
 
3
3
  """
4
- Main agent for the talk2competitors app.
4
+ Main agent for the talk2scholars app.
5
5
  """
6
6
 
7
7
  import logging
8
- from typing import Literal
9
- from dotenv import load_dotenv
8
+ from typing import Literal, Any
9
+ import hydra
10
10
  from langchain_core.language_models.chat_models import BaseChatModel
11
11
  from langchain_core.messages import AIMessage
12
12
  from langchain_openai import ChatOpenAI
@@ -14,39 +14,42 @@ from langgraph.checkpoint.memory import MemorySaver
14
14
  from langgraph.graph import END, START, StateGraph
15
15
  from langgraph.types import Command
16
16
  from ..agents import s2_agent
17
- from ..config.config import config
18
- from ..state.state_talk2competitors import Talk2Competitors
17
+ from ..state.state_talk2scholars import Talk2Scholars
19
18
 
20
19
  logging.basicConfig(level=logging.INFO)
21
20
  logger = logging.getLogger(__name__)
22
21
 
23
- load_dotenv()
24
22
 
25
- def make_supervisor_node(llm: BaseChatModel) -> str:
23
+ def make_supervisor_node(llm: BaseChatModel, cfg: Any) -> str:
26
24
  """
27
25
  Creates a supervisor node following LangGraph patterns.
28
26
 
29
27
  Args:
30
28
  llm (BaseChatModel): The language model to use for generating responses.
29
+ cfg (Any): The configuration object.
31
30
 
32
31
  Returns:
33
32
  str: The supervisor node function.
34
33
  """
35
- # options = ["FINISH", "s2_agent"]
36
-
37
- def supervisor_node(state: Talk2Competitors) -> Command[Literal["s2_agent", "__end__"]]:
34
+ def supervisor_node(
35
+ state: Talk2Scholars,
36
+ ) -> Command[Literal["s2_agent", "__end__"]]:
38
37
  """
39
38
  Supervisor node that routes to appropriate sub-agents.
40
39
 
41
40
  Args:
42
- state (Talk2Competitors): The current state of the conversation.
41
+ state (Talk2Scholars): The current state of the conversation.
43
42
 
44
43
  Returns:
45
44
  Command[Literal["s2_agent", "__end__"]]: The command to execute next.
46
45
  """
47
- logger.info("Supervisor node called")
46
+ logger.info(
47
+ "Supervisor node called - Messages count: %d, Current Agent: %s",
48
+ len(state["messages"]),
49
+ state.get("current_agent", "None"),
50
+ )
48
51
 
49
- messages = [{"role": "system", "content": config.MAIN_AGENT_PROMPT}] + state[
52
+ messages = [{"role": "system", "content": cfg.state_modifier}] + state[
50
53
  "messages"
51
54
  ]
52
55
  response = llm.invoke(messages)
@@ -81,7 +84,8 @@ def make_supervisor_node(llm: BaseChatModel) -> str:
81
84
 
82
85
  return supervisor_node
83
86
 
84
- def get_app(thread_id: str, llm_model ='gpt-4o-mini') -> StateGraph:
87
+
88
+ def get_app(thread_id: str, llm_model="gpt-4o-mini") -> StateGraph:
85
89
  """
86
90
  Returns the langraph app with hierarchical structure.
87
91
 
@@ -91,20 +95,30 @@ def get_app(thread_id: str, llm_model ='gpt-4o-mini') -> StateGraph:
91
95
  Returns:
92
96
  The compiled langraph app.
93
97
  """
94
- def call_s2_agent(state: Talk2Competitors) -> Command[Literal["__end__"]]:
98
+
99
+ # Load hydra configuration
100
+ logger.log(logging.INFO, "Load Hydra configuration for Talk2Scholars main agent.")
101
+ with hydra.initialize(version_base=None, config_path="../../configs"):
102
+ cfg = hydra.compose(
103
+ config_name="config", overrides=["agents/talk2scholars/main_agent=default"]
104
+ )
105
+ cfg = cfg.agents.talk2scholars.main_agent
106
+ logger.info("Hydra configuration loaded with values: %s", cfg)
107
+
108
+ def call_s2_agent(state: Talk2Scholars) -> Command[Literal["__end__"]]:
95
109
  """
96
110
  Node for calling the S2 agent.
97
111
 
98
112
  Args:
99
- state (Talk2Competitors): The current state of the conversation.
113
+ state (Talk2Scholars): The current state of the conversation.
100
114
 
101
115
  Returns:
102
116
  Command[Literal["__end__"]]: The command to execute next.
103
117
  """
104
- logger.info("Calling S2 agent")
118
+ logger.info("Calling S2 agent with state: %s", state)
105
119
  app = s2_agent.get_app(thread_id, llm_model)
106
120
  response = app.invoke(state)
107
- logger.info("S2 agent completed")
121
+ logger.info("S2 agent completed with response: %s", response)
108
122
  return Command(
109
123
  goto=END,
110
124
  update={
@@ -114,10 +128,17 @@ def get_app(thread_id: str, llm_model ='gpt-4o-mini') -> StateGraph:
114
128
  "current_agent": "s2_agent",
115
129
  },
116
130
  )
117
- llm = ChatOpenAI(model=llm_model, temperature=0)
118
- workflow = StateGraph(Talk2Competitors)
119
131
 
120
- supervisor = make_supervisor_node(llm)
132
+ logger.log(
133
+ logging.INFO,
134
+ "Using OpenAI model %s with temperature %s",
135
+ llm_model,
136
+ cfg.temperature
137
+ )
138
+ llm = ChatOpenAI(model=llm_model, temperature=cfg.temperature)
139
+ workflow = StateGraph(Talk2Scholars)
140
+
141
+ supervisor = make_supervisor_node(llm, cfg)
121
142
  workflow.add_node("supervisor", supervisor)
122
143
  workflow.add_node("s2_agent", call_s2_agent)
123
144
 
@@ -1,59 +1,68 @@
1
- #/usr/bin/env python3
1
+ # /usr/bin/env python3
2
2
 
3
- '''
3
+ """
4
4
  Agent for interacting with Semantic Scholar
5
- '''
5
+ """
6
6
 
7
7
  import logging
8
- from dotenv import load_dotenv
8
+ import hydra
9
9
  from langchain_openai import ChatOpenAI
10
10
  from langgraph.graph import START, StateGraph
11
- from langgraph.prebuilt import create_react_agent
11
+ from langgraph.prebuilt import create_react_agent, ToolNode
12
12
  from langgraph.checkpoint.memory import MemorySaver
13
- from ..config.config import config
14
- from ..state.state_talk2competitors import Talk2Competitors
15
- # from ..tools.s2 import s2_tools
16
- from ..tools.s2.search import search_tool
17
- from ..tools.s2.display_results import display_results
18
- from ..tools.s2.single_paper_rec import get_single_paper_recommendations
19
- from ..tools.s2.multi_paper_rec import get_multi_paper_recommendations
13
+ from ..state.state_talk2scholars import Talk2Scholars
14
+ from ..tools.s2.search import search_tool as s2_search
15
+ from ..tools.s2.display_results import display_results as s2_display
16
+ from ..tools.s2.single_paper_rec import (
17
+ get_single_paper_recommendations as s2_single_rec,
18
+ )
19
+ from ..tools.s2.multi_paper_rec import get_multi_paper_recommendations as s2_multi_rec
20
20
 
21
- load_dotenv()
22
21
 
23
22
  # Initialize logger
24
23
  logging.basicConfig(level=logging.INFO)
25
24
  logger = logging.getLogger(__name__)
26
25
 
27
- def get_app(uniq_id, llm_model='gpt-4o-mini'):
28
- '''
26
+
27
+ def get_app(uniq_id, llm_model="gpt-4o-mini"):
28
+ """
29
29
  This function returns the langraph app.
30
- '''
31
- def agent_s2_node(state: Talk2Competitors):
32
- '''
30
+ """
31
+
32
+ def agent_s2_node(state: Talk2Scholars):
33
+ """
33
34
  This function calls the model.
34
- '''
35
+ """
35
36
  logger.log(logging.INFO, "Creating Agent_S2 node with thread_id %s", uniq_id)
36
37
  response = model.invoke(state, {"configurable": {"thread_id": uniq_id}})
37
38
  return response
38
39
 
40
+ # Load hydra configuration
41
+ logger.log(logging.INFO, "Load Hydra configuration for Talk2Scholars S2 agent.")
42
+ with hydra.initialize(version_base=None, config_path="../../configs"):
43
+ cfg = hydra.compose(
44
+ config_name="config", overrides=["agents/talk2scholars/s2_agent=default"]
45
+ )
46
+ cfg = cfg.agents.talk2scholars.s2_agent
47
+
39
48
  # Define the tools
40
- tools = [search_tool,
41
- display_results,
42
- get_single_paper_recommendations,
43
- get_multi_paper_recommendations]
49
+ tools = ToolNode([s2_search, s2_display, s2_single_rec, s2_multi_rec])
50
+
51
+ # Define the model
52
+ logger.log(logging.INFO, "Using OpenAI model %s", llm_model)
53
+ llm = ChatOpenAI(model=llm_model, temperature=cfg.temperature)
44
54
 
45
- # Create the LLM
46
- llm = ChatOpenAI(model=llm_model, temperature=0)
55
+ # Create the agent
47
56
  model = create_react_agent(
48
- llm,
49
- tools=tools,
50
- state_schema=Talk2Competitors,
51
- state_modifier=config.S2_AGENT_PROMPT,
52
- checkpointer=MemorySaver()
53
- )
57
+ llm,
58
+ tools=tools,
59
+ state_schema=Talk2Scholars,
60
+ state_modifier=cfg.s2_agent,
61
+ checkpointer=MemorySaver(),
62
+ )
54
63
 
55
64
  # Define a new graph
56
- workflow = StateGraph(Talk2Competitors)
65
+ workflow = StateGraph(Talk2Scholars)
57
66
 
58
67
  # Define the two nodes we will cycle between
59
68
  workflow.add_node("agent_s2", agent_s2_node)
@@ -2,4 +2,6 @@
2
2
  This package contains configuration settings and prompts used by various AI agents
3
3
  """
4
4
 
5
- from . import config
5
+ from . import agents
6
+ from . import tools
7
+ from . import app
@@ -0,0 +1,5 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
4
+
5
+ from . import talk2scholars
@@ -0,0 +1,6 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
4
+
5
+ from . import s2_agent
6
+ from . import main_agent
@@ -0,0 +1,3 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
@@ -0,0 +1,39 @@
1
+ _target_: agents.main_agent.get_app
2
+ openai_api_key: ${oc.env:OPENAI_API_KEY}
3
+ openai_llms:
4
+ - "gpt-4o-mini"
5
+ - "gpt-4-turbo"
6
+ - "gpt-3.5-turbo"
7
+ temperature: 0
8
+ main_agent: >
9
+ "You are a supervisory AI agent that routes user queries to specialized tools.\n"
10
+ "Your task is to select the most appropriate tool based on the user's request.\n\n"
11
+ "Available tools and their capabilities:\n\n"
12
+ "1. semantic_scholar_agent:\n"
13
+ " - Search for academic papers and research\n"
14
+ " - Get paper recommendations\n"
15
+ " - Find similar papers\n"
16
+ " USE FOR: Any queries about finding papers, academic research, "
17
+ "or getting paper recommendations\n\n"
18
+ "ROUTING GUIDELINES:\n\n"
19
+ "ALWAYS route to semantic_scholar_agent for:\n"
20
+ "- Finding academic papers\n"
21
+ "- Searching research topics\n"
22
+ "- Getting paper recommendations\n"
23
+ "- Finding similar papers\n"
24
+ "- Any query about academic literature\n\n"
25
+ "Approach:\n"
26
+ "1. Identify the core need in the user's query\n"
27
+ "2. Select the most appropriate tool based on the guidelines above\n"
28
+ "3. If unclear, ask for clarification\n"
29
+ "4. For multi-step tasks, focus on the immediate next step\n\n"
30
+ "Remember:\n"
31
+ "- Be decisive in your tool selection\n"
32
+ "- Focus on the immediate task\n"
33
+ "- Default to semantic_scholar_agent for any paper-finding tasks\n"
34
+ "- Ask for clarification if the request is ambiguous\n\n"
35
+ "When presenting paper search results, always use this exact format:\n\n"
36
+ "Remember to:\n"
37
+ "- To always add the url\n"
38
+ "- Put URLs on the title line itself as markdown\n"
39
+ "- Maintain consistent spacing and formatting"
@@ -0,0 +1,3 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
@@ -0,0 +1,68 @@
1
+ _target_: agents.s2_agent.get_app
2
+ openai_api_key: ${oc.env:OPENAI_API_KEY}
3
+ openai_llms:
4
+ - "gpt-4o-mini"
5
+ - "gpt-4-turbo"
6
+ - "gpt-3.5-turbo"
7
+ temperature: 0
8
+ s2_agent: >
9
+ "You are a specialized academic research assistant with access to the following tools:\n\n"
10
+ "1. search_papers:\n"
11
+ " USE FOR: General paper searches\n"
12
+ " - Enhances search terms automatically\n"
13
+ " - Adds relevant academic keywords\n"
14
+ " - Focuses on recent research when appropriate\n\n"
15
+ "2. get_single_paper_recommendations:\n"
16
+ " USE FOR: Finding papers similar to a specific paper\n"
17
+ " - Takes a single paper ID\n"
18
+ " - Returns related papers\n\n"
19
+ "3. get_multi_paper_recommendations:\n"
20
+ " USE FOR: Finding papers similar to multiple papers\n"
21
+ " - Takes multiple paper IDs\n"
22
+ " - Finds papers related to all inputs\n\n"
23
+ "GUIDELINES:\n\n"
24
+ "For paper searches:\n"
25
+ "- Enhance search terms with academic language\n"
26
+ "- Include field-specific terminology\n"
27
+ '- Add "recent" or "latest" when appropriate\n'
28
+ "- Keep queries focused and relevant\n\n"
29
+ "For paper recommendations:\n"
30
+ "- Identify paper IDs (40-character hexadecimal strings)\n"
31
+ "- Use single_paper_recommendations for one ID\n"
32
+ "- Use multi_paper_recommendations for multiple IDs\n\n"
33
+ "Best practices:\n"
34
+ "1. Start with a broad search if no paper IDs are provided\n"
35
+ "2. Look for paper IDs in user input\n"
36
+ "3. Enhance search terms for better results\n"
37
+ "4. Consider the academic context\n"
38
+ "5. Be prepared to refine searches based on feedback\n\n"
39
+ "Remember:\n"
40
+ "- Always select the most appropriate tool\n"
41
+ "- Enhance search queries naturally\n"
42
+ "- Consider academic context\n"
43
+ "- Focus on delivering relevant results\n\n"
44
+ "IMPORTANT GUIDELINES FOR PAPER RECOMMENDATIONS:\n\n"
45
+ "For Multiple Papers:\n"
46
+ "- When getting recommendations for multiple papers, always use "
47
+ "get_multi_paper_recommendations tool\n"
48
+ "- DO NOT call get_single_paper_recommendations multiple times\n"
49
+ "- Always pass all paper IDs in a single call to get_multi_paper_recommendations\n"
50
+ '- Use for queries like "find papers related to both/all papers" or '
51
+ '"find similar papers to these papers"\n\n'
52
+ "For Single Paper:\n"
53
+ "- Use get_single_paper_recommendations when focusing on one specific paper\n"
54
+ "- Pass only one paper ID at a time\n"
55
+ '- Use for queries like "find papers similar to this paper" or '
56
+ '"get recommendations for paper X"\n'
57
+ "- Do not use for multiple papers\n\n"
58
+ "Examples:\n"
59
+ '- For "find related papers for both papers":\n'
60
+ " ✓ Use get_multi_paper_recommendations with both paper IDs\n"
61
+ " × Don't make multiple calls to get_single_paper_recommendations\n\n"
62
+ '- For "find papers related to the first paper":\n'
63
+ " ✓ Use get_single_paper_recommendations with just that paper's ID\n"
64
+ " × Don't use get_multi_paper_recommendations\n\n"
65
+ "Remember:\n"
66
+ "- Be precise in identifying which paper ID to use for single recommendations\n"
67
+ "- Don't reuse previous paper IDs unless specifically requested\n"
68
+ "- For fresh paper recommendations, always use the original paper ID"
@@ -0,0 +1,5 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
4
+
5
+ from . import frontend
@@ -0,0 +1,3 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
@@ -0,0 +1,33 @@
1
+ # # Page configuration
2
+ # page:
3
+ # title: "Talk2Scholars"
4
+ # icon: "🤖"
5
+ # layout: "wide"
6
+
7
+ # Available LLM models
8
+ llm_models:
9
+ - "gpt-4o-mini"
10
+ - "gpt-4-turbo"
11
+ - "gpt-3.5-turbo"
12
+ # # Chat UI configuration
13
+ # chat:
14
+ # assistant_avatar: "🤖"
15
+ # user_avatar: "👩🏻‍💻"
16
+ # input_placeholder: "Say something ..."
17
+ # spinner_text: "Fetching response ..."
18
+
19
+ # # Feedback configuration
20
+ # feedback:
21
+ # type: "thumbs"
22
+ # text_label: "[Optional] Please provide an explanation"
23
+ # success_message: "Your feedback is on its way to the developers. Thank you!"
24
+ # success_icon: "🚀"
25
+
26
+ # # Layout configuration
27
+ # layout:
28
+ # column_ratio: [3, 7] # Ratio for main_col1 and main_col2
29
+ # chat_container_height: 575
30
+ # sidebar_container_height: 500
31
+ #
32
+ # # Project name prefix
33
+ # project_name_prefix: "Talk2Scholars-"
@@ -0,0 +1,8 @@
1
+ defaults:
2
+ - _self_
3
+ - agents/talk2scholars/main_agent: default
4
+ - agents/talk2scholars/s2_agent: default
5
+ - tools/search: default
6
+ - tools/single_paper_recommendation: default
7
+ - tools/multi_paper_recommendation: default
8
+ - app/frontend: default
@@ -0,0 +1,7 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
4
+
5
+ from . import search
6
+ from . import single_paper_recommendation
7
+ from . import multi_paper_recommendation
@@ -0,0 +1,3 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
@@ -0,0 +1,19 @@
1
+ api_endpoint: "https://api.semanticscholar.org/recommendations/v1/papers"
2
+ default_limit: 2
3
+ request_timeout: 10
4
+ api_fields:
5
+ - "paperId"
6
+ - "title"
7
+ - "abstract"
8
+ - "year"
9
+ - "authors"
10
+ - "citationCount"
11
+ - "url"
12
+
13
+ # Default headers and params
14
+ headers:
15
+ Content-Type: "application/json"
16
+
17
+ recommendation_params:
18
+ limit: ${.default_limit}
19
+ fields: ${.api_fields}
@@ -0,0 +1,3 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
@@ -0,0 +1,19 @@
1
+ api_endpoint: "https://api.semanticscholar.org/graph/v1/paper/search"
2
+ default_limit: 2
3
+ request_timeout: 10
4
+ api_fields:
5
+ - "paperId"
6
+ - "title"
7
+ - "abstract"
8
+ - "year"
9
+ - "authors"
10
+ - "citationCount"
11
+ - "url"
12
+ # Commented fields that could be added later if needed
13
+ # - "publicationTypes"
14
+ # - "openAccessPdf"
15
+
16
+ # Default search parameters
17
+ search_params:
18
+ limit: ${.default_limit} # Reference to the default_limit above
19
+ fields: ${.api_fields} # Reference to the api_fields above
@@ -0,0 +1,3 @@
1
+ """
2
+ Import all the modules in the package
3
+ """
@@ -0,0 +1,20 @@
1
+ api_endpoint: "https://api.semanticscholar.org/recommendations/v1/papers/forpaper"
2
+ default_limit: 2
3
+ request_timeout: 10
4
+ api_fields:
5
+ - "paperId"
6
+ - "title"
7
+ - "abstract"
8
+ - "year"
9
+ - "authors"
10
+ - "citationCount"
11
+ - "url"
12
+ # Commented fields that could be added later if needed
13
+ # - "publicationTypes"
14
+ # - "openAccessPdf"
15
+
16
+ # Default recommendation parameters
17
+ recommendation_params:
18
+ limit: ${.default_limit} # Reference to the default_limit above
19
+ fields: ${.api_fields} # Reference to the api_fields above
20
+ from_pool: "all-cs" # Using all-cs pool as specified in docs
@@ -2,4 +2,4 @@
2
2
  This file is used to import all the modules in the package.
3
3
  '''
4
4
 
5
- from . import state_talk2competitors
5
+ from . import state_talk2scholars