lhtm-opt-chat-completion

チャットの内容に応じて、文章を生成します。

HTTP request

POST: https://api.staging.alt.ai/lhtm-opt/chat/completion

QUERY PARAMETERS

key
required
string
APIキー

REQUEST BODY SCHEMA

JSON 表現
{
  "model": "string",
  "messages": [
    {
      "role": "string",
      "content": "string"
    }
  ],
  "max_tokens": 0,
  "temperature": 0
}
modelstring
[Description]: Schema short description
Default:modelv2
messages
required
array
[Description]: Schema short description
rolestring
Enum: "system""assistant""user"
contentstring
max_tokensnumber
[Description]: Schema short description
Default:128
temperaturenumber
[Description]: Schema short description
Default:0.1

RESPONSE

EXAMPLE

JSON 表現
{
  "result": "string"
}

RESPONSE SCHEMA

resultstring
Example:"Response example value"
;