ApiAIAssistant provides AI Assistant APIs for transcript controls.

Constructors

Properties

aiFeature: AIFeatureFlags
metricsManager: default
webex: WebexSDK

Methods

  • Fetches historic transcripts for an interaction. This API is allowed only when real-time transcription feature is enabled.

    Parameters

    • agentId: string
    • interactionId: string

      interaction/conversation identifier

    Returns Promise<HistoricTranscriptsResponse>

  • Sends an event to the AI Assistant service.

    Parameters

    • agentId: string

      agent identifier

    • interactionId: string

      interaction/conversation identifier

    • eventType: AIAssistantEventType

      the type of event (e.g. 'CUSTOM_EVENT')

    • eventName: AIAssistantEventName

      the name of the event (e.g. 'GET_TRANSCRIPTS')

    • action: TranscriptAction

      action within eventDetails (e.g. 'START' or 'STOP')

    Returns Promise<Record<string, unknown>>