tooluniverse 1.0.8__py3-none-any.whl → 1.0.9__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.

Files changed (33) hide show
  1. tooluniverse/__init__.py +8 -0
  2. tooluniverse/admetai_tool.py +8 -1
  3. tooluniverse/compose_scripts/output_summarizer.py +87 -33
  4. tooluniverse/compose_tool.py +2 -2
  5. tooluniverse/data/adverse_event_tools.json +97 -98
  6. tooluniverse/data/agentic_tools.json +81 -162
  7. tooluniverse/data/compose_tools.json +0 -54
  8. tooluniverse/data/drug_discovery_agents.json +10 -20
  9. tooluniverse/data/literature_search_tools.json +15 -35
  10. tooluniverse/data/monarch_tools.json +1 -2
  11. tooluniverse/data/opentarget_tools.json +8 -16
  12. tooluniverse/data/output_summarization_tools.json +23 -20
  13. tooluniverse/data/packages/bioinformatics_core_tools.json +2 -2
  14. tooluniverse/data/packages/cheminformatics_tools.json +1 -1
  15. tooluniverse/data/packages/genomics_tools.json +1 -1
  16. tooluniverse/data/packages/single_cell_tools.json +1 -1
  17. tooluniverse/data/packages/structural_biology_tools.json +1 -1
  18. tooluniverse/data/tool_composition_tools.json +2 -4
  19. tooluniverse/execute_function.py +39 -1
  20. tooluniverse/logging_config.py +64 -2
  21. tooluniverse/molecule_2d_tool.py +9 -3
  22. tooluniverse/molecule_3d_tool.py +9 -3
  23. tooluniverse/output_hook.py +217 -150
  24. tooluniverse/smcp.py +8 -1
  25. tooluniverse/smcp_server.py +89 -199
  26. tooluniverse/tools/__init__.py +1 -3
  27. {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.dist-info}/METADATA +2 -1
  28. {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.dist-info}/RECORD +32 -33
  29. {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.dist-info}/entry_points.txt +0 -3
  30. tooluniverse/tools/MultiAgentLiteratureSearch.py +0 -59
  31. {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.dist-info}/WHEEL +0 -0
  32. {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.dist-info}/licenses/LICENSE +0 -0
  33. {tooluniverse-1.0.8.dist-info → tooluniverse-1.0.9.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"]