forked from platypush/platypush
[openai] Update documentation to include assistant
and tts
.
This commit is contained in:
parent
9cca928d4b
commit
3528b3646f
1 changed files with 12 additions and 1 deletions
|
@ -49,7 +49,18 @@ class OpenaiPlugin(Plugin):
|
||||||
"""
|
"""
|
||||||
Plugin to interact with OpenAI services.
|
Plugin to interact with OpenAI services.
|
||||||
|
|
||||||
So far only ChatGPT is supported.
|
Currently supported:
|
||||||
|
|
||||||
|
- :meth:`get_response`: Get a response to a prompt/question using the
|
||||||
|
GPT API. It supports custom contexts and environment settings.
|
||||||
|
|
||||||
|
- :meth:`transcribe`: Perform speech-to-text on an audio file. This API
|
||||||
|
is also leveraged by the
|
||||||
|
:class:`platypush.plugins.assistant.openai.OpenaiPlugin` to provide a
|
||||||
|
full-fledged voice assistant.
|
||||||
|
|
||||||
|
- Through the :class:`platypush.plugins.tts.openai.OpenaiPlugin` plugin,
|
||||||
|
text-to-speech is also supported.
|
||||||
|
|
||||||
Contexts
|
Contexts
|
||||||
--------
|
--------
|
||||||
|
|
Loading…
Reference in a new issue