• Preparing search index...
  • The search index is not available
LangChain.js - v0.2.8
  • LangChain.js
  • langchain-core/runnables
  • ensureConfig

Function ensureConfig

  • ensureConfig<CallOptions>(config?): CallOptions
  • Ensure that a passed config is an object with all required keys present.

    Note: To make sure async local storage loading works correctly, this should not be called with a default or prepopulated config argument.

    Type Parameters

    • CallOptions extends RunnableConfig

    Parameters

    • Optional config: CallOptions

    Returns CallOptions

    • Defined in langchain-core/src/runnables/config.ts:126

Settings

Member Visibility

Theme

LangChain.js - v0.2.8
  • Loading...

Generated using TypeDoc