1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/OpenAI/CreateTranscription.txt
Vitaly the Alpaca (bot) 1120c732f0 Main build (Jenkins)
2025-10-20 19:41:52 +03:00

8 lines
257 B
Plaintext
Vendored

URL = FunctionParameters["OpenAI_URL"];
Token = FunctionParameters["OpenAI_Token"];
Audio = FunctionParameters["OpenAI_Speech"];
Model = "whisper-1";
Result = OPI_OpenAI.CreateTranscription(URL, Token, Model, Audio, "audio/wav");