omniai-mistral 1.9.1 → 1.9.2

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: 66a5b31dbbd287c27ea3f815bab4a63fa855576669c0c5da0f5bd6dbd7b67df2
4
- data.tar.gz: 98e7463d5a25752a0aa7a509fcfecbb61242e33303b86384138d360fb065e577
3
+ metadata.gz: 416fbe792fcacbb4c03711794a907781642121845f8cb9c62edd51e8d54729a7
4
+ data.tar.gz: f34497a077e1d33f595c3ec590858ec4b4456e9d1394a58ceb77708bd2c93668
5
5
  SHA512:
6
- metadata.gz: b867984b5d68d20d39b875e80d9a88aef71a9ea7214855996c9db06ef58bb537979bf2530bb645fd2441e35698d0010b333fe0887efa0605e604d2e010b3d92b
7
- data.tar.gz: 25c16dbe01ae80dc2c67c1988f6ae9eccdfd93c37e9628fe6f3b2e1b8d297facd1d21b6ee5daa42250e4ba528966e4770a3e6fc9fcb7ff04c4478fc54dd5d43b
6
+ metadata.gz: c2894203eac23c197cea394e73d3f4612d268dd0b6905199203f1669d08013b56af202033ac5bcefff43cabfa98b2e99215442b1c06e0fe93abd1225aad92bb6
7
+ data.tar.gz: 45bf435692fd074a084640104c9918c2376af677df182b01c54e57a6efea2fcbcf4206463c0619758f8b07ce379ca8a27298de536c4de03fb0ab0bee78ef3193
@@ -13,13 +13,29 @@ module OmniAI
13
13
  # chat.completion([{ role: 'system', content: 'Tell me a joke.' }])
14
14
  class Chat < OmniAI::Chat
15
15
  module Model
16
- SMALL = 'mistral-small-latest'
17
- MEDIUM = 'mistral-medium-latest'
18
- LARGE = 'mistral-large-latest'
19
- CODESTRAL = 'codestral-latest'
16
+ MISTRAL_SMALL_2409 = 'mistral-small-2409'
17
+ MISTRAL_SMALL_LATEST = 'mistral-small-latest'
18
+ MISTRAL_MEDIUM_2312 = 'mistral-medium-2312' # LEGACY
19
+ MISTRAL_MEDIUM_LATEST = 'mistral-medium-latest' # LEGACY
20
+ MISTRAL_LARGE_2411 = 'mistral-large-2411'
21
+ MISTRAL_LARGE_LATEST = 'mistral-large-latest'
22
+ CODESTRAL_2405 = 'codestral-2405'
23
+ CODESTRAL_LATEST = 'codestral-latest'
24
+ MINISTRAL_3B_2410 = 'ministral-3b-2410'
25
+ MINISTRAL_3B_LATEST = 'ministral-3b-latest'
26
+ MINISTRAL_8B_2410 = 'ministral-8b-2410'
27
+ MINISTRAL_8B_LATEST = 'ministral-8b-latest'
28
+ MISTRAL_MODERATION_2411 = 'mistral-moderation-2411'
29
+ MISTRAL_MODERATION_LATEST = 'mistral-moderation-latest'
30
+ MISTRAL_EMBED = 'mistral-embed'
31
+ PIXTRAL_LARGE_2411 = 'pixtral-large-2411'
32
+ PIXTRAL_LARGE_LATEST = 'pixtral-large-latest'
33
+ SMALL = MISTRAL_SMALL_LATEST
34
+ MEDIUM = MISTRAL_MEDIUM_LATEST # LEGACY
35
+ LARGE = MISTRAL_LARGE_LATEST
20
36
  end
21
37
 
22
- DEFAULT_MODEL = Model::LARGE
38
+ DEFAULT_MODEL = Model::PIXTRAL_LARGE_LATEST
23
39
 
24
40
  module Role
25
41
  ASSISTANT = 'assistant'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAI
4
4
  module Mistral
5
- VERSION = '1.9.1'
5
+ VERSION = '1.9.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniai-mistral
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
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-11-05 00:00:00.000000000 Z
11
+ date: 2024-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: event_stream_parser