Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Transcript

Index

Properties

io: Io

Constructors

Methods

  • switchModel(model: string): void
  • tagChannel(workerID: string, channelIndex: number, speakerName: string): Promise<<internal>.RabbitMessage<unknown>>
  • Request a transcript worker to tag a channel with a speaker name

    Parameters

    • workerID: string

      The transcript worker's UUID. Available in transcript messages' workerID field.

    • channelIndex: number

      The channel index number. Available in transcript messages' channelIndex field.

    • speakerName: string

      The speaker name to tag.

    Returns Promise<<internal>.RabbitMessage<unknown>>

    A promise that resolves to {content: Buffer('done')}.

  • addKeywords(words: string[]): void
  • stopPublishing(): void
  • publish(micType: string, isFinal: boolean, msg: <internal>.Record<string, unknown>): void
  • Publish transcript result on [near|far|beamform].[final|interim].transcript

    Parameters

    • micType: string

      The microphone type: near, far, beamform. Far-range mics are disabled when the agent speaker is playing audio. Beamform mics are disabled whenever some other types of mics are functioning.

    • isFinal: boolean

      Indicates whether the result is final.

    • msg: <internal>.Record<string, unknown>

      The transcript to publish.

    Returns void

Generated using TypeDoc