We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4565ed commit 7d8ee4fCopy full SHA for 7d8ee4f
README.md
@@ -29,7 +29,7 @@ require "bundler/setup"
29
require "openai"
30
31
openai = OpenAI::Client.new(
32
- api_key: "My API Key" # defaults to ENV["OPENAI_API_KEY"]
+ api_key: ENV["OPENAI_API_KEY"] # This is the default and can be omitted
33
)
34
35
chat_completion = openai.chat.completions.create(
0 commit comments