[AI20]生物医药大模型

post
https://connect.zhihuiya.com/chat/pharm-gpt-stream
在体验中心中试用

该接口支持输入医药竞争格局、临床试验与循证医学、序列/化合物专利及政策与准入等类型的问题,生物医药大模型(Hiro-LS)旨在针对提出的问题,进行智能化的检索、分析和数据挖掘,以提供持续进化的生物医药信息,为生命科学探索创造无限机会。

接口按照模型调用完成后消耗的总Token长度进行扣费,且使用 tiktoken 计算 token 数量。

请求参数

此 API 接口支持的参数列表

名称类型示例描述
query
必填
stringWhat are the indications for siRNA drugs?
用户问题 注意:不超过16000个字符。
session_id
string72fbb693-366a-4e50-bcd4-56d699f6c316
会话ID,用于标识一轮对话或多轮对话的唯一标识符。 注:当需要进行多轮对话时,该字段作为必填参数,需要将前一轮对话的session_id和第二轮的query一起作为入参。

响应结构

API 响应数据的结构说明

字段名类型示例描述
data
object-
响应数据
output
objectPlease check the form: AiPharmGptOutPut
返回数据
usage
objectPlease check the form: AiPatGptUsage
计量信息,表示本次请求所消耗的计量数据
input_tokens
integer<int32>23
用户问题经过Token化后的长度
total_tokens
integer<int32>320
模型调用完成后消耗的总Token长度
output_tokens
integer<int32>297
模型生成文本经过Token化后的长度
status
stringfinished
会话状态 注意: 当status = “running” 时,系统正在SSE输出; 当status = “finished” 时,请求结束; 当status= “length”时,生成长度过长导致超过模型最大长度
content
stringsiRNA drugs, or small interfering RNA drugs, are a class of medications that use RNA interference (RNAi) to silence specific genes. This silencing can prevent the production of disease-causing proteins or reduce their levels. The indications for siRNA drugs are diverse and have been developed for various diseases and conditions. Here are some examples of indications for siRNA drugs based on the information provided:\n\n1. **Primary Hyperoxaluria Type 1**: Drugs like Nedosiran and Lumasiran sodium are indicated for this rare genetic disorder characterized by the excessive production of a substance called oxalate, leading to kidney damage and other issues.\n\n2. **Thromboembolism and Kidney Failure, Chronic**: SR-059 is indicated for conditions related to blood clotting and chronic kidney failure.\n\n3. **Amyloidosis, Hereditary, Transthyretin-Related**: Vutrisiran Sodium and Patisiran sodium are used to treat a type of hereditary amyloidosis caused by transthyretin (TTR) protein aggregation.\n\n4. **Hyperlipoproteinemia Type II and Atherosclerosis**: Inclisiran sodium is indicated for managing high levels of certain types of cholesterol and atherosclerosis, a condition characterized by the buildup of fats, cholesterol, and other substances in and on the artery walls.\n\n5. **Atherosclerosis**: Several other drugs like Lepodisiran sodium, Olpasiran, Zerlasiran, and Kylo-11 are also indicated for atherosclerosis, which involves the narrowing or blockage of coronary arteries due to plaque buildup.\n\n6. **Hypertriglyceridemia and Dyslipidemias**: Plozasiran and BW-00112 are indicated for conditions related to high levels of triglycerides and abnormal lipid levels in the blood.\n\n7. **Dyslipidemias**: Several drugs such as Zodasiran, VSA-003, RP-910, and others are indicated for managing dyslipidemias, which involve abnormal levels of lipids (e.g., cholesterol, triglycerides) in the blood.\n\n8. **Hyperlipidemia, Familial Combined and Primary hypercholesterolemia**: SYH2053 and YKYY-015 are indicated for these conditions related to high levels of lipids in the blood.\n\n9. **Metabolic Diseases and Hypercholesterolemia**: JS401 is indicated for metabolic diseases and high cholesterol levels.\n\n10. **Hyperlipidemias**: RBD-5044 is indicated for managing high levels of lipids in the blood.\n\n11. **Diabetes Mellitus, Type 2**: ALN-KHK and ARO-INHBE are indicated for type 2 diabetes, a chronic condition characterized by high blood sugar levels.\n\n12. **Hyperlipoproteinemias**: Solbinsiran Sodium is indicated for this condition, which involves high levels of lipids in the blood.\n\nThese indications reflect the broad application of siRNA technology in targeting specific pathways involved in various diseases, offering a promising approach to disease treatment by directly silencing the genes responsible for disease-causing proteins.
会话结果
references
arrayPlease check the form: RefdocInfo
引用文献 注意:只有当status = “finished”时,请求结束,才会携带引用文献内容返回,即ref_doc。
link
stringhttps://synapse.patsnap.com/drug/b7de1abb409c406788910307008b91ca
超链接
text
stringNedosiran
相关的文本
type
stringsynapse
文本类型
index
integer<int32>2
对应的索引号,即表示该条reference对应的gpt生成文本的序号
doc_id
stringb7de1abb409c406788910307008b91ca
引用文献ID
doc_type
stringdrug_dev_status
文献类型
post_date
integer<int32>20200522
文献发布时间
text_summary
string
相关的文本的总结
session_id
stringebc4a867-9a75-4611-99b8-32e44706226e
会话ID,用于标识一轮对话或多轮对话的唯一标识符
status
必填
booleanfalse
状态
error_msg
stringThe request parameter format is incorrect!
错误信息
error_code
必填
integer0
错误代码

成功响应示例

成功调用 API 的响应示例

JSON
{
  "data": {
    "output": {
      "usage": {
        "input_tokens": 23,
        "total_tokens": 320,
        "output_tokens": 297
      },
      "status": "finished",
      "content": "冷冻消融球囊是一种用于医疗治疗的设备,主要应用于心脏手术中的消融程序,尤其是心律失常如心房颤动的治疗。这种设备通常包含一个可膨胀的球囊,球囊内部可以流通一种特殊的冷却介质,通过热传导的方式将低温传递给目标组织,从而实现组织的冷冻消融。\\n冷冻消融球囊的技术和设计在不断进步,以下是一些相关的专利和文献,展示了不同方面的创新和改进:\\n\\n球囊材料和结构的改进:\\n[3] 描述了一种用于血管内导管系统的冷冻球囊,由特定比例的聚氨酯和聚酰胺嵌段共聚物形成。这种材料配比使得球囊在较低压力下能实现较大的尺寸调节性,同时保持良好的机械性能。\\n球囊尺寸和压力调节:\\n[4] 提供了一种球囊尺寸可调的冷冻消融系统及方法,通过控制部件中的充气管路和球囊流量压力控制管路,实现对球囊尺寸和压力的精确调节,从而提高治疗的安全性和有效性。\\n多叶球囊设计:\\n[5] 揭示了一种用于冷冻消融的多叶球囊设计。这种设计包括多个独立的球囊瓣叶,可以通过独立的流体输送管腔进行膨胀,适用于更复杂的组织结构消融,如心脏的复杂形状。\\n温度和压力控制:\\n[7] 介绍了一种冷冻消融仪球囊内压力动态平衡系统,通过控制单元、数据采集单元和压力调节单元实现对球囊内压力的实时调节,确保消融过程中的温度和压力在理想的范围内。\\n无创定位技术:\\n[6] 公开了一种心房颤动消融冷冻球囊无创定位装置,通过电极阵列进行球囊定位,避免了使用有害射线,提高了手术的安全性和定位的准确性。\\n接触压力评估:\\n[8] 描述了一种评估冷冻球囊消融导管接触压力的方法。通过在消融过程中记录和比较球囊的压力测量值与预定压力阈值,确保球囊与目标组织的有效接触,从而提高消融效果。\\n这些创新和改进使得冷冻消融球囊技术更加精细和安全,为患者提供了更好的治疗效果。",
      "references": [
        {
          "link": "https://synapse.patsnap.com/drug/b7de1abb409c406788910307008b91ca",
          "text": "融术,手术历时1小时,取得成功。术后,患者发作性心悸的症状得以缓解。球囊冷冻消融,是通过导管传递液态氮氧化物至末端球囊,将液态氮氧化物转化为气态,使周围组织遇冷,从而达到消融效果。这部分气体会从回收真空腔返回。球囊冷冻消融通过组织遇冷导致细胞内形成晶体,使细胞膜破坏,细胞内的代谢及电活动不能正常进行。另外,通过对微血管的破环使局部血流灌注减少,同样可以使细胞死亡,发挥肺静脉隔离的作用,从而根治阵发性心房颤动。房颤的冷冻消融术相对于射频消融术来说,有其独特的优势所在:1) 可操作性较强,不需要复杂的三维建模和逐点消融,大大节省了手术时间。2) 疗效确切,成功率高,单次手术成功率可达到80-90%以上。3) 并发症少,尤其是食管瘘,心包填塞等并发症,较射频消融术大大降低,安全性高。4)",
          "type": "synapse",
          "index": 2,
          "doc_id": "b7de1abb409c406788910307008b91ca",
          "doc_type": "drug_dev_status",
          "post_date": 20200522,
          "text_summary": "秦皇岛市第一医院心血管内科二病区成功完成我市首例房颤冷冻消融术"
        }
      ],
      "session_id": "ebc4a867-9a75-4611-99b8-32e44706226e"
    }
  },
  "status": true,
  "error_code": 0
}

错误码

此接口可能返回的错误码列表

业务错误码

错误码描述
68300004请求参数异常!
68300005查询Api失败!
68300006解析基本存取错误!
68300007存在错误的请求!
68300008服务中断异常,请稍后再试!
68300010文件不符合上传规范!

平台错误码

错误码描述
67200000API整体限流错误!
67200001API整体限流错误!
67200002当前调用速率过快,超过当前配置限制QPS!
67200003申请token的key和secret传参不正确或者客户端已被禁用!
67200004请求的接口无权限请联系我们的支持人员!
67200005账户余额/调用次数不足!
67200006客户端超过开通有效期!
67200007当前调用超过当天配置使用额度!
67200008请检查query参数中必填的apikey是否传输!
67200009apikey与所传的bearerToken不匹配,请检查是否使用在有效期内的token!
67200012请求不合法!
67200100当前服务器状态正忙,请求响应超时!
67200101当前请求的Api不存在请检查请求Path!

HTTP 状态码

状态码描述
0请求成功
33610400用户输入错误内容不合法
33610500模型返回结果涉及部分内容不合法
33610600系统内部异常

性能指标

此接口的预期性能特征

正常响应时间

5000 ms

最大响应时间

10000 ms