omniai-anthropic 1.6.2 → 1.6.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e3ec18d95df3bf4941dd540413734412edd074ae66d67485f150acd5f4a2b9f9
4
- data.tar.gz: c661aa160f00d882957a91b219e89b35c242e3055dc259a488c1d7955d9df448
3
+ metadata.gz: 41fa9f2696b2457c4fdadf958b6e89c91555b4fad07b424455def24687fc77e5
4
+ data.tar.gz: 8e274f3203deddafc11be3b34d4947a5c95e0591180a605e09a54c4d3a4e8fe5
5
5
  SHA512:
6
- metadata.gz: 7af0dd8df929fe89b40d7be35153feb6f2e1f127e0fa103d76d22f934bda854be93ebd2eb00d29c1c7645ac61a8fdeb90c958b397b6f7fc35eb20ee291391cd7
7
- data.tar.gz: 3f5fa55a06a3c72bd3395523bb6911b4e911cd825029de2f1f0d184c4b0a6f1440bf5583baa3685382a37b2f5abb24d8c12682bef1f63ca1dfe8a038b328d1e4
6
+ metadata.gz: 895ef4d62346311990d7ccb6d096321071414b492a8e7f2ed52bcfa49017da89b6db31ab66e5cee299dded336e28ef41e50e70478d3977422a0a1f5751ea3326
7
+ data.tar.gz: 852a864614cf0c6495820e830ef6159b8d5856afccdaad9dd664571ddcb18d24b9e7c24d80d15c1d085c850424c2213b54d60031aebd8d393c9210bcfd470bc7
data/README.md CHANGED
@@ -56,7 +56,7 @@ completion.choice.message.content # 'The capital of Canada is Ottawa.'
56
56
  `model` takes an optional string (default is `claude-3-haiku-20240307`):
57
57
 
58
58
  ```ruby
59
- completion = client.chat('Provide code for fibonacci', model: OmniAI::Anthropic::Chat::Model::CLAUDE_SONET)
59
+ completion = client.chat('Provide code for fibonacci', model: OmniAI::Anthropic::Chat::Model::CLAUDE_SONNET)
60
60
  completion.choice.message.content # 'def fibonacci(n)...end'
61
61
  ```
62
62
 
@@ -18,14 +18,14 @@ module OmniAI
18
18
  CLAUDE_2_1 = 'claude-2.1'
19
19
  CLAUDE_3_OPUS_20240229 = 'claude-3-opus-20240229'
20
20
  CLAUDE_3_HAIKU_20240307 = 'claude-3-haiku-20240307'
21
- CLAUDE_3_SONET_20240307 = 'claude-3-haiku-20240307'
22
- CLAUDE_3_5_SONET_20240620 = 'claude-3-5-sonnet-20240620'
21
+ CLAUDE_3_SONNET_20240307 = 'claude-3-sonnet-20240307'
22
+ CLAUDE_3_5_SONNET_20240620 = 'claude-3-5-sonnet-20240620'
23
23
  CLAUDE_OPUS = CLAUDE_3_OPUS_20240229
24
24
  CLAUDE_HAIKU = CLAUDE_3_HAIKU_20240307
25
- CLAUDE_SONET = CLAUDE_3_5_SONET_20240620
25
+ CLAUDE_SONNET = CLAUDE_3_5_SONNET_20240620
26
26
  end
27
27
 
28
- DEFAULT_MODEL = Model::CLAUDE_HAIKU
28
+ DEFAULT_MODEL = Model::CLAUDE_SONNET
29
29
 
30
30
  # @param [Media]
31
31
  # @return [Hash]
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAI
4
4
  module Anthropic
5
- VERSION = '1.6.2'
5
+ VERSION = '1.6.3'
6
6
  end
7
7
  end
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.6.2
4
+ version: 1.6.3
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-07-18 00:00:00.000000000 Z
11
+ date: 2024-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: event_stream_parser