EvolutionAPI / evolution-api

Evolution API is an open-source WhatsApp integration API
https://evolution-api.com
GNU General Public License v3.0
1.39k stars 667 forks source link

Dify não está entendendo áudio #776

Open adelimateus opened 3 weeks ago

adelimateus commented 3 weeks ago

Welcome!

What did you do?

Ao usar a integração do Dify e receber um áudio pelo WhatsApp, não está entendendo/transcrevendo o áudio.

What did you expect?

A API deve usar o endpoint /audio-to-text para enviar para a LLM interpretar

What did you observe instead of what you expected?

Ao perguntar a LLM o que eu falei ela não soubre responder.

Screenshots/Videos

No response

Which version of the API are you using?

v2.0.9-rc

What is your environment?

Linux

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

adelimateus commented 3 weeks ago

Acredito que o problema está no formato de arquivo que o whatsapp envia (acc?) pois o dify só aceita os seguintes: ['mp3', 'mp4', 'mpeg', 'mpga', 'm4a', 'wav', 'webm']

A meu ver teria que converter o áudio antes de enviar para o dify poder interpretar.

carloshaugusto commented 3 weeks ago

Conseguiu resolver? Estou tentando aqui também.