Skip to content

Commit 7103348

Browse files
authored
Merge pull request alexrudall#313 from alexrudall/5.1
5.1
2 parents 51408cc + 5dd1534 commit 7103348

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [5.1.0] - 2023-08-20
9+
10+
### Added
11+
12+
- Added rough_token_count to estimate tokens in a string according to OpenAI's "rules of thumb". Thank you to [@jamiemccarthy](https://github.com/jamiemccarthy) for the idea and implementation!
13+
814
## [5.0.0] - 2023-08-14
915

1016
### Added

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
ruby-openai (5.0.0)
4+
ruby-openai (5.1.0)
55
faraday (>= 1)
66
faraday-multipart (>= 1)
77

lib/openai/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module OpenAI
2-
VERSION = "5.0.0".freeze
2+
VERSION = "5.1.0".freeze
33
end

0 commit comments

Comments
 (0)