Interface RunnableWithMessageHistoryInputs<RunInput, RunOutput>

interface RunnableWithMessageHistoryInputs<RunInput, RunOutput> {
    config?: RunnableConfig<Record<string, any>>;
    configFactories?: ((config: RunnableConfig<Record<string, any>>) => RunnableConfig<Record<string, any>>)[];
    getMessageHistory: GetSessionHistoryCallable;
    historyMessagesKey?: string;
    inputMessagesKey?: string;
    kwargs?: Partial<RunnableConfig<Record<string, any>>>;
    outputMessagesKey?: string;
    runnable: Runnable<RunInput, RunOutput, RunnableConfig<Record<string, any>>>;
}

Type Parameters

  • RunInput
  • RunOutput

Hierarchy

Properties

config?: RunnableConfig<Record<string, any>>
configFactories?: ((config: RunnableConfig<Record<string, any>>) => RunnableConfig<Record<string, any>>)[]
getMessageHistory: GetSessionHistoryCallable
historyMessagesKey?: string
inputMessagesKey?: string
kwargs?: Partial<RunnableConfig<Record<string, any>>>
outputMessagesKey?: string
runnable: Runnable<RunInput, RunOutput, RunnableConfig<Record<string, any>>>