lhtm-opt-chat-completion
チャットの内容に応じて、文章を生成します。
HTTP request
POST: https://api.staging.alt.ai/lhtm-opt/chat/completion
QUERY PARAMETERS
keyrequired | string APIキー |
REQUEST BODY SCHEMA
JSON 表現
{ "model": "string", "messages": [ { "role": "string", "content": "string" } ], "max_tokens": 0, "temperature": 0 }
model | string [Description]: Schema short description Default:modelv2 | ||||
messagesrequired | array [Description]: Schema short description | ||||
| |||||
max_tokens | number [Description]: Schema short description Default:128 | ||||
temperature | number [Description]: Schema short description Default:0.1 |
RESPONSE
EXAMPLE
JSON 表現
{ "result": "string" }
RESPONSE SCHEMA
result | string Example:"Response example value" |