Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

BargeInConfig

import type { BargeInConfig } from "https://googleapis.deno.dev/v1/ces:v1.ts";

Configuration for how the user barge-in activities should be handled.

interface BargeInConfig {
bargeInAwareness?: boolean;
disableBargeIn?: boolean;
}

§Properties

§
bargeInAwareness?: boolean
[src]

Optional. If enabled, the agent will adapt its next response based on the assumption that the user hasn't heard the full preceding agent message. This should not be used in scenarios where agent responses are displayed visually.

§
disableBargeIn?: boolean
[src]

Optional. Disables user barge-in while the agent is speaking. If true, user input during agent response playback will be ignored. Deprecated: disable_barge_in is deprecated in favor of disable_barge_in_control in ChannelProfile.