ChannelProfile

ChannelProfile 用于配置代理在特定通信渠道(例如 Web 界面或电话)中的行为。

JSON 表示法
{
  "profileId": string,
  "channelType": enum (ChannelProfile.ChannelType),
  "personaProperty": {
    object (ChannelProfile.PersonaProperty)
  },
  "disableDtmf": boolean,
  "disableBargeInControl": boolean,
  "webWidgetConfig": {
    object (ChannelProfile.WebWidgetConfig)
  },
  "noiseSuppressionLevel": string
}
字段
profileId

string

可选。频道配置的唯一标识符。

channelType

enum (ChannelProfile.ChannelType)

可选。渠道配置文件的类型。

personaProperty

object (ChannelProfile.PersonaProperty)

可选。频道资料的身份属性。

disableDtmf

boolean

可选。是否停用 DTMF(双音多频)。

disableBargeInControl

boolean

可选。是否在对话中停用用户抢占控制。- true:在代理说话时,系统会停用用户中断。- false:智能体保留对用户何时可以中断的自动控制权。

webWidgetConfig

object (ChannelProfile.WebWidgetConfig)

可选。Web widget 的配置。

noiseSuppressionLevel

string

可选。渠道配置文件的降噪级别。可选值为“low”“moderate”“high”“very_high”。

ChannelProfile.ChannelType

渠道配置文件的类型。

枚举
UNKNOWN 未知渠道类型。
WEB_UI 网页界面渠道。
API API 渠道。
TWILIO Twilio 渠道。
GOOGLE_TELEPHONY_PLATFORM Google Telephony Platform 频道。
CONTACT_CENTER_AS_A_SERVICE 联络中心即服务 (CCaaS) 渠道。
FIVE9 Five9 渠道。
CONTACT_CENTER_INTEGRATION 第三方联络中心集成渠道。

ChannelProfile.PersonaProperty

表示频道的角色属性。

JSON 表示法
{
  "persona": enum (ChannelProfile.PersonaProperty.Persona)
}
字段
persona

enum (ChannelProfile.PersonaProperty.Persona)

可选。频道的角色。

ChannelProfile.PersonaProperty.Persona

频道的角色。

枚举
UNKNOWN 未知角色。
CONCISE 智能体提供的回答简明扼要
CHATTY 代理会提供更多背景信息、说明和详细信息

ChannelProfile.WebWidgetConfig

网页 widget 的配置消息。

JSON 表示法
{
  "modality": enum (ChannelProfile.WebWidgetConfig.Modality),
  "theme": enum (ChannelProfile.WebWidgetConfig.Theme),
  "webWidgetTitle": string,
  "securitySettings": {
    object (ChannelProfile.WebWidgetConfig.SecuritySettings)
  }
}
字段
modality

enum (ChannelProfile.WebWidgetConfig.Modality)

可选。网络 widget 的模态。

theme

enum (ChannelProfile.WebWidgetConfig.Theme)

可选。网络微件的主题。

webWidgetTitle

string

可选。网络 widget 的标题。

securitySettings

object (ChannelProfile.WebWidgetConfig.SecuritySettings)

可选。Web widget 的安全设置。

ChannelProfile.WebWidgetConfig.Modality

Web widget 的模态。

枚举
MODALITY_UNSPECIFIED 未知模态。
CHAT_AND_VOICE 微件支持聊天和语音输入。
VOICE_ONLY 该 widget 仅支持语音输入。
CHAT_ONLY 微件仅支持聊天输入。
CHAT_VOICE_AND_VIDEO 微件支持聊天、语音和视频输入。

ChannelProfile.WebWidgetConfig.Theme

网络微件的主题。

枚举
THEME_UNSPECIFIED 未知主题。
LIGHT 浅色主题。
DARK 深色主题。

ChannelProfile.WebWidgetConfig.SecuritySettings

Web widget 的安全设置。

JSON 表示法
{
  "enablePublicAccess": boolean,
  "enableOriginCheck": boolean,
  "allowedOrigins": [
    string
  ],
  "enableRecaptcha": boolean
}
字段
enablePublicAccess

boolean

可选。指示是否已启用对 Web widget 的公开访问权限。如果为 true,则 Web widget 将可公开访问。如果为 false,则必须将 Web widget 与您自己的身份验证和授权系统集成,以返回用于访问 CES 代理的有效凭据。

enableOriginCheck

boolean

可选。指示是否为 Web widget 启用了来源检查。如果值为 true,则网页 widget 将检查加载该网页 widget 的网站的来源,并且仅允许在同一来源或任何允许的来源中加载该网页 widget。

allowedOrigins[]

string

可选。允许托管 Web widget 的来源。来源由 RFC 6454 定义。如果为空,则允许所有来源。最多允许 100 个来源。示例:“https://example.com”

enableRecaptcha

boolean

可选。指示是否已为 Web widget 启用 reCAPTCHA 验证。