Skip to content

Type Alias: ChatWrapperGenerateContextStateOptions

ts
type ChatWrapperGenerateContextStateOptions: {
  chatHistory: readonly ChatHistoryItem[];
  availableFunctions: ChatModelFunctions;
  documentFunctionParams: boolean;
};

Type declaration

chatHistory

ts
chatHistory: readonly ChatHistoryItem[];

availableFunctions?

ts
optional availableFunctions: ChatModelFunctions;

documentFunctionParams?

ts
optional documentFunctionParams: boolean;

Defined in

types.ts:86