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 +4 -4
- data/README.md +8 -4
- data/lib/omniai/openai/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b1c24b9ac02d2b147545b2ee6a90e57a84358ae73501eb74bd7075b194d2329
|
4
|
+
data.tar.gz: d43256628ab71b0f80277044d9e65a33596dff1354ff819af48671d50e8935a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7cb3cfa6f659c0f1f5a8cd5b844a5bc4ff72d54b6e860d61083f5aec70c91fe4ec87025b2cb92fc54e1a68a642a3a36091e43f60f624fe8d880281ad4db0cb43
|
7
|
+
data.tar.gz: 01e8896f53d6a99b3f1d864165716010d27f622808f85e74d1dd1fd2f9fc9facfd9c161cf00711d418a023c6db0349972149537728c87a9bea0def49e15c7608
|
data/README.md
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
# OmniAI::OpenAI
|
2
2
|
|
3
|
-
[![
|
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.
|
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
|
|
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.
|
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-
|
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
|