使用 RAM 管理 API

acs:apigateway:$regionid:$accountid:apigroup/*CreateApi 创建API acs:apigateway:$regionid:$accountid:apigroup/$groupId DeployApi 发布API acs:apigateway:$regionid:$accountid:apigroup/$groupId AbolishApi 下线API acs:api...

key-auth插件

consumers:-credential:2bda943c-ba2b-11ec-ba07-00163e1250b5 name:consumer1-credential:c8c8e9ca-558e-4a2d-bb62-e700dcc40e35 name:consumer2 keys:-apikey-x-api-key 相关错误码 HTTP状态码 出错信息 原因说明 401 No API key found ...

使用Python依赖

bin/bash set-e-x yum install-y zip wget cd/root/bash/build/setup-pyflink-virtual-env.sh mv venv.zip/build/在命令行,执行如下命令,完成python虚拟环境的安装。docker run-it-rm-v$PWD:/build-w/build quay.io/pypa/manylinux2014_x...

初始化

环境准备 在Eclipse项目中使用阿里云E-MapReduce OpenAPI Java SDK。请确保代码运行环境设置了环境变量ALIBABA_CLOUD_ACCESS_KEY_ID和ALIBABA_CLOUD_ACCESS_KEY_SECRET。具体配置方法,请参见 配置方案。创建一个Maven工程,添加Maven依赖...

Flink Python参考

bin/bash set-e-x yum install-y zip wget cd/root/bash/build/setup-pyflink-virtual-env.sh mv venv.zip/build/在CMD命令行中,执行如下命令。docker run-it-rm-v$PWD:/build-w/build quay.io/pypa/manylinux2014_x86_64./build.sh 该...

ListRepoTrigger-查询仓库触发器列表

描述 示例值 object Code string 返回值 success IsSuccess boolean 是否调用 API 成功,取值:true:调用 API 成功 false:调用 API 失败 true RequestId string 请求 ID 2CA76D52-A8F0-4D0B-854E-FBD9F6C99049 Triggers object[]触发器...

快速开始

不同编程语言的DashScope SDK版本需满足以下条件:Python:1.10.0及以上版本 Java:2.5.0及以上版本 示例代码 以下示例代码为您展示调用通义千问API对一个用户指令进行响应的操作。设置API-KEY 执行如下命令设置API-KEY。说明 将 YOUR_...

快速开始

通义千问 说明 支持的领域/任务:aigc 重要 通义千问2.1(qwen-max千亿级别模型)API 限时 免费开放中。通义千问是阿里云自主研发的大语言模型,能够在用户自然语言输入的基础上,通过自然语言理解和语义分析,在不同领域、任务内为用户...

快速开始

通义法睿 说明 支持的领域/任务:aigc 重要 通义法睿大语言模型API限时免费开放中 通义法睿是以通义千问为基座经法律行业数据和知识专门训练的法律行业大模型产品,综合运用了模型精调、强化学习、RAG检索增强、法律Agent及司法专属小模型...

业务空间模型调用

} catch(ApiException|NoApiKeyException|InputRequiredException e){ System.out.println(e.getMessage());} System.exit(0);} } API请求示例(SSE关闭)以下示例展示通过CURL命令来调用子空间的模型的脚本。说明 需要使用您的API-KEY替换...

API通道SDK

本示例为1.0.2.authType("iotAuth")/当云端接口需要用户身份鉴权时需要设置该参数,反之则不需要设置.addParam("input","测试")/参照API文档,设置API接口的参数,也可以使用.setParams(Map,Object>params)来设置.build();获取Client实例,...

API详情

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } 本地文件 您可以通过本地文件测试接口调用,示例代码如下。Python from dashscope import ...

API调用对接指引

应用调用平台API时,需要对请求做加签处理,为了简化应用开发,平台提供了SDK。应用调用平台API时,需要对请求做加签处理,为了简化应用开发,平台提供了SDK。1 API调用SDK下载 开发语言 sdk demo地址 Java ...

API详情

38a3-4b1e-9280-11c33ab46e51 HTTP调用 说明 本模型还可通过HTTP的方式进行调用,以适用更灵活的业务开发,下面是HTTP同步调用接口接口详情。作业提交接口调用 POST ...

API详情

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } 本地文件 您可以通过本地文件测试接口调用,示例代码如下。Python from dashscope import ...

API详情

38a3-4b1e-9280-11c33ab46e51 HTTP调用 说明 本模型还可通过HTTP的方式进行调用,以适用更灵活的业务开发,下面是HTTP同步调用接口接口详情。作业提交接口调用 POST ...

API详情

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } 本地文件 您可以通过本地文件测试接口调用,示例代码如下。Python from dashscope import ...

快速开始

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } python 调用成功后,将会返回如下示例结果。JSON {"status_code":200,"request_id":"cd828016-bcf5-94c7-82ed-...

快速开始

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } python 调用成功后,将会返回如下示例结果。JSON {"status_code":200,"request_id":"cd828016-bcf5-94c7-82ed-...

快速开始

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } python 调用成功后,将会返回如下示例结果。JSON {"status_code":200,"request_id":"cd828016-bcf5-94c7-82ed-...

快速开始

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } python 调用成功后,将会返回如下示例结果。JSON {"status_code":200,"request_id":"cd828016-bcf5-94c7-82ed-...

快速开始

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } python 调用成功后,将会返回如下示例结果。JSON {"status_code":200,"request_id":"69cee41a-8e6a-9471-8e71-...

快速开始

}catch(ApiException|NoApiKeyException e){ System.out.println(e.getMessage());} System.exit(0);} } 调用成功后,将会返回如下示例结果。{"status_code":200,"request_id":"b54ffeb8-6212-9dac-808c-b3771cba3788","code":null,...

API详情

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } 本地文件 您可以通过本地文件测试接口调用,示例代码如下。说明 本地文件的调用方式下,您的文件将通过SDK自动...

API详情

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } 本地文件 您可以通过本地文件测试接口调用。在传入文件路径时,请根据您所使用的系统和文件的路径进行调整,...

快速开始

6f9e-9f47-ad57-997ed8aeba6a","code":"","message":"","output":{"embeddings":[{"embedding":[0.09393704682588577,2.4155092239379883,-1.8923076391220093,.,.,.],"text_index":0 }]},"usage":{"total_tokens":23 } } 批处理接口调用 ...

快速开始

6f9e-9f47-ad57-997ed8aeba6a","code":"","message":"","output":{"embeddings":[{"embedding":[0.09393704682588577,2.4155092239379883,-1.8923076391220093,.,.,.],"text_index":0 }]},"usage":{"total_tokens":23 } } 批处理接口调用 ...

快速开始

JSON {"status_code":200,"request_id":"b3d8bb75-05a2-9044-8e9e-ec8c87689a5e","code":"","message":"","output":{"text":null,"finish_reason":null,"choices":[{"finish_reason":"stop","message":{"role":"assistant","content":"材料...

快速开始

JSON {"status_code":200,"request_id":"b3d8bb75-05a2-9044-8e9e-ec8c87689a5e","code":"","message":"","output":{"text":null,"finish_reason":null,"choices":[{"finish_reason":"stop","message":{"role":"assistant","content":"材料...

快速开始

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } 示例输出 上面示例代码请求正常完成之后,将会收到如下示例的返回结果。{"status_code":200,"request_id":"4fe...

快速开始

} catch(ApiException|NoApiKeyException|UploadFileException e){ System.out.println(e.getMessage());} System.exit(0);} } 示例输出 上面示例代码请求正常完成之后,将会收到如下示例的返回结果。{"status_code":200,"request_id":"4fe...

使用第三方 AAR 资源

sdk/build-tools/28.0.3/aapt d-values resources./sharedresnew-build-1.0.0-SNAPSHOT-api.jar>res.txt Windows 操作系统 C:\Users\用户名\AppData\Local\Android\Sdk\build-tools\28.0.3\aapt.exe d-values resources./sharedresnew-...

API详情

返回结果 非流式返回结果示例 JSON {"status_code":200,"request_id":"375d11ad-a8f5-962e-a3fd-32d8f4d17000","code":"","message":"","output":{"text":{"history":[["介绍下杭州","杭州是中华人民共和国浙江省的省会,位于中国东南沿海...

API详情

返回结果 非流式返回结果示例 JSON {"status_code":200,"request_id":"375d11ad-a8f5-962e-a3fd-32d8f4d17000","code":"","message":"","output":{"text":{"history":[["介绍下杭州","杭州是中华人民共和国浙江省的省会,位于中国东南沿海...

快速开始

} catch(ApiException|NoApiKeyException|InputRequiredException e){ System.out.println(e.getMessage());} System.exit(0);} } 调用成功后,将会返回如下示例结果。JSON {"text":"Spring has come,flowers blossomed."} {"input_tokens...

Token计算API详情

} catch(ApiException|NoApiKeyException|InputRequiredException e){ System.out.println(String.format("Exception%s",e.getMessage()));} System.exit(0);} } 参数配置 参数 类型 默认值 说明 model string-用户使用model参数指明对应的...

快速开始

} catch(ApiException|NoApiKeyException|InputRequiredException e){ System.out.println(e.getMessage());} System.exit(0);} } 调用成功后,将会返回如下示例结果。JSON {"text":"Spring has come,flowers blossomed."} {"input_tokens...

快速开始

} catch(ApiException|NoApiKeyException|InputRequiredException e){ System.out.println(e.getMessage());} System.exit(0);} } 调用成功后,将会返回如下示例结果。JSON {"status_code":200,"request_id":"0b9c2a71-89cf-963b-8eb4-2786...

快速使用

} catch(ApiException|NoApiKeyException|InputRequiredException e){ System.out.println(e.getMessage());} System.exit(0);} } 调用成功后,将会返回如下示例结果。JSON {"text":"Translation into English:Spring has come,and the ...

快速使用

} catch(ApiException|NoApiKeyException|InputRequiredException e){ System.out.println(e.getMessage());} System.exit(0);} } 调用成功后,将会返回如下示例结果。JSON {"text":"Translation into English:Spring has come,and the ...
共有200条 < 1 2 3 4 ... 200 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
API 网关 开源大数据平台 E-MapReduce 对象存储 视觉智能开放平台 短信服务 弹性公网IP
新人特惠 爆款特惠 最新活动 免费试用