Interface RunnableWithMessageHistoryInputs<RunInput, RunOutput>

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

Type Parameters

  • RunInput
  • RunOutput

Hierarchy

Properties

getMessageHistory: GetSessionHistoryCallable
configFactories?: ((config: RunnableConfig) => RunnableConfig)[]
historyMessagesKey?: string
inputMessagesKey?: string
kwargs?: Partial<RunnableConfig>
outputMessagesKey?: string