婆罗门
精华
|
战斗力 鹅
|
回帖 0
注册时间 2011-11-21
|
一般思考强度都是单独参数呀,不会塞到system_prompt里的
https://api-docs.deepseek.com/zh-cn/
- curl https://api.deepseek.com/chat/completions \
- -H "Content-Type: application/json" \
- -H "Authorization: Bearer ${DEEPSEEK_API_KEY}" \
- -d '{
- "model": "deepseek-flash",
- "messages": [
- {"role": "system", "content": "You are a helpful assistant."},
- {"role": "user", "content": "Hello!"}
- ],
- "thinking": {"type": "enabled"},
- "reasoning_effort": "high",
- "stream": false
- }'
复制代码
不过我也不知道是不是transformer架构里这玩意改了就要整块重算,可能DS的KV Cache方案优化过这一块之类的 |
|