Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ruby : Add more API #2551

Merged
merged 17 commits into from
Nov 13, 2024
Merged

ruby : Add more API #2551

merged 17 commits into from
Nov 13, 2024

Conversation

KitaitiMakoto
Copy link
Contributor

Hi,

I added more API to Ruby bindings. This pull request includes:

  • API to retrieve model information (Whisper::Model)
  • API for log callback (Whisper.log_set)
  • Build script improvement

Thanks.

@ggerganov ggerganov merged commit f19463e into ggerganov:master Nov 13, 2024
45 checks passed
@KitaitiMakoto KitaitiMakoto deleted the more-api branch November 13, 2024 19:57
@KitaitiMakoto
Copy link
Contributor Author

Thanks merging!

adutilleul pushed a commit to adutilleul/whisper.cpp that referenced this pull request Nov 19, 2024
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants