ai_caller / functions /function_manifest.py
guifav's picture
Initial commit
d912ffc
tools = [
{
"type": "function",
"function": {
"name": "transfer_call",
"description": "Transfer call to a human, only do this if the user insists on it.",
"parameters": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"description": "Reason for transferring the call"
}
},
"required": ["reason"]
},
"say": "Transferring your call, please wait."
}
},
{
"type": "function",
"function": {
"name": "end_call",
"description": "End the current call but always ask for confirmation unless its a natural place in the conversation (and your intent is fullfilled) to end the call.",
"parameters": {
"type": "object",
"properties": {
"reason": {
"type": "string",
"description": "Reason for ending the call"
}
},
"required": ["reason"]
},
"say": "Goodbye."
}
}
]