Interface RunnableWithMessageHistoryInputs<RunInput, RunOutput>

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

Type Parameters

  • RunInput

  • RunOutput

Hierarchy

Properties

getMessageHistory: GetSessionHistoryCallable
configFactories?: ((config) => RunnableConfig)[]

Type declaration

historyMessagesKey?: string
inputMessagesKey?: string
kwargs?: Partial<RunnableConfig>
outputMessagesKey?: string

Generated using TypeDoc