Skip to content

Commit

Permalink
beta121
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoshinonyaruko committed May 19, 2024
1 parent 0bf4eae commit dfff20e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,16 @@ settings:
GET /gensokyo?prompt=example&api=conversation_ernie
```

支持端点列表:(需配置:allApi : true)
```golang
http.HandleFunc("/conversation_gpt", app.ChatHandlerChatgpt)
http.HandleFunc("/conversation_hunyuan", app.ChatHandlerHunyuan)
http.HandleFunc("/conversation_ernie", app.ChatHandlerErnie)
http.HandleFunc("/conversation_rwkv", app.ChatHandlerRwkv)
http.HandleFunc("/conversation_tyqw", app.ChatHandlerTyqw)
http.HandleFunc("/conversation_glm", app.ChatHandlerGlm)
```

## 请求 `/conversation` 端点

与 `/gensokyo` 类似,`/conversation` 端点支持附加 `prompt` 参数。
Expand Down

0 comments on commit dfff20e

Please sign in to comment.