]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
ruby : extend API (#2551)
authorKITAITI Makoto <redacted>
Wed, 13 Nov 2024 19:52:56 +0000 (04:52 +0900)
committerGitHub <redacted>
Wed, 13 Nov 2024 19:52:56 +0000 (21:52 +0200)
commitf19463ece2d43fd0b605dc513d8800eeb4e2315e
tree32cdcd7fb6e6bae43e5b84914fdb1fb9bd19d09c
parent5f8a086e22c412ae00679f2c7b6417dd2512fe0e
ruby : extend API (#2551)

* Handle objs in Ruby code

* Add task to make Makefile

* Share commont constance in test suites

* Add model-related APIs

* Add Whisper::Model class

* Add tests for Whisper::Model

* Add missing LDFLAG -lstdc++

* Add tests for Whisper.log_set

* Add Whisper.set_log

* Define log level

* Add document on logging

* Add license section to README

* Add document on Whisper::Model

* Fix examples in README

* Add test for Model with GC

* Make dependency on Makefile more accurate

* Fix bug about Whisper::Model and GC
bindings/ruby/README.md
bindings/ruby/Rakefile
bindings/ruby/ext/extconf.rb
bindings/ruby/ext/ruby_whisper.cpp
bindings/ruby/tests/helper.rb [new file with mode: 0644]
bindings/ruby/tests/test_model.rb [new file with mode: 0644]
bindings/ruby/tests/test_package.rb
bindings/ruby/tests/test_params.rb
bindings/ruby/tests/test_segment.rb
bindings/ruby/tests/test_whisper.rb