diff --git a/README.md b/README.md index 6abd247..d199378 100644 --- a/README.md +++ b/README.md @@ -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', diff --git a/README_CN.md b/README_CN.md index e6d53bc..315d4d9 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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', diff --git a/pictures/usage.png b/pictures/usage.png new file mode 100644 index 0000000..ac38f1a Binary files /dev/null and b/pictures/usage.png differ