From 3b8439a73e1eec4b032861fa5cc633682f5bf3b5 Mon Sep 17 00:00:00 2001 From: David vonThenen <12752197+dvonthenen@users.noreply.github.com> Date: Sun, 4 Feb 2024 12:10:23 -0800 Subject: [PATCH] Fix Prerecorded Options for Custom Intent --- pkg/client/interfaces/types-prerecorded.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/client/interfaces/types-prerecorded.go b/pkg/client/interfaces/types-prerecorded.go index ca9a4ae8..2813fc02 100644 --- a/pkg/client/interfaces/types-prerecorded.go +++ b/pkg/client/interfaces/types-prerecorded.go @@ -16,7 +16,7 @@ type PreRecordedTranscriptionOptions struct { Alternatives int `json:"alternatives,omitempty" url:"alternatives,omitempty"` Callback string `json:"callback,omitempty" url:"callback,omitempty"` CallbackMethod string `json:"callback_method,omitempty" url:"callback_method,omitempty"` - CustomIntent string `json:"custom_intent,omitempty" url:"custom_intent,omitempty"` + CustomIntent []string `json:"custom_intent,omitempty" url:"custom_intent,omitempty"` CustomIntentMode string `json:"custom_intent_mode,omitempty" url:"custom_intent_mode,omitempty"` CustomTopic []string `json:"custom_topic,omitempty" url:"custom_topic,omitempty"` CustomTopicMode string `json:"custom_topic_mode,omitempty" url:"custom_topic_mode,omitempty"`