Log in
Log into community
Share feedback, ideas and get community help
Most posts
Powered by
Hall
Home
Members
andrade.vander
a
andrade.vander
Offline
, last seen last week
Joined September 13, 2024
Contributions
Comments
Replies
a
andrade.vander
2 weeks ago
·
OpenAI function in Assistant does not collect 02 parameters
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)
Function Session Code
try {
setVariable('nameClient',name)
setVariable('emailClient',email)
return 'ok'
} catch (error) {
return 'error'
}
But in the result only the emailCliente variable has a value
Could you help us?
9 comments
B
a
a
andrade.vander
12 months ago
·
Block WebHook with Form-Data
Hi, community and masters
How to implement a api POST using block WEBHOOK but using form-data?
example:
curl --location '
https://domain.com/?step=1&variation=default
' \
--form 'uuid=""' \
--form 'field1=""' \
--form 'email="xpto@gmail.com"' \
--form 'phone="12312"' \
--form 'field2="on"'
1 comment
B