Skip to content

Type Alias: ChatWrapperGenerateContextStateOptions

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

Defined in: types.ts:86

Type declaration

chatHistory

ts
chatHistory: readonly ChatHistoryItem[];

availableFunctions?

ts
optional availableFunctions: ChatModelFunctions;

documentFunctionParams?

ts
optional documentFunctionParams: boolean;