DevMiser / DaVinci

DaVinci - The ChatGPT AI Virtual Assistant
150 stars 21 forks source link

Use OpenAI Whisper Model #34

Open EA914 opened 3 months ago

EA914 commented 3 months ago

Hi DevMiser:

I suggest that instead of using Picovoice you just use OpenAI's speech-to-text API via their "whisper" model. Check my github for example code. This would simplify your code and prevent the need for multiple API keys.

Also might I suggest having your API keys in a .env file instead of in the code itself.

Thank you!

-Evan Alexander

DevMiser commented 3 months ago
Thank you for your suggestions.  From: Evan AlexanderSent: Tuesday, April 16, 2024 12:46 AMTo: DevMiser/DaVinciCc: SubscribedSubject: [DevMiser/DaVinci] Use OpenAI Whisper Model (Issue #34) Hi DevMiser:I suggest that instead of using Picovoice you just use OpenAI's speech-to-text API via their "whisper" model. Check my github for example code. This would simplify your code and prevent the need for multiple API keys.Also might I suggest having your API keys in a .env file instead of in the code itself.Thank you!-Evan Alexander—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>