mirror of
https://github.com/LLM-Red-Team/kimi-free-api.git
synced 2024-12-23 03:09:19 +08:00
update README
This commit is contained in:
parent
7cc6033201
commit
d862808226
@ -262,6 +262,9 @@ Authorization: Bearer [refresh_token]
|
|||||||
{
|
{
|
||||||
// 模型名称随意填写,如果不希望输出检索过程模型名称请包含silent_search
|
// 模型名称随意填写,如果不希望输出检索过程模型名称请包含silent_search
|
||||||
"model": "kimi",
|
"model": "kimi",
|
||||||
|
// 目前多轮对话基于消息合并实现,某些场景可能导致能力下降且受单轮最大Token数限制
|
||||||
|
// 如果您想获得原生的多轮对话体验,可以传入首轮消息获得的id,来接续上下文,注意如果使用这个,首轮必须传none,否则第二轮会空响应!
|
||||||
|
// "conversation_id": "cnndivilnl96vah411dg",
|
||||||
"messages": [
|
"messages": [
|
||||||
{
|
{
|
||||||
"role": "user",
|
"role": "user",
|
||||||
@ -278,6 +281,7 @@ Authorization: Bearer [refresh_token]
|
|||||||
响应数据:
|
响应数据:
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
// 如果想获得原生多轮对话体验,此id,你可以传入到下一轮对话的conversation_id来接续上下文
|
||||||
"id": "cnndivilnl96vah411dg",
|
"id": "cnndivilnl96vah411dg",
|
||||||
"model": "kimi",
|
"model": "kimi",
|
||||||
"object": "chat.completion",
|
"object": "chat.completion",
|
||||||
|
Loading…
Reference in New Issue
Block a user