Optional logger: LDLoggerOptional Private _configPrivate _llmPrivate Optional _loggerPrivate _runPrivate _runRun the LangChain model with the given user prompt.
Prepends any messages defined in the AI config (system prompt, etc.) before the user prompt.
The user prompt string.
Optional outputType: Record<string, unknown>Optional JSON schema for structured output. When provided, the parsed result is exposed via RunnerResult.parsed.
Optional Generated using TypeDoc
Runner implementation for LangChain chat models.
Implements the unified
Runnerprotocol via run. Returned by LangChainRunnerFactory.createModel.