Skip to content

Commit

Permalink
doc(README): add image
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Sep 22, 2023
1 parent 8c483a3 commit 76b4d69
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ then you can open the admin page at `http://localhost:3000/`.

1. Create channel on the admin page, create a new key.

<img width="752" alt="image" src="https://github.com/RockChinQ/free-one-api/assets/45992437/d163652b-0b71-4ca9-89fb-ac964692f0ee">
![add_channel](assets/add_channel.png)

2. Set the url (e.g. http://localhost:3000/v1 ) as OpenAI endpoint, and set the generated key as OpenAI api key.
3. Then you can use the OpenAI API to access the reverse engineered LLM lib.
Expand Down
2 changes: 1 addition & 1 deletion README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ python main.py

1. 创建一个 channel,按照说明填写配置,然后创建一个新的 key。

<img width="752" alt="image" src="https://github.com/RockChinQ/free-one-api/assets/45992437/d163652b-0b71-4ca9-89fb-ac964692f0ee">
![add_channel](assets/add_channel.png)

2. 将 url (e.g. http://localhost:3000/v1 ) 设置为 OpenAI 的 api_base ,将生成的 key 设置为 OpenAI api key。
3. 现在你可以使用 OpenAI API 来访问逆向工程的 LLM 库了。
Expand Down
Binary file added assets/add_channel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 76b4d69

Please sign in to comment.