Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoskys committed Nov 12, 2023
1 parent 9fe100d commit ae7e3ea
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 27 deletions.
16 changes: 4 additions & 12 deletions docs/en/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -380,18 +380,10 @@ OPENAI_API_PROXY = socks5://127.0.0.1:7890
Please make sure your Openai API Endpoint is complete.
:::
Optional models are as follows
```python
OPENAI_API_MODEL = [
"gpt-3.5-turbo-0301",
"gpt-3.5-turbo-0613",
"gpt-3.5-turbo",
"gpt-4-0314",
"gpt-4-0613",
"gpt-4"
]
```
For a list of all Openai models supported except the `0314` series, please refer
to [Openai API](https://beta.openai.com/docs/api-reference/).
Supports two modes: `FunctionCall` and `ToolCall`.
Users can apply for API Key at [Openai](https://beta.openai.com/).
Expand Down
20 changes: 5 additions & 15 deletions docs/guide/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -381,18 +381,9 @@ OPENAI_API_PROXY = socks5://127.0.0.1:7890
请确保您的 Openai API Endpoint 是完整的。
:::

可选模型如下

```python
OPENAI_API_MODEL = [
"gpt-3.5-turbo-0301",
"gpt-3.5-turbo-0613",
"gpt-3.5-turbo",
"gpt-4-0314",
"gpt-4-0613",
"gpt-4"
]
```
支持除 `0314` 系列的所有 Openai 模型列表请参考 [Openai API](https://beta.openai.com/docs/api-reference/)。

支持 `FunctionCall``ToolCall` 两种模式。

用户可以在 [Openai](https://beta.openai.com/) 申请 API Key。

Expand All @@ -402,12 +393,11 @@ OPENAI_API_MODEL = [

如果你使用 [One-API](https://github.com/songquanpeng/one-api) 作为分流器并使用了不支持 functions 的模型,那么你可能无法使用一些基于
Func Calling 的功能。
例如函数,文件支持等。

如果你在使用 Azure ,请确认你使用的版本支持 functions。

本程序可以在不能使用 `functions`
的情况下运行单点回复,但是其发送请求时,会带有 `functions: Optional[List[Function]]` `function_call: Optional[str]` 参数。
本程序可以在不能使用`functions`的情况下运行单点回复,
但是其发送请求时,会带有 `functions: Optional[List[Function]]` `function_call: Optional[str]` 参数。

0 comments on commit ae7e3ea

Please sign in to comment.