worthy-azureW

Squad variableValues Member Overrides for assistant-request

For an "assistant-request" server message type, I want to respond with a squadId and the overrides for the variableValues so that I can access those values in the prompt as, for example: {{first_name}}

From my server I can do this with an assistant:

return {
"messageResponse": {
"assistantId": action.assistant_id,
"assistantOverrides": {
"variableValues": {
"first_name": "John"
}
}
}
}

And that works, but I can't find a way to do it when I want to use a squad instead of an assistant. Based on the API documentation, I can't find anything like "squadOverrides", and the membersOverride appears inside the "squad" property, which I can't seem to use if I'm using "squadId".
Was this page helpful?