File tree Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Expand file tree Collapse file tree 1 file changed +9
-17
lines changed Original file line number Diff line number Diff line change 3030 "assistant" : {
3131 "hooks" : [
3232 {
33- "url" : " https://api.example.com/success-handler " ,
34- "filter " : {
33+ "url" : " https://api.example.com/llm-errors " ,
34+ "filters " : [ {
3535 "type" : " oneOf" ,
3636 "key" : " call.endedReason" ,
37- "oneOf" : [" COMPLETED " ]
38- }
37+ "oneOf" : [" pipeline-error-custom-llm-500-server-error " , " pipeline-error-custom-llm-llm-failed " ]
38+ }]
3939 },
4040 {
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" ,
41+ "url" : " https://api.example.com/pipeline-errors" ,
42+ "filters" : [{
43+ "type" : " oneOf" ,
5244 "key" : " call.endedReason" ,
53- "oneOf" : [" CUSTOMER_HANGUP " , " CUSTOMER_TRANSFER_REQUESTED " ]
54- }
45+ "oneOf" : [" pipeline-error " ]
46+ }]
5547 }
5648 ]
5749 }
You can’t perform that action at this time.
0 commit comments