omniai-openai 1.8.4 → 1.9.1

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: a854e09772f9bbb85c5888f17118c935de8638c451e40f0e9991e48c334ee9eb
4
- data.tar.gz: e83aa0301a4ace180898d86ddd1cddeccece1f9fca8da97316430ad2aebb5170
3
+ metadata.gz: 1b1c24b9ac02d2b147545b2ee6a90e57a84358ae73501eb74bd7075b194d2329
4
+ data.tar.gz: d43256628ab71b0f80277044d9e65a33596dff1354ff819af48671d50e8935a5
5
5
  SHA512:
6
- metadata.gz: d63e04ffdd27bc4d362d15bd6415a8101a87f973f259b034617168a5e1196505198a59c812782e3d94087a54ebf434eb959f4afb06dbba9add6d40152674e58a
7
- data.tar.gz: 971dfa467e7276b0eab4495f18f343884f8f5fd3894227e8ac4643f0860d2761b6c3d9938a58ca637d8544fbeb963710b0012b1b66c588d48baf7ee282b1324e
6
+ metadata.gz: 7cb3cfa6f659c0f1f5a8cd5b844a5bc4ff72d54b6e860d61083f5aec70c91fe4ec87025b2cb92fc54e1a68a642a3a36091e43f60f624fe8d880281ad4db0cb43
7
+ data.tar.gz: 01e8896f53d6a99b3f1d864165716010d27f622808f85e74d1dd1fd2f9fc9facfd9c161cf00711d418a023c6db0349972149537728c87a9bea0def49e15c7608
data/README.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # OmniAI::OpenAI
2
2
 
3
- [![CircleCI](https://circleci.com/gh/ksylvest/omniai-openai.svg?style=svg)](https://circleci.com/gh/ksylvest/omniai-openai)
3
+ [![LICENSE](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/ksylvest/omniai-openai/blob/main/LICENSE)
4
+ [![RubyGems](https://img.shields.io/gem/v/omniai-openai)](https://rubygems.org/gems/omniai-openai)
5
+ [![GitHub](https://img.shields.io/badge/github-repo-blue.svg)](https://github.com/ksylvest/omniai-openai)
6
+ [![Yard](https://img.shields.io/badge/docs-site-blue.svg)](https://omniai-openai.ksylvest.com)
7
+ [![CircleCI](https://img.shields.io/circleci/build/github/ksylvest/omniai-openai)](https://circleci.com/gh/ksylvest/omniai-openai)
4
8
 
5
9
  An OpenAI implementation of the [OmniAI](https://github.com/ksylvest/omniai) interface supporting ChatGPT, Whisper, Text-to-Voice, Voice-to-Text, and more. This library is community maintained.
6
10
 
@@ -63,12 +67,12 @@ _For details on installation or running Ollama checkout [the project README](htt
63
67
 
64
68
  #### Usage with [OpenRouter](https://open_router.ai/)
65
69
 
66
- Other fee-based systems/services have adopted all or some of the OpenAI API. For example [open_router.ai](https://open_router.ai) is a web-services that provides access to many models and providers using their own as well as an OpenAI API.
70
+ Other fee-based systems/services have adopted all or some of the OpenAI API. For example [open_router.ai](https://open_router.ai) is a web-services that provides access to many models and providers using their own as well as an OpenAI API.
67
71
 
68
72
  ```ruby
69
73
  client = OmniAI::OpenAI::Client.new(
70
- host: 'https://open_router.ai',
71
- api_key: ENV['OPENROUTER_API_KEY'],
74
+ host: 'https://open_router.ai',
75
+ api_key: ENV['OPENROUTER_API_KEY'],
72
76
  api_prefix: '/api')
73
77
  ```
74
78
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module OmniAI
4
4
  module OpenAI
5
- VERSION = '1.8.4'
5
+ VERSION = '1.9.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniai-openai
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.4
4
+ version: 1.9.1
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-10-21 00:00:00.000000000 Z
11
+ date: 2024-11-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: event_stream_parser
@@ -99,7 +99,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - ">="
101
101
  - !ruby/object:Gem::Version
102
- version: 3.3.0
102
+ version: 3.2.0
103
103
  required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  requirements:
105
105
  - - ">="