rubygpt 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -1
- data/lib/rubygpt/response/chat_completion.rb +1 -1
- data/lib/rubygpt/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ec5fba84eb5fecbc054c6fa968ee1363b6569afc58adee05c3242fe319aa7e4e
|
|
4
|
+
data.tar.gz: 648776d0224b5ab013e828717d93a4942b707503d4afd474c859fdc0cfe458a0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 499896d8e734eaf9dd0f6e1844fc1c344cb12bbfcd1e1e9b4c65086f729c94d8c503be3fc37d2723af987a6b1e96b4c04442f816930022c0e2621499f2dcf1f6
|
|
7
|
+
data.tar.gz: 5deadadc53fa298cd828c75d21e406168ddbb8788d5f6fd28bc84e0f439e916faeae0337738f666373d1b11d6f06f8ca9b2788dfe0954cc5e39d5f061093284e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
##
|
|
1
|
+
## RubyGPT
|
|
2
|
+
|
|
3
|
+
## [0.1.3] - 2025-10-24
|
|
4
|
+
|
|
5
|
+
- Bugfix: Handle empty logprobs in chat completion response
|
|
6
|
+
|
|
7
|
+
## [0.1.2] - 2024-08-28
|
|
8
|
+
|
|
9
|
+
- Fixed unexpected EOF error message when running gem
|
|
10
|
+
- Gem dependency updates
|
|
2
11
|
|
|
3
12
|
## [0.1.1] - 2024-03-13
|
|
4
13
|
|
|
@@ -22,7 +22,7 @@ module Rubygpt
|
|
|
22
22
|
attr_reader :finish_reason
|
|
23
23
|
|
|
24
24
|
# Initializes the Choice object
|
|
25
|
-
def initialize(index:, message:,
|
|
25
|
+
def initialize(index:, message:, finish_reason:, logprobs: nil)
|
|
26
26
|
@index = index
|
|
27
27
|
@message = Common::Message.new(**message.transform_keys(&:to_sym))
|
|
28
28
|
@logprobs = logprobs
|
data/lib/rubygpt/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rubygpt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Furkan Enes Apaydin
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: faraday
|
|
@@ -66,7 +66,10 @@ dependencies:
|
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: 3.23.0
|
|
69
|
-
description:
|
|
69
|
+
description: |
|
|
70
|
+
This gem aims to provide an easy-to-use Ruby wrapper for all modules of OpenAI's GPT API.
|
|
71
|
+
It is designed to be simple and easy to use, while also providing a high level of customization.
|
|
72
|
+
It is also aiming to work efficiently in Ruby on Rails applications.
|
|
70
73
|
email:
|
|
71
74
|
- feapaydin@gmail.com
|
|
72
75
|
executables: []
|