医疗智能体 EIHealth-查询分子搜索任务:响应参数

时间:2023-11-01 16:18:54

响应参数

状态码: 200

表3 响应Body参数

参数

参数类型

描述

status

String

异步任务的状态:等待中、运行中、已完成、失败

枚举值:

  • waiting
  • running
  • finished
  • failed

task_data

SearchTaskData object

分子搜索任务的请求体

result

SearchResult object

分子搜索任务的返回结果

表4 SearchTaskData

参数

参数类型

描述

smiles

String

分子SMILES表达式

databases

Array of strings

搜索使用到的数据库集合

top_n

Integer

期望最大返回条目数(排序后取Top)

最小值:1

最大值:1000

表5 SearchResult

参数

参数类型

描述

smiles

String

分子SMILES表达式

databases

Array of strings

搜索使用到的数据库集合

top_n

Integer

期望返回的条目数

prop_names

Array of strings

分子ADMET属性名列表

query

query object

初始查询分子的属性信息

result

Array of SearchResultItem objects

查询结果列表

表6 query

参数

参数类型

描述

smiles

String

分子SMILES表达式

props

Array of objects

分子ADMET属性值列表

表7 SearchResultItem

参数

参数类型

描述

smiles

String

分子SMILES表达式

source

String

分子所属的数据库来源

score

Float

分子与查询分子的相似度

props

Array of objects

分子ADMET属性值列表

support.huaweicloud.com/api-eihealth/eihealth_33_00341.html