📌 📄 内容摘要:
MAXTRNN (@maxtr) 在 浙大的Deepseek的api格式是哪一种 中发帖
[image]
浙大的api里面的教程 大先生的格式是这一种:
curl --location ‘https://chat.zju.edu.cn/api/ai/v1/chat/completions’
–header ‘Content-Type: application/json’
–header ‘Authorization: Bearer ’
–data ‘{
“model”: “deepseek-r1-671b”,
“messages”: [
{“role”: “system”, “content”: “You are a helpful assistant.”},
{“role”: “user”, “content”: “3.11与3.9谁大”}
],
“stream”: true
}’
响应为:
{
“id”: “chat0da3857...
────────── 链接信息 ────────── 🔗 论坛链接: linux.do 📎 访问地址: https://linux.do/t/topic/527700/1 ─────────────────────────────
📢 来源:LINUX DO