Open an empty unity project using unity 2022.3 (LTS)
Click Assets > Import Package > Custom Package, and select the file from link below
In Project view, double click to open Scenes/TestChatGPT
In Hierarchy view, click "TestChatGPT" object, then in the Inspector view, double click the grayed out script "TestChatGPT" to open the script in visual studio (or whatever you have setup as IDE). Put your API key and Assistant ID, and save the file
Back in Unity, open the Console view, and click Play at the center top, the error will show in the console
Service
OpenAI
Describe the bug
I'm having the error below when trying to use the AudioClient whisper-1, as described in your readme.
Here's my code (used in Unity 2022.3 LTS):
And below is the stack trace of the error in
AudioTranscription transcription = whisperClient.TranscribeAudio(audioFilePath, options);
.I tried alternatively to do it using async, with the snippet below
The status comes up as Failed, and below is the stack trace of the error in Debug.Log(transcription.Result);
Steps to reproduce
Code snippets
No response
OS
Windows 10
.NET version
.NET Standard 2.1 / .NET Framework 4.8 (tried both)
Library version
2.0.0 latest