tooluniverse 1.0.8__py3-none-any.whl → 1.0.9.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of tooluniverse might be problematic. Click here for more details.
- tooluniverse/__init__.py +8 -0
- tooluniverse/admetai_tool.py +8 -1
- tooluniverse/compose_scripts/output_summarizer.py +87 -33
- tooluniverse/compose_tool.py +2 -2
- tooluniverse/data/adverse_event_tools.json +97 -98
- tooluniverse/data/agentic_tools.json +81 -162
- tooluniverse/data/compose_tools.json +0 -54
- tooluniverse/data/drug_discovery_agents.json +10 -20
- tooluniverse/data/literature_search_tools.json +15 -35
- tooluniverse/data/monarch_tools.json +1 -2
- tooluniverse/data/opentarget_tools.json +8 -16
- tooluniverse/data/output_summarization_tools.json +23 -20
- tooluniverse/data/packages/bioinformatics_core_tools.json +2 -2
- tooluniverse/data/packages/cheminformatics_tools.json +1 -1
- tooluniverse/data/packages/genomics_tools.json +1 -1
- tooluniverse/data/packages/single_cell_tools.json +1 -1
- tooluniverse/data/packages/structural_biology_tools.json +1 -1
- tooluniverse/data/tool_composition_tools.json +2 -4
- tooluniverse/execute_function.py +39 -1
- tooluniverse/logging_config.py +64 -2
- tooluniverse/molecule_2d_tool.py +9 -3
- tooluniverse/molecule_3d_tool.py +9 -3
- tooluniverse/output_hook.py +217 -150
- tooluniverse/smcp.py +8 -1
- tooluniverse/smcp_server.py +92 -201
- tooluniverse/tools/__init__.py +1 -3
- {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.1.dist-info}/METADATA +3 -2
- {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.1.dist-info}/RECORD +32 -33
- {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.1.dist-info}/entry_points.txt +0 -3
- tooluniverse/tools/MultiAgentLiteratureSearch.py +0 -59
- {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.1.dist-info}/WHEEL +0 -0
- {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.1.dist-info}/licenses/LICENSE +0 -0
- {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.1.dist-info}/top_level.txt +0 -0
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"""
|
|
2
|
-
MultiAgentLiteratureSearch
|
|
3
|
-
|
|
4
|
-
Multi-agent literature search system that uses AI agents to analyze intent, extract keywords, exe...
|
|
5
|
-
"""
|
|
6
|
-
|
|
7
|
-
from typing import Any, Optional, Callable
|
|
8
|
-
from ._shared_client import get_shared_client
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
def MultiAgentLiteratureSearch(
|
|
12
|
-
query: str,
|
|
13
|
-
max_iterations: int,
|
|
14
|
-
quality_threshold: float,
|
|
15
|
-
*,
|
|
16
|
-
stream_callback: Optional[Callable[[str], None]] = None,
|
|
17
|
-
use_cache: bool = False,
|
|
18
|
-
validate: bool = True,
|
|
19
|
-
) -> Any:
|
|
20
|
-
"""
|
|
21
|
-
Multi-agent literature search system that uses AI agents to analyze intent, extract keywords, exe...
|
|
22
|
-
|
|
23
|
-
Parameters
|
|
24
|
-
----------
|
|
25
|
-
query : str
|
|
26
|
-
The research query to search for
|
|
27
|
-
max_iterations : int
|
|
28
|
-
Maximum number of iterations (default: 3)
|
|
29
|
-
quality_threshold : float
|
|
30
|
-
Quality threshold for completion (default: 0.7)
|
|
31
|
-
stream_callback : Callable, optional
|
|
32
|
-
Callback for streaming output
|
|
33
|
-
use_cache : bool, default False
|
|
34
|
-
Enable caching
|
|
35
|
-
validate : bool, default True
|
|
36
|
-
Validate parameters
|
|
37
|
-
|
|
38
|
-
Returns
|
|
39
|
-
-------
|
|
40
|
-
Any
|
|
41
|
-
"""
|
|
42
|
-
# Handle mutable defaults to avoid B006 linting error
|
|
43
|
-
|
|
44
|
-
return get_shared_client().run_one_function(
|
|
45
|
-
{
|
|
46
|
-
"name": "MultiAgentLiteratureSearch",
|
|
47
|
-
"arguments": {
|
|
48
|
-
"query": query,
|
|
49
|
-
"max_iterations": max_iterations,
|
|
50
|
-
"quality_threshold": quality_threshold,
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
stream_callback=stream_callback,
|
|
54
|
-
use_cache=use_cache,
|
|
55
|
-
validate=validate,
|
|
56
|
-
)
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
__all__ = ["MultiAgentLiteratureSearch"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|