tooluniverse.pubtator_tool module¶
- class tooluniverse.pubtator_tool.PubTatorTool(tool_config: Dict[str, Any])[source]¶
Bases:
BaseTool
Generic wrapper around a single PubTator 3 endpoint supporting JSON-defined configs.
- _filter_search_results(result: Dict[str, Any]) Dict[str, Any] [source]¶
Filter PubTatorSearch results by score threshold and remove facet items that only have ‘name’, ‘type’, and ‘value’.