1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-12-19 23:52:43 +02:00
Files
OpenIntegrations/docs/en/examples/OpenAI/CreateTranscription.txt

8 lines
257 B
Plaintext
Raw Normal View History

2025-06-27 11:47:43 +03:00
 URL = FunctionParameters["OpenAI_URL"];
Token = FunctionParameters["OpenAI_Token"];
2025-06-08 20:09:09 +03:00
2025-06-27 11:47:43 +03:00
Audio = FunctionParameters["OpenAI_Speech"];
2025-06-08 20:09:09 +03:00
Model = "whisper-1";
Result = OPI_OpenAI.CreateTranscription(URL, Token, Model, Audio, "audio/wav");