Groq2API
1.0.0
docker run -d -p 8080:8080 ghcr.io/star-studio-develop/groq2api:latest
可選參數列表
model
模型名稱stream
是否有串流輸出max_tokens
最大生成長度message
role
訊息角色curl --request POST
--url http://127.0.0.1:8080/v1/chat/completions
--header ' Authorization: Bearer stytch_session '
--data ' {
"messages": [
{
"role": "user",
"content": "hi"
}
],
"model": "mixtral-8x7b-32768",
"max_tokens": 4096,
"stream": true
} '