Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudall committed Apr 29, 2024
1 parent b447db4 commit 2545871
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ For a quick test you can pass your token directly to a new client:
```ruby
client = OpenAI::Client.new(
access_token: "access_token_goes_here",
log_errors: true # Highly recommended in development, so you can see what errors OpenAI is returning. Not recommend in production.
)
log_errors: true # Highly recommended in development, so you can see what errors OpenAI is returning. Not recommended in production.
)
```

### With Config
Expand All @@ -115,7 +115,7 @@ For a more robust setup, you can configure the gem with your API keys, for examp
OpenAI.configure do |config|
config.access_token = ENV.fetch("OPENAI_ACCESS_TOKEN")
config.organization_id = ENV.fetch("OPENAI_ORGANIZATION_ID") # Optional.
config.log_errors = true # Highly recommended in development, so you can see what errors OpenAI is returning. Not recommend in production.
config.log_errors = true # Highly recommended in development, so you can see what errors OpenAI is returning. Not recommended in production.
end
```

Expand Down

0 comments on commit 2545871

Please sign in to comment.