sanbo
commited on
Commit
·
f265549
1
Parent(s):
10b291b
update sth. at 2024-11-14 16:07:56
Browse files
README.md
CHANGED
@@ -55,6 +55,18 @@ curl --location 'https://sanbo1200-duck2api.hf.space/api/v1/chat/completions' \
|
|
55 |
}'
|
56 |
```
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
### Docker部署
|
59 |
暂时支持
|
60 |
|
|
|
55 |
}'
|
56 |
```
|
57 |
|
58 |
+
### 国内反代地址
|
59 |
+
|
60 |
+
``` bash
|
61 |
+
curl --location 'https://p.till.us.kg/till/https/sanbo1200-duck2api.hf.space/completions' \
|
62 |
+
--header 'Content-Type: application/json' \
|
63 |
+
--data '{
|
64 |
+
"model": "gpt-4o-mini",
|
65 |
+
"messages": [{"role":"system","content":"你是一个辅助机器人"},{"role": "user", "content": "你的知识库最后什么日期"}],
|
66 |
+
"stream": true
|
67 |
+
}'
|
68 |
+
```
|
69 |
+
|
70 |
### Docker部署
|
71 |
暂时支持
|
72 |
|