Function intercomResultRecordFromLangChainInvokeOutput

  • Maps a LangChain agent invoke result to a plain object suitable for intercomResponse result.

    Parameters

    • output: unknown

    Returns Record<string, unknown>