langchain.js
    Preparing search index...
    • Wraps Vercel AI SDK 6 or AI SDK 5 functions with LangSmith tracing capabilities.

      Type Parameters

      • T extends {
            generateObject?: (...args: any[]) => any;
            generateText: (...args: any[]) => any;
            streamObject?: (...args: any[]) => any;
            streamText: (...args: any[]) => any;
            ToolLoopAgent?: any;
            wrapLanguageModel: (...args: any[]) => any;
        }

      Parameters

      Returns T

      Object containing wrapped versions of the AI SDK functions with LangSmith tracing