langchainrb 0.3.5 → 0.3.6

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: 252bfabecd9100d29bab8be718ba43421369812a6f02d4526970fcef85a7617e
4
- data.tar.gz: 468cdbb3a31238b5dfc53d4dbd22d5d00e2d0347a3482660361841f6663bc1da
3
+ metadata.gz: 576c331bc4372bc1934a6a75fc496469242d0b645b56ffb9163cd9f812007414
4
+ data.tar.gz: 82a9ea6c734cab1490fbe8060732c41c4aba6e3d06d6895ea40e9f2f5db2f6ac
5
5
  SHA512:
6
- metadata.gz: deed8fc8b33c590b1c057a53985295a2447e11f0917c3646b03f592035c15f00fe27b852bc6f6e8455e79a604ac699252720cc84d4d011c69b1b1f71a7047d81
7
- data.tar.gz: f6681fdd1ffcc468bb515c3bae1231c17d85c59925305a698be4766bb8beb29b0a748b088c8943b012a01da7d6c38744b7e46efb7ad4fd6f9245f9a634dffcf9
6
+ metadata.gz: ce0325a59c2257e35c0be5e3e78ad44d046a058070585ba8127b97338c4280d4897f0dd070b16b9bea9cc0f5f7cd7f6b330611bb49f6180ecb0dafc55bb77d16
7
+ data.tar.gz: f38012ae7d0da8c70d76f37f2a24431e709fe0841e62812f1471a1b9a2b33763235c4eb246bb6f20d61e50e903c137156abb851a25b4d46e4b7fd85333f2dfe2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.3.6] - 2023-05-17
4
+ - LLMs
5
+ - Bump `hugging-face` gem version
6
+
3
7
  ## [0.3.5] - 2023-05-16
4
8
  - Bug fixes
5
9
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- langchainrb (0.3.5)
4
+ langchainrb (0.3.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -117,7 +117,7 @@ GEM
117
117
  httparty (0.21.0)
118
118
  mini_mime (>= 1.0.0)
119
119
  multi_xml (>= 0.5.2)
120
- hugging-face (0.3.2)
120
+ hugging-face (0.3.3)
121
121
  faraday (~> 1.0)
122
122
  i18n (1.13.0)
123
123
  concurrent-ruby (~> 1.0)
@@ -249,7 +249,7 @@ DEPENDENCIES
249
249
  dotenv-rails (~> 2.7.6)
250
250
  eqn (~> 1.6.5)
251
251
  google_search_results (~> 2.0.0)
252
- hugging-face (~> 0.3.2)
252
+ hugging-face (~> 0.3.3)
253
253
  langchainrb!
254
254
  milvus (~> 0.9.0)
255
255
  pinecone (~> 0.1.6)
@@ -26,7 +26,8 @@ module LLM
26
26
  # @return [Array] The embedding
27
27
  def embed(text:)
28
28
  response = client.embedding(
29
- input: text
29
+ input: text,
30
+ model: DEFAULTS[:embeddings_model_name]
30
31
  )
31
32
  end
32
33
  end
data/lib/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Langchain
4
- VERSION = "0.3.5"
4
+ VERSION = "0.3.6"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: langchainrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5
4
+ version: 0.3.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrei Bondarev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-05-16 00:00:00.000000000 Z
11
+ date: 2023-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dotenv-rails
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.3.2
89
+ version: 0.3.3
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.3.2
96
+ version: 0.3.3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: milvus
99
99
  requirement: !ruby/object:Gem::Requirement