Functions
Configure your agent to perform special functions on your system like sending and getting data in a chain process. You can chain multiple functions to fully automate a process or flow.
Last updated
Configure your agent to perform special functions on your system like sending and getting data in a chain process. You can chain multiple functions to fully automate a process or flow.
Last updated
// Request with parameters
{
"function": "create_user"
"name": "name",
"email": "email"
}// Request with no parameters
{
"function": "refresh_cache"
}//Text Response
{
"message": "User profile registered"
}//Text Response passed with additional instriuctions to the agent
{
"type": "instruct",
"message": "User profile registered, is the user eligible for credit?"
}//Response with data from your platform
{
"message": "here is a list of items in our inventory",
"data_display_type": "card",
"data": [
{
"title": "My First Item",
"image": "https://link/to/my/image.extension",
"information": "Brief information",
"metadata": [
{
"key1": "value1"
},
{
"key2": "value2"
}
],
"actions": [
{
"text": "Select",
"instruct": "User selected My First Item, Proceed to next instruction",
},
{
"text": "Select",
"link": "http://link/to/item",
}
],
}
]
}