From 666c38e7b1f9b7fc3b12ab0428cfd36049d79340 Mon Sep 17 00:00:00 2001 From: YuCheng Hu Date: Fri, 10 Mar 2023 12:34:30 -0500 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E8=BF=B0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=9D=A5=E6=8F=90=E4=BE=9B=E5=85=81=E8=AE=B8=20OpenAI?= =?UTF-8?q?=20=E7=9A=84=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8b408ed..0a22ba7 100644 --- a/README.md +++ b/README.md @@ -112,12 +112,12 @@ Your client will need to use snake case to work with the OpenAI API. ## Running the example project -All the [example](example/src/main/java/example/OpenAiApiExample.java) project requires is your OpenAI api token +There is an [example](https://github.com/honeymoose/OpenAI-J/blob/main/example/src/main/java/com/ossez/openai/example/OpenAiApiExample.java) project +with a OpenAiApiExample file contain main function to run. -``` -export OPENAI_TOKEN="sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" -./gradlew example:run -``` +Also, you can run all tests by JUnit too. + +[OpenAI-J 如何进行测试](https://www.ossez.com/t/openai-j/14338) ## Deprecated Endpoints