@pitcher/js-api 1.22.0-beta.5 → 1.22.0-beta.6
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.
|
@@ -65,10 +65,14 @@ export type UiSelectCanvasesResponse = {
|
|
|
65
65
|
canvases?: Canvas[];
|
|
66
66
|
};
|
|
67
67
|
export type UiPromptPiaRequest = {
|
|
68
|
+
/** Unique identifier of this prompt (needed for streaming event) */
|
|
69
|
+
id: string;
|
|
68
70
|
/** Prompt to send to PIA */
|
|
69
71
|
prompt: string;
|
|
70
72
|
};
|
|
71
73
|
export type UiPromptPiaResponse = {
|
|
74
|
+
/** Unique identifier of this prompt (needed for streaming event) */
|
|
75
|
+
id: string;
|
|
72
76
|
/** PIA response */
|
|
73
77
|
response: string;
|
|
74
78
|
};
|
|
@@ -199,6 +203,8 @@ export type UiSectionListUpdatedPayload = {
|
|
|
199
203
|
canvas: CanvasRetrieve | null;
|
|
200
204
|
};
|
|
201
205
|
export type UiPromptPiaResponseStreamedPayload = {
|
|
206
|
+
/** Unique identifier of this prompt */
|
|
207
|
+
id: string;
|
|
202
208
|
/** PIA response so far */
|
|
203
209
|
partial_response: string;
|
|
204
210
|
/** Current chunk of the response */
|