{
"model": "glm-4.7-flash",
"messages": [
{
"role": "system",
"content": "你是一个有用的AI助手。"
},
{
"role": "user",
"content": "请介绍一下人工智能的发展历程。"
}
],
"stream": false,
"temperature": 1
}curl --location --request POST 'https://maas.haoee.com/v1/chat/completions' \
--header 'Authorization: {{API_KEY}}' \
--header 'modelName: glm-4.7-flash' \
--header 'lineType: main' \
--header 'Content-Type: application/json' \
--data-raw '{
"model": "glm-4.7-flash",
"messages": [
{
"role": "system",
"content": "你是一个有用的AI助手。"
},
{
"role": "user",
"content": "请介绍一下人工智能的发展历程。"
}
],
"stream": false,
"temperature": 1
}'{}