Closed tronikos closed 2 months ago
Do we need that note we just added to the docs anymore if this gets approved? https://music-assistant.io/integration/voice/
Do we need that note we just added to the docs anymore if this gets approved? https://music-assistant.io/integration/voice/
No
OK so why would it fail now if the query argument is not used?
It won't fail. If you haven't setup the MA Specific Conversation Agent the LLM won't see the query argument.
Keep in mind there is the general LLM, that you interact with, that sees all your exposed entities and all the registered intents. This is the LLM that decides when and how to call MassPlayMediaOnMediaPlayer. If you don't have an MA specific LLM configured, the general LLM won't know the query argument so it will never use it. If you have configured an MA specific LLM, the general LLM will be able to use the query if it decides so. And when the query is specified, the intent will internally call its MA specific LLM to translate the query to artist/track/album.
Yes that’s what I thought so why would we need to keep
If you choose not to setup the MA Specific Conversation Agent then you may encounter errors unless you tell the LLM via the prompt to not use the query argument for the MassPlayMediaOnMediaPlayer intent
We should remove it. We don't need it. That's what I said earlier. You asked me: "Do we need that note we just added to the docs anymore if this gets approved?" and I answered: "No"
Sorry I thought I asked should we remove it 🤦♂️
Excellent solution, I tried to do similar, but still don't know enough about python to know that we could simply overrider that property function. Thanks @tronikos for putting the time in.
fixes #2636