mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-08 17:09:20 +00:00
* 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
14 lines
356 B
PHP
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;
|
|
}
|
|
}
|
|
|
|
?>
|