Structure Outputs lets you extract information from calls or chats.
00:05
You can use them as ways to grade calls or to extract useful data from them.
00:10
For example, you can use Structure Outputs to determine whether an appointment was booked in your call.
00:15
Let's see how they work.
00:18
I have set up a scheduling assistant called Riley.
00:21
Riley is in charge of helping my customers schedule appointments.
00:26
After each call, I want to know if an appointment was booked or not.
00:30
So I'm going to head over here to structure outputs, and I'm going to create a structure output.
00:36
And I have a few templates here.
00:37
And the one I'm going to use is the appointment book template to see if an appointment was, in fact, booked after the call.
00:44
So if I just click on this, I will already have a structured output.
00:47
It's going to be a true or false if the appointment was booked and you can link it to that assistant.
00:52
In this case, I have the scheduler assistant, and you can link it to one or more assistants once you save it.
00:59
At the end, of every call for this assistant will be determining whether an appointment was booked or not.
01:07
I made a couple of calls where I booked an appointment and a call where I didn't book an appointment.
01:12
So now if I head over to call logs I can open one of each.
01:16
In this case the one where I booked an appointment and there's a new tab here called Structure outputs that's going to show me the output of running the analysis on this call.
01:26
In this case the appointment was booked and the result is true.
01:30
If I head over here to a call where I didn't book the appointment and I go to Structure output, it'll say the appointment is false and it's just to confirm with the transcript it says can we book an appointment?
01:42
And then I've changed my mind, I don't want to do it.
01:45
whereas in the first one where I did book the appointment it says can I book the appointments?
01:49
And then it gets all the way to scheduling the appointments.
01:53
So that's Structure Outputs.
01:56
Structure outputs isn't just a way to grade your calls.
01:59
It's also a way to extract useful data and variables from each of your calls.
02:06
You can extract this data into a particular schema and a particular data type.
02:12
This is very useful if you have downstream processes that depend on this data.
02:16
For example, you can connect it to your customer support tools, to your CRM or or to other custom applications that need data from calls to create more advanced structure outputs.
02:28
Simply create one from scratch and choose one of the different data types available.
02:32
With string you can add categories so you can add category a, b or C.
02:37
So in this case let's say you want to do something as good, bad or neutral or you can use an object.
02:48
In this case you'd have to specify the schema of the object that you want us to extract and will send this payload, to your endpoint at the end of the call.
02:58
So this is how to use structure outputs in advanced mode.