KellanM / OpenAI-Api-Unreal

Integration for the OpenAI Api in Unreal Engine
MIT License
649 stars 143 forks source link

Whisper parameter #39

Open charlo06 opened 1 year ago

charlo06 commented 1 year ago

Hey. First of all very nice work on the new whisper feature. Unfortunately you can only input the audio file to the whisper api. But the api reference has several other very useful inputs, such as the language and the prompt inputs. Do you have any plans to add them in the future? The prompt feature is really useful to specify certain words like the spelling of unusual names or invented words. It can also be use as a way to specify the language the model is about to heard to correctly transcribe ( a problem that can occur when the speaker has an accent). Anyway thank you again for your great work. BTW I'm still trying for that stream feature but I guess I'm not good enough in c++ for that 😅 (not giving up though)

KellanM commented 1 year ago

nice! I'll work on adding the other parameters listed in the api reference this weekend.

charlo06 commented 1 year ago

You're the best!

KellanM commented 1 year ago

quick update: Almost done adding the other whisper parameters. Travelling to Japan for a couple weeks. I'll wrap it up right when I get back.

voidrax commented 9 months ago

Hi, were the extra Whisper parameters ever added? I could really use the prompt to mitigate the random words in response to blank audio.