omniai-anthropic 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/omniai/anthropic/chat/completion.rb +1 -1
- data/lib/omniai/anthropic/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa660597cc0de2cd00fa3629d04904cc4e66a0006c977bb34435f08609fb42da
|
4
|
+
data.tar.gz: 508b2098cd6c1c74325fcb6b8a4b41dec262023af319e2ba6c9024687975e51e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccf55f67c7fa7fbcdcaaf8ef2ef3c42aea55d73acf3eec786e4b242af0ddbdfa9693d506727f567475ae9b4186e2f70ac4cb7c8eb0a414c0ffa0a18ff1bce922
|
7
|
+
data.tar.gz: 61bbcff1cd4c44105b59a569fd054c3142e3b794f5fdb2b97cb83067a6409be4282bb3479d73e8994acddd347e4d6ab0c91f1fd2abe229169ac969fd03e5f5e2
|
data/README.md
CHANGED
@@ -67,7 +67,7 @@ completion.choice.message.content # 'The capital of Canada is Ottawa.'
|
|
67
67
|
`model` takes an optional string (default is `claude-3-haiku-20240307`):
|
68
68
|
|
69
69
|
```ruby
|
70
|
-
completion = client.chat('Provide code for fibonacci', model: OmniAI::Anthropic::Chat::Model::
|
70
|
+
completion = client.chat('Provide code for fibonacci', model: OmniAI::Anthropic::Chat::Model::CLAUDE_OPUS)
|
71
71
|
completion.choice.message.content # 'def fibonacci(n)...end'
|
72
72
|
```
|
73
73
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniai-anthropic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Sylvestre
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: event_stream_parser
|