LLM Wrapper. Takes in a prompt (or prompts) and returns a string.
LLM class that provides a simpler interface to subclass than BaseLLM.
Requires only implementing a simpler _call method instead of _generate.
Base interface for language model parameters. A subclass of BaseLanguageModel should have a constructor that takes in a parameter that extends this interface.
import { ... } from "@langchain/core/language_models/llms";