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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c29fd99d6a0b1e185d8df9c9dea607414db86b0f1f08390c00c80f2c0e31d64a
4
- data.tar.gz: 6022ab29a185b796cf5dbe6b1fe79f1e2b5cb17bfd4423bf9f150a0478bae6f7
3
+ metadata.gz: ec5fba84eb5fecbc054c6fa968ee1363b6569afc58adee05c3242fe319aa7e4e
4
+ data.tar.gz: 648776d0224b5ab013e828717d93a4942b707503d4afd474c859fdc0cfe458a0
5
5
  SHA512:
6
- metadata.gz: 95a6b8a8e896b1c3d781d4f5b3f7b1eda88fc20d1e7c8fa32212d952d00ffff505b3ae23d74d37eabddfca07a787f0b7b9adaa81e71ad18efc11df097c632f0c
7
- data.tar.gz: 8f2d721b411df74759b2401105d36bf8b61d55ef8af3ab003d3eefe27d2e82fcf0f9637b7e6ff7fe9c2c63c5f534a52f00f92b96c219a1fbf3f9e616593a36f3
6
+ metadata.gz: 499896d8e734eaf9dd0f6e1844fc1c344cb12bbfcd1e1e9b4c65086f729c94d8c503be3fc37d2723af987a6b1e96b4c04442f816930022c0e2621499f2dcf1f6
7
+ data.tar.gz: 5deadadc53fa298cd828c75d21e406168ddbb8788d5f6fd28bc84e0f439e916faeae0337738f666373d1b11d6f06f8ca9b2788dfe0954cc5e39d5f061093284e
data/CHANGELOG.md CHANGED
@@ -1,4 +1,13 @@
1
- ## [Unreleased]
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:, logprobs:, finish_reason:)
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rubygpt
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
  end
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.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: 2024-03-13 00:00:00.000000000 Z
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: []