创建LLM定制模型的完成
开发环境
开发环境
POST
https://enterprise-api.writer.com /llm/organization/ {organizationId} /model/ {modelId} /customization/ {customizationId} /completions
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://enterprise-api.writer.com /llm/organization/ /model/ /customization/ /completions' \
--header 'content-type: application/json' \
--data-raw ''
响应示例响应示例
200 - 成功示例
{
"choices": [
{
"text": "string",
"logprobs": {
"tokens": [
"string"
],
"tokenLogprobs": [
0
],
"topLogprobs": [
{
"additionalProp": "string"
}
],
"textOffset": [
0
]
}
}
]
}
请求参数
Path 参数
organizationId
string
必需
modelId
string
必需
customizationId
string
必需
Header 参数
content-type
string
必需
示例值:
application/json
返回响应
修改于 2024-02-01 08:19:22