-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose the query slot in MassPlayMediaOnMediaPlayer only if the mass specific LLM agent is configured #2685
Conversation
…e LLM agent is configured
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
|
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
fixes #2636