tooluniverse.tools.dict_search module¶
dict_search
Search the DICTrank dataset for drug-induced cardiotoxicity (DICT) risk information by trade name…
- tooluniverse.tools.dict_search.dict_search(query, search_fields, case_sensitive, exact_match, limit, *, stream_callback=None, use_cache=False, validate=True)[source]¶
Search the DICTrank dataset for drug-induced cardiotoxicity (DICT) risk information by trade name…
- Parameters:
query (
str
) – Free-text query (e.g. ‘ZYPREXA’, ‘Olanzapine’).search_fields (
list[Any]
) – Columns to search. Choose from: ‘Trade Name’, ‘Generic/Proper Name(s)’, ‘Acti…case_sensitive (
bool
) – Match text with exact case if true.exact_match (
bool
) – Field value must equal query exactly if true; otherwise substring match.limit (
int
) – Maximum number of rows to return.stream_callback (
Callable
, optional) – Callback for streaming output
- Return type:
dict[str
,Any]