tooluniverse.tools.OpenTargets_get_similar_entities_by_drug_chemblId moduleΒΆ

OpenTargets_get_similar_entities_by_drug_chemblId

Retrieve similar entities for a given drug chemblId using a model trained with PubMed.

tooluniverse.tools.OpenTargets_get_similar_entities_by_drug_chemblId.OpenTargets_get_similar_entities_by_drug_chemblId(chemblId, threshold, size, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Retrieve similar entities for a given drug chemblId using a model trained with PubMed.

Parameters:
  • chemblId (str) – The chemblId of the disease.

  • threshold (float) – Threshold similarity between 0 and 1. Only results above threshold are returned.

  • size (int) – Number of similar entities to fetch.

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any