You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run model prediction only with inputs parameter. You'll receive connector payload validation error since prompt parameter is needed. This is correct.
POST /_plugins/_ml/models/IY9qt5IB1dQFBoCTo8nv/_predict/
{
"parameters": {
"inputs": "hello, who are you?"
}
}
Run model prediction only with prompt parameter. You'll receive model interface error.
POST /_plugins/_ml/models/IY9qt5IB1dQFBoCTo8nv/_predict/
{
"parameters": {
"prompt": "hello, who are you?"
}
}
What is the expected behavior?
I should receive the model response as long as the connector payload is filled. I also find it quite weird that the bug won't be reproduced if I omit step 3.
What is your host/environment?
OS: MacOS
Version main
Plugins ml-commons
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered:
I am sorry but this is expected...The automated model interface only work when you strictly follow blueprint. If you changed something then you need update the model interface accordingly. In the future we will improve this, but at this time it still works in this way.
What is the bug?
When predict a ml model, even if the connector payload is filled, I still receives the error from model interface.
How can one reproduce the bug?
${parameters.inputs}
to${parameters.prompt}
.inputs
parameter. You'll receive connector payload validation error sinceprompt
parameter is needed. This is correct.prompt
parameter. You'll receive model interface error.What is the expected behavior?
I should receive the model response as long as the connector payload is filled. I also find it quite weird that the bug won't be reproduced if I omit step 3.
What is your host/environment?
Do you have any screenshots?
If applicable, add screenshots to help explain your problem.
Do you have any additional context?
Add any other context about the problem.
The text was updated successfully, but these errors were encountered: