Skip to content

Commit

Permalink
claude doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Sakurasan committed Sep 16, 2023
1 parent 545147a commit aa1d00c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ OpenCat for Team的开源实现
| 任务 | 完成情况 |
| --- | --- |
|[Azure OpenAI](./doc/azure.md) ||
|[Claude](./doc/azure.md) | ~~~~|
| ... | ... |


Expand Down
7 changes: 5 additions & 2 deletions doc/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ Req:
}
```
api_type:不传的话默认为“openai”;当前可选值[openai,azure_openai]
api_type:不传的话默认为“openai”;当前可选值[openai,azure,claude]
endpoint: 当 api_type 为 azure_openai时传入(目前暂未使用)

Resp:
Expand Down Expand Up @@ -236,4 +236,7 @@ Resp:
"totalUnit" : 55
}
]
```
```

## Whisper接口
### 与openai一致
4 changes: 4 additions & 0 deletions doc/azure.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,7 @@
- [AMA(问天)](http://bytemyth.com/ama) 使用方式
- ![](azure_ama.png)
- 每个 team server 用户旁边有一个复制按钮,点击后,把复制的链接粘贴到浏览器,可以一键设置

## Claude

- opencat 添加Claude api, key name以 "claude.key名称",即("Api类型.Key名称")

0 comments on commit aa1d00c

Please sign in to comment.