Bio-Pharma Encyclopedia Q&A

AI68-1 Hiro LS Researcher-Create

This interface is used to initialize an Biomedical Encyclopedia Q&A chat session, obtain chat ID and chat item ID, as well as related reference document information. Usage flow: first call this interface to get chatId and chatItemId, then use these IDs to call the streaming interface to get AI responses.

post/chat/ai-ls-chat

Request

Request body */*

data_sourceinteger

data source 1: all 2: paper 3: patent 4: clinical trials 5: fda label 6: financial report 7: clinical guideline 8: epidemiology

deep_searchboolean required

deep think

long_thinkboolean required

long think

querystring required

User question

search_websiteboolean required

search website

Example request

{
  "query": "<cn>药物RMC6236的PK/PD数据有哪些?</cn><us>What is the data of the drug RMC6236?</us>"
}

Response

Successful ai68-1 hiro ls researcher-create response.

statusboolean required

Status

error_msgstring

Error Message

error_codeinteger required

Error Code

Example response

{
  "data": {
    "chat_id": "<cn>019ae7682af371d991f228fc8eac9ada</cn><us>019ae7682af371d991f228fc8eac9ada</us>",
    "ref_doc": [
      {
        "link": "<cn>https://zhuanlan.zhihu.com/p/391356908</cn><us>https://zhuanlan.zhihu.com/p/391356908</us>",
        "text": "<cn>2021年中国EGFR抑制剂行业分析报告-市场格局现状与未来前景研究</cn><us>2021 China EGFR Inhibitor Industry Analysis Report - Market Structure Status and Future Prospects Research</us>",
        "type": "<cn>web-site</cn><us>web-site</us>",
        "post_time": "<cn>20210720</cn><us>20210720</us>",
        "_text_display": "<cn>2021年中国EGFR抑制剂行业分析报告-市场格局现状与未来前景研究</cn><us>2021 China EGFR Inhibitor Industry Analysis Report - Market Structure Status and Future Prospects Research</us>",
        "doc_type_detail": "<cn>zhihu</cn><us>zhihu</us>"
      }
    ],
    "chat_item_id": "<cn>322d39265d444c53b8ad6d1b3a70974a</cn><us>322d39265d444c53b8ad6d1b3a70974a</us>"
  },
  "error_msg": "The request parameter format is incorrect!"
}

Changes

No recorded changes to this operation across all 1 revision of this API.