医疗智能体 EIHEALTH-创建数据库:请求示例

时间:2024-12-13 16:14:12

请求示例

创建数据库,数据库名称为database_name,选择css集群,上传项目桶中file/test.csv的数据库数据,设置列名为SMILES和NAME,打开共享开关。

https://{endpoint}/v1/{project_id}/drug/drug-database

{
  "name" : "database_name",
  "css_id" : "2f042ad4-6aca-11ed-b7f6-fa163e504fdd",
  "description" : "simple database",
  "file" : {
    "source" : "PRIVATE",
    "url" : "project:/file/test.csv",
    "eihealth_project_id" : "baabcb56-5bb6-11eb-8a0d-fa163e3ddba1"
  },
  "columns" : [ "SMILES", "NAME" ],
  "shareable" : true
}
support.huaweicloud.com/api-eihealth/CreateDrugDatabase.html