I searched a lot in the community and I didn't find people who successfully use more than one variable when triggering the function, according to the example. @Baptiste If you're having a good day, help us lol
Lets resume We have an OpenAI assistant that triggers a function to collect the customer's name and email, here is the function that has two parameters
{ "name": "get_name_email", "description": "Sends the client name and email for integration.", "strict": true, "parameters": { "type": "object", "properties": { "name": { "type": "string", "description": "name of client" }, "email": { "type": "string", "description": "email of client" } }, "required": [ "name", "email" ], "additionalProperties": false } }
When we use the command setVariable('nameClient',name) and setVariable('emailClient',email)