From 3528b3646f2634a28bea1be94a3078e33c3e3634 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sun, 2 Jun 2024 01:03:28 +0200 Subject: [PATCH] [openai] Update documentation to include `assistant` and `tts`. --- platypush/plugins/openai/__init__.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/platypush/plugins/openai/__init__.py b/platypush/plugins/openai/__init__.py index 0002796fa7..e27d4e4d6e 100644 --- a/platypush/plugins/openai/__init__.py +++ b/platypush/plugins/openai/__init__.py @@ -49,7 +49,18 @@ class OpenaiPlugin(Plugin): """ 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 --------