Sanity App SDK
    Preparing search index...

    Function agentTranslate

    • Alpha

      Translates a document using the agent.

      Parameters

      • instance: SanityInstance

        The Sanity instance.

      • options: TranslateDocument

        The options for the agent translate action. See the Agent Actions API for more details.

      Returns Observable

      An Observable emitting the result of the agent translate action.