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 +4 -4
- data/lib/omniai/mistral/chat.rb +21 -5
- data/lib/omniai/mistral/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: 416fbe792fcacbb4c03711794a907781642121845f8cb9c62edd51e8d54729a7
|
4
|
+
data.tar.gz: f34497a077e1d33f595c3ec590858ec4b4456e9d1394a58ceb77708bd2c93668
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c2894203eac23c197cea394e73d3f4612d268dd0b6905199203f1669d08013b56af202033ac5bcefff43cabfa98b2e99215442b1c06e0fe93abd1225aad92bb6
|
7
|
+
data.tar.gz: 45bf435692fd074a084640104c9918c2376af677df182b01c54e57a6efea2fcbcf4206463c0619758f8b07ce379ca8a27298de536c4de03fb0ab0bee78ef3193
|
data/lib/omniai/mistral/chat.rb
CHANGED
@@ -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
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
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::
|
38
|
+
DEFAULT_MODEL = Model::PIXTRAL_LARGE_LATEST
|
23
39
|
|
24
40
|
module Role
|
25
41
|
ASSISTANT = 'assistant'
|
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.
|
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-
|
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
|