Interface BaseLanguageModelInterface<RunOutput, CallOptions>

Base interface implemented by all runnables. Used for cross-compatibility between different versions of LangChain core.

Should not change on patch releases.

Type Parameters

Hierarchy

Implemented by

Accessors

Methods

  • Parameters

    • text: string
    • Optional options: string[] | CallOptions
    • Optional callbacks: Callbacks

    Returns Promise<string>

    ⚠️ Deprecated ⚠️

    Use .invoke() instead. Will be removed in 0.2.0.

    This feature is deprecated and will be removed in the future.

    It is not recommended for use.

Generated using TypeDoc