@pushwoosh/rpc-gateway-ai-assistant 0.1.121 → 0.1.122
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/data.js +3 -0
- package/package.json +1 -1
- package/pushwoosh_accounts_assistant_v1.d.ts +5 -2
package/data.js
CHANGED
package/package.json
CHANGED
|
@@ -18,13 +18,16 @@ export type Message = {
|
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* SuggestedAction represents a model-proposed follow-up action shown as a button.
|
|
21
|
-
* id is a stable slug used for analytics; label is the button text
|
|
22
|
-
*
|
|
21
|
+
* id is a stable slug used for analytics; label is the button text.
|
|
22
|
+
* Exactly one of prompt or url must be set:
|
|
23
|
+
* - prompt: literal user message dispatched when the button is clicked.
|
|
24
|
+
* - url: external link (e.g. documentation) opened when the button is clicked.
|
|
23
25
|
*/
|
|
24
26
|
export type SuggestedAction = {
|
|
25
27
|
id: string;
|
|
26
28
|
label: string;
|
|
27
29
|
prompt: string;
|
|
30
|
+
url: string;
|
|
28
31
|
};
|
|
29
32
|
/** Chat represents a conversation with its metadata and messages */
|
|
30
33
|
export type Chat = {
|