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

Function isLLM

  • isLLM(llm): llm is BaseLLM<BaseLLMCallOptions>
  • Type guard function that checks if a given language model is of type BaseLLM.

    Parameters

    • llm: BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>

    Returns llm is BaseLLM<BaseLLMCallOptions>

    • Defined in langchain-core/src/example_selectors/conditional.ts:90

Settings

Member Visibility

Theme

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

Generated using TypeDoc