weaviate-ruby 0.8.1 → 0.8.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: ff43dd4e48354bba53771fbc30f7c865f9df31d5dcc667b0b4b4f2d907eac333
4
- data.tar.gz: a3dd981006d613a1cc459f73d1fdc097900d92f51d05949ae66d55382311a301
3
+ metadata.gz: 4bcf8baba483726456d4c887dc2e7195a5b879992ed417d7d250c4d57c9937d4
4
+ data.tar.gz: 6d5934c6ac503b6883fbc06efc505f2df9cc69a6441d10ab4793a86ec7bd61c1
5
5
  SHA512:
6
- metadata.gz: cfd1bc9822c6ad3326f165de30480d67f71ba6f72eacb0a8eeb95c45e38d903b46d61b1b86d9b73a841ebf60d0e6f13b5e472288fca1fbb0fba640f825b54cad
7
- data.tar.gz: 59e369bd4676ae0ad3a7429e5355db9898638ff339dc6779f99a4585f340243c4f25065af276eaff67add8aa58871539c726afd9f4096cacf8ce3ecf96c77490
6
+ metadata.gz: 21f5725a8751126d0468c3e48cdefc30ac37650193f7140e052bee082d1cdc572083896e0df0d5b3c0943958c56afb1d3cb0bcaf87cc1567fa7e2510674460cd
7
+ data.tar.gz: 52fffd1f50a8f981f650b12487179ea47c4791f08d469389a03b15648017d52214db21eb9b61c3d82609c6b32b2b6f5e5d0ffd39d3c44710c64f13d7707ae828
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.2)
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
34
+ model_service_api_key: 'xxxxxxx' # Either OpenAI, Azure OpenAI, Cohere or Hugging Face API key
35
35
  )
36
36
  ```
37
37
 
@@ -12,6 +12,7 @@ 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
17
  huggingface: "X-HuggingFace-Api-Key"
17
18
  }
@@ -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.2"
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.2
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-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday