v0.3
v0.2
v0.1
Preparing search index...
The search index is not available
LangChain.js
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
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
LangChain.js
Loading...
Type guard function that checks if a given language model is of type
BaseLLM
.