mirror of
https://github.com/EvolutionAPI/evolution-audio-converter.git
synced 2026-01-15 07:32:15 -06:00
feat: add audio transcription feature with OpenAI and Groq support
- Updated .env.example to include transcription configuration options. - Enhanced main.go to support audio transcription, including new endpoints and logic for handling transcription requests. - Added functionality to transcribe audio using OpenAI and Groq APIs. - Updated README.md with detailed instructions on enabling and using the transcription feature.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
PORT=4040
|
||||
CORS_ALLOW_ORIGINS=*
|
||||
API_KEY=429683C4C977415CAAFCCE10F7D57E11
|
||||
API_KEY=429683C4C977415CAAFCCE10F7D57E11
|
||||
ENABLE_TRANSCRIPTION=true
|
||||
TRANSCRIPTION_PROVIDER=openai # ou groq
|
||||
OPENAI_API_KEY=sua_chave_openai_aqui
|
||||
GROK_API_KEY=sua_chave_groq_aqui
|
||||
TRANSCRIPTION_LANGUAGE=pt
|
||||
|
||||
Reference in New Issue
Block a user