Skip to content

Commit

Permalink
Merge pull request #69 from gouguoyin/patch-3
Browse files Browse the repository at this point in the history
Fix description order error
  • Loading branch information
orhanerday authored Mar 8, 2023
2 parents 68c9d9e + 74d5a1a commit d2d96d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ Usage from these API requests will count against the specified organization's su

````php
$open_ai_key = getenv('OPENAI_API_KEY');
$open_ai->setORG("org-IKN2E1nI3kFYU8ywaqgFRKqi");
$open_ai = new OpenAi($open_ai_key);
$open_ai->setORG("org-IKN2E1nI3kFYU8ywaqgFRKqi");
````

## Base URL
Expand All @@ -250,8 +250,8 @@ You can specify Origin URL with `setBaseURL()` method;

````php
$open_ai_key = getenv('OPENAI_API_KEY');
$open_ai->setBaseURL("https://ai.example.com/");
$open_ai = new OpenAi($open_ai_key,$originURL);
$open_ai->setBaseURL("https://ai.example.com/");
````

## Use Proxy
Expand Down

0 comments on commit d2d96d0

Please sign in to comment.