tooluniverse.tools.AdverseEventPredictionQuestionGeneratorWithContext 模块

AdverseEventPredictionQuestionGeneratorWithContext 不良事件预测问题生成器(含上下文)

生成针对特定疾病和药物的一组个性化不良事件预测问题,…

tooluniverse.tools.AdverseEventPredictionQuestionGeneratorWithContext.AdverseEventPredictionQuestionGeneratorWithContext(disease_name, drug_name, context_information, *, stream_callback=None, use_cache=False, validate=True)[源代码]

生成针对特定疾病和药物的一组个性化不良事件预测问题,…

参数:
  • disease_name (str) – 疾病或病症的名称

  • drug_name (str) – 药物名称

  • context_information (str) – 附加上下文信息,例如患者病史、临床发现…

  • stream_callback (Callable, optional) – 用于流式输出的回调

  • use_cache (bool, default False) – 启用缓存

  • validate (bool, default True) – 验证参数

返回类型:

str