@viviedu/applet-sdk
    Preparing search index...

    Class EdgeAi

    The edgeAi namespace on a BoxApplet. Talks directly to the box over HTTP. Obtained via applet.edgeAi.

    Hierarchy (View Summary)

    Index

    Properties

    namespace: string

    Prefixes this class's error messages, like edgeAi.

    Methods

    • Transcribe complete audio with a loaded speech model and return the whole transcript. Takes only a finished buffer: a feed has no result until it ends, so there would be nothing to return.

      Parameters

      Returns Promise<string>

    • Create the ViviAiInterface for the box's edge AI, an EdgeAi when there is connection info.

      If the feature is not enabled or the info is undefined then a stub is returned that will error.

      TODO IGNT-895: Make sure the returned stub properly returns an error state

      Parameters

      • featureEnabled: boolean
      • info: UndefinedToOptional<{ token: string; url: string }> | undefined
      • logger: Logger

      Returns ViviAiInterface