An open API service indexing awesome lists of open source software.

https://github.com/akscf/mod_openai_asr

Provides an OpenAI Speech-To-Text features for the Freeswitch.
https://github.com/akscf/mod_openai_asr

freeswitch openai text-to-speech

Last synced: 11 months ago
JSON representation

Provides an OpenAI Speech-To-Text features for the Freeswitch.

Awesome Lists containing this project

README

          


OpenAI Speech-To-Text service for the Freeswitch.

Features: vad, flexible adjustments.

Available through: asr_interface, commnad api



If you have troubles with building this module, pay attention to this issue and the comment,
maybe you faced the same thing.

### Dialplan example
```XML







```

### mod_quickjs
```javascript
session.ttsEngine= 'openai'; // requires: mod_openai_tts
session.asrEngine= 'openai';

var txt = session.sayAndDetectSpeech('Hello, how can I help you?', 10);
consoleLog('info', "TEXT: " + txt);
```

### Command line
```
freeswitch> openai_asr_transcript /tmp/test.[wav|mp3] [key=altKey mode=altModel]
+OK: How old is the Brooklyn Bridge
```