omniai-openai 1.9.0 → 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: 2ba86815533bd47133653e30293a27d697800e9501947c0f9c785f271da171ef
4
- data.tar.gz: 6335b788a4429d56cb829593ee9f634b920a270084210ce94d49492f84dc3977
3
+ metadata.gz: 1b1c24b9ac02d2b147545b2ee6a90e57a84358ae73501eb74bd7075b194d2329
4
+ data.tar.gz: d43256628ab71b0f80277044d9e65a33596dff1354ff819af48671d50e8935a5
5
5
  SHA512:
6
- metadata.gz: d282ee9a0f4ee1f40588e71d1df99f5d73d12bab2e7f60926b0121367443e0a0b16bd68fc234ee549132649262ded56dff3a6feaf945749c2e98ef07c6d6d11d
7
- data.tar.gz: d56adc39603b025aa8f009aeb3b23785d17221986ab35e862f8378553f6e3c3676a76c2417140c972992dad48ee74026b72415db0b274845fcc433b64e3efb36
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.9.0'
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.9.0
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-30 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