randmarcomps 1.638.0 → 1.640.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.cjs +131 -0
- package/dist/randmarcomps.d.ts +0 -23
- package/dist/randmarcomps.js +13512 -83395
- package/package.json +4 -4
- package/dist/randmarcomps.css +0 -1
- package/dist/randmarcomps.umd.cjs +0 -725
package/dist/randmarcomps.d.ts
CHANGED
|
@@ -155,29 +155,6 @@ declare interface AssistantChatProps {
|
|
|
155
155
|
initialPrompt?: string;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
/**
|
|
159
|
-
* A component that displays an animated AI icon and placeholder text while
|
|
160
|
-
* fetching an insight from the Randmar generation API. It can be displayed with or without
|
|
161
|
-
* a surrounding card style.
|
|
162
|
-
*/
|
|
163
|
-
export declare function AssistantInsight({ applicationId, prompt, smartAndSlow, thinkingPlaceholderText, withCard, }: AssistantInsightProps): JSX.Element;
|
|
164
|
-
|
|
165
|
-
/**
|
|
166
|
-
* Defines the props for the AssistantInsight component.
|
|
167
|
-
*/
|
|
168
|
-
declare interface AssistantInsightProps {
|
|
169
|
-
/** The application ID used by the Randmar generation API. */
|
|
170
|
-
applicationId?: string;
|
|
171
|
-
/** The prompt to send to the AI for generating the insight. */
|
|
172
|
-
prompt: string;
|
|
173
|
-
/** If true, uses a more powerful (and slower) model for the request. */
|
|
174
|
-
smartAndSlow?: boolean;
|
|
175
|
-
/** Optional placeholder text to display while the AI is generating a response. */
|
|
176
|
-
thinkingPlaceholderText?: string;
|
|
177
|
-
/** Determines whether the component is wrapped in a styled card. Defaults to true. */
|
|
178
|
-
withCard?: boolean;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
158
|
export declare interface AssistantPromptHelperOptions {
|
|
182
159
|
prompt?: string;
|
|
183
160
|
hiddenPrompt?: string;
|