Skip to content

Commit

Permalink
updated the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fatwang2 committed Apr 24, 2024
1 parent f183a01 commit f7e9898
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,12 @@ pnpm start
```

## Usage
1. OpenAI Clients

![botgem](pictures/usage.png)

2. Code

```JavaScript
const response = await fetch('http://localhost:3000/v1/chat/completions', {
method: 'POST',
Expand Down
6 changes: 6 additions & 0 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ pnpm start
```

# 用法
1. OpenAI 三方客户端

![botgem](pictures/usage.png)

2. 代码里直接调用

```JavaScript
const response = await fetch('http://localhost:3000/v1/chat/completions', {
method: 'POST',
Expand Down
Binary file added pictures/usage.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 f7e9898

Please sign in to comment.