@factorialco/f0-react 1.228.3 → 1.229.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/experimental.d.ts +8 -0
- package/dist/experimental.js +5499 -5486
- package/package.json +1 -1
package/dist/experimental.d.ts
CHANGED
|
@@ -282,10 +282,18 @@ declare type AiChatProviderReturnValue = {
|
|
|
282
282
|
*/
|
|
283
283
|
setAutoClearMinutes: React.Dispatch<React.SetStateAction<number | null>>;
|
|
284
284
|
autoClearMinutes: number | null;
|
|
285
|
+
/**
|
|
286
|
+
* The initial message to display in the chat
|
|
287
|
+
*/
|
|
285
288
|
initialMessage?: string | string[];
|
|
286
289
|
setInitialMessage: React.Dispatch<React.SetStateAction<string | string[] | undefined>>;
|
|
287
290
|
onThumbsUp?: (message: AIMessage) => void;
|
|
288
291
|
onThumbsDown?: (message: AIMessage) => void;
|
|
292
|
+
/**
|
|
293
|
+
* Clear/reset the chat conversation
|
|
294
|
+
*/
|
|
295
|
+
clear: () => void;
|
|
296
|
+
/* Excluded from this release type: setClearFunction */
|
|
289
297
|
} & Pick<AiChatState, "greeting" | "agent">;
|
|
290
298
|
|
|
291
299
|
declare interface AiChatState {
|