OpenAI
Chat Completion
POST https://p0.kamiya.dev/api/openai/chat/completions{
"messages": [
{
"role":"system",
"content":"You are ChatGPT, a large language model trained by OpenAI.\nCarefully heed the user's instructions. \nRespond using Markdown."
},
{
"role":"user",
"content":"你好"
}
],
"model":"openai:gpt-3.5-turbo",
"max_tokens":null,
"temperature":1,
"presence_penalty":0,
"top_p":1,
"frequency_penalty":0,
"stream":true
}经简化的Chat API
最后更新于