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

Should not change on patch releases.

Hierarchy

Implemented by

Methods

  • Parameters

    Returns Promise<DocumentInterface<Record<string, any>>[][]>

  • Parameters

    Returns Promise<(Error | DocumentInterface<Record<string, any>>[])[]>

  • Parameters

    Returns Promise<(Error | DocumentInterface<Record<string, any>>[])[]>

  • Parameters

    • query: string
    • Optional config: BaseCallbackConfig | Callbacks

    Returns Promise<DocumentInterface<Record<string, any>>[]>

  • Parameters

    Returns Promise<DocumentInterface<Record<string, any>>[]>

  • Parameters

    Returns Promise<IterableReadableStreamInterface<DocumentInterface<Record<string, any>>[]>>

  • Parameters

    • generator: AsyncGenerator<string, any, unknown>
    • options: Partial<RunnableConfig>

    Returns AsyncGenerator<DocumentInterface<Record<string, any>>[], any, unknown>

Generated using TypeDoc