randmarcomps 1.338.0 → 1.341.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/randmarcomps.d.ts +7 -4
- package/dist/randmarcomps.js +3488 -3420
- package/dist/randmarcomps.umd.cjs +83 -67
- package/package.json +1 -1
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -126,18 +126,21 @@ declare interface AssistantChatProps {
|
|
|
126
126
|
}
|
|
127
127
|
|
|
128
128
|
/**
|
|
129
|
-
* A
|
|
130
|
-
*
|
|
131
|
-
*
|
|
129
|
+
* A component that displays an animated AI icon and placeholder text while
|
|
130
|
+
* fetching an insight from the Gemini API. It leverages the useGemini hook
|
|
131
|
+
* to manage the entire data fetching and state management lifecycle.
|
|
132
132
|
*/
|
|
133
133
|
export declare function AssistantInsight({ prompt, smartAndSlow, thinkingPlaceholderText, }: AssistantInsightProps): JSX.Element;
|
|
134
134
|
|
|
135
135
|
/**
|
|
136
|
-
*
|
|
136
|
+
* Defines the props for the AssistantInsight component.
|
|
137
137
|
*/
|
|
138
138
|
declare interface AssistantInsightProps {
|
|
139
|
+
/** The prompt to send to the AI for generating the insight. */
|
|
139
140
|
prompt: string;
|
|
141
|
+
/** If true, uses a more powerful (and slower) model for the request. */
|
|
140
142
|
smartAndSlow?: boolean;
|
|
143
|
+
/** Optional placeholder text to display while the AI is generating a response. */
|
|
141
144
|
thinkingPlaceholderText?: string;
|
|
142
145
|
}
|
|
143
146
|
|