weaviate-ruby 0.8.1 → 0.8.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: ff43dd4e48354bba53771fbc30f7c865f9df31d5dcc667b0b4b4f2d907eac333
4
- data.tar.gz: a3dd981006d613a1cc459f73d1fdc097900d92f51d05949ae66d55382311a301
3
+ metadata.gz: 8e63b3f0149e87dc2aec7c38970e91866e45dfccfc9e46c1378c27b9135f4a4d
4
+ data.tar.gz: f22c4a1c4eb8cdd2acd9d70b95404c46afb11c19e3821be35fb5b49048563dcb
5
5
  SHA512:
6
- metadata.gz: cfd1bc9822c6ad3326f165de30480d67f71ba6f72eacb0a8eeb95c45e38d903b46d61b1b86d9b73a841ebf60d0e6f13b5e472288fca1fbb0fba640f825b54cad
7
- data.tar.gz: 59e369bd4676ae0ad3a7429e5355db9898638ff339dc6779f99a4585f340243c4f25065af276eaff67add8aa58871539c726afd9f4096cacf8ce3ecf96c77490
6
+ metadata.gz: 843a49164ce05ed851dcf80e228e75839f05d7ee73c65087da21f72ab689f2c5388ac14ba06a1782c3aeda62ff1b01104bf52eb230313df145b9afafcb856c25
7
+ data.tar.gz: b1fd3ee9aa230da2499cc9ce1e8c24f69bb29a3199b07e16cf0f1095f53da9094a83ae849c9d266ff27a8292cb6d7b4166c7e257cb02a698b7d53702bbdb1f20
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.8.3] - 2023-06-25
4
+ - Add Google PaLM support
5
+
6
+ ## [0.8.2] - 2023-05-18
7
+
8
+ ## [0.8.1] - 2023-05-10
9
+
3
10
  ## [0.8.0] - 2023-04-18
4
11
 
5
12
  ### Breaking
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- weaviate-ruby (0.8.1)
4
+ weaviate-ruby (0.8.3)
5
5
  faraday (~> 1)
6
6
  faraday_middleware (~> 1)
7
7
  graphlient (~> 0.6.0)
data/README.md CHANGED
@@ -30,8 +30,8 @@ require 'weaviate'
30
30
  client = Weaviate::Client.new(
31
31
  url: 'https://some-endpoint.weaviate.network', # Replace with your endpoint
32
32
  api_key: '', # Weaviate API key
33
- model_service: :openai, # Service that will be used to generate vectors. Possible values: :openai, :cohere, :huggingface
34
- model_service_api_key: 'xxxxxxx' # Either OpenAI, Cohere or Hugging Face API key
33
+ model_service: :openai, # Service that will be used to generate vectors. Possible values: :openai, :azure_openai, :cohere, :huggingface, :google_palm
34
+ model_service_api_key: 'xxxxxxx' # Either OpenAI, Azure OpenAI, Cohere, Hugging Face or Google PaLM api key
35
35
  )
36
36
  ```
37
37
 
@@ -12,8 +12,10 @@ module Weaviate
12
12
 
13
13
  API_KEY_HEADERS = {
14
14
  openai: "X-OpenAI-Api-Key",
15
+ azure_openai: "X-Azure-Api-Key",
15
16
  cohere: "X-Cohere-Api-Key",
16
- huggingface: "X-HuggingFace-Api-Key"
17
+ huggingface: "X-HuggingFace-Api-Key",
18
+ google_palm: "X-Palm-Api-Key"
17
19
  }
18
20
 
19
21
  def initialize(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Weaviate
4
- VERSION = "0.8.1"
4
+ VERSION = "0.8.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weaviate-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.3
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-10 00:00:00.000000000 Z
11
+ date: 2023-06-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday