File tree Expand file tree Collapse file tree 1 file changed +4
-22
lines changed Expand file tree Collapse file tree 1 file changed +4
-22
lines changed Original file line number Diff line number Diff line change 2828``` json
2929{
3030 "assistant" : {
31- "hooks" : [
32- {
33- "url" : " https://api.example.com/success-handler" ,
34- "filter" : {
31+ "hooks" : [{
32+ "filters" : [{
3533 "type" : " oneOf" ,
3634 "key" : " call.endedReason" ,
37- "oneOf" : [" COMPLETED" ]
38- }
39- },
40- {
41- "url" : " https://api.example.com/error-handler" ,
42- "filter" : {
43- "type" : " oneOf" ,
44- "key" : " call.endedReason" ,
45- "oneOf" : [" ERROR" , " SYSTEM_ERROR" ]
46- }
47- },
48- {
49- "url" : " https://api.example.com/customer-actions" ,
50- "filter" : {
51- "type" : " oneOf" ,
52- "key" : " call.endedReason" ,
53- "oneOf" : [" CUSTOMER_HANGUP" , " CUSTOMER_TRANSFER_REQUESTED" ]
54- }
35+ "oneOf" : [" pipeline-error-custom-llm-500-server-error" , " pipeline-error-custom-llm-llm-failed" ]
36+ }]
5537 }
5638 ]
5739 }
You can’t perform that action at this time.
0 commit comments