TypeSafe
App · AI Models · 1 action
Connect TypeSafe so your workflows can make judgment calls: deciding what something is, not just what it says.
Decide yes or no
Answer a yes/no question about something, with how likely the answer is to be yes.
Inputs
- Question
questiontextRequired - The yes/no question to answer, in your own words. For example: 'Is this email asking for a refund?'
- What to read
abouttext - The text or data the question is about: an email body, a support ticket, a row from a sheet.
- Answer yes above
thresholdnumber - How likely it has to be before the answer reads 'yes'. A number from 0 to 1. Defaults to 0.5.Default:
0.5.
Outputs
answertextmodeltextprobabilitynumberquestiontextstatustext
Example output
{
"answer": "yes",
"model": "jev-latest",
"probability": 0.91,
"question": "Is this email asking for a refund?",
"status": "success"
}