Skip to content

Commit 75cb1dd

Browse files
authored
Update README to use a positional api_key argument
The README shows that the client should be initialized with a named argument. This changed in 0.9. to use a positional argument: https://github.com/andreibondarev/cohere-ruby/pull/8/files
1 parent 3c62468 commit 75cb1dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
3333
require "cohere"
3434

3535
client = Cohere::Client.new(
36-
api_key: ENV['COHERE_API_KEY']
36+
ENV['COHERE_API_KEY']
3737
)
3838
```
3939
### Generate

0 commit comments

Comments
 (0)