Files
fusionpbx/core/ai/resources/interfaces/ai_transcribe.php
frytimo 2064c33fb7 AI bug fixes and update interfaces (#6925)
* allow settings to load domain and user settings

* ensure engine is also enabled before attempting to create a new object

* add default values to stop undefined variable warnings

* enforce all models to set and return voices and languages

* enforce all models to set and return languages

* ensure speech_enabled is set by the current session
2024-03-24 08:37:17 -06:00

14 lines
356 B
PHP

<?php
//define the template class
if (!interface_exists('ai_transcribe')) {
interface ai_transcribe {
public function set_path(string $audio_path);
public function set_filename(string $audio_filename);
public function transcribe() : string;
public function set_language(string $audio_language);
public function get_languages() : array;
}
}
?>