@aintela/chat 0.3.3 → 0.3.4
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/components.js +2290 -2289
- package/dist/components.js.map +1 -1
- package/dist/src/components/v2/PromptV2.d.ts +16 -0
- package/package.json +1 -1
|
@@ -200,6 +200,22 @@ interface PromptV2Props {
|
|
|
200
200
|
* text unless this is set.
|
|
201
201
|
*/
|
|
202
202
|
enableHashDatePicker?: boolean;
|
|
203
|
+
/**
|
|
204
|
+
* Prompt-assist — the analyze/predict/resolve-dates/commit passes. Defaults **on** wherever a
|
|
205
|
+
* `promptAssistService` is in context, which is how it has always behaved; pass `false` to turn it off
|
|
206
|
+
* for one composer.
|
|
207
|
+
*
|
|
208
|
+
* <p>Off is the right answer more often than it looks. Assist is *travel-booking* logic — it resolves
|
|
209
|
+
* airports and city names, reads dates out of prose, predicts passenger mentions, and commits every
|
|
210
|
+
* send back to the server as training signal for that intent. Mount the same composer in front of an
|
|
211
|
+
* agent that talks about something else and all of it is wrong at once: the traveller itemizing a lunch
|
|
212
|
+
* receipt gets airport predictions, and their receipt text teaches the booking model.</p>
|
|
213
|
+
*
|
|
214
|
+
* <p>The flag lives here rather than being inferred from the agent on the wire on purpose — which agent
|
|
215
|
+
* ids exist is the host application's business, and hard-coding one into this library would make the
|
|
216
|
+
* library wrong the first time a host renames or adds one.</p>
|
|
217
|
+
*/
|
|
218
|
+
promptAssist?: boolean;
|
|
203
219
|
/**
|
|
204
220
|
* dayjs format string used when inserting the picked date.
|
|
205
221
|
* Defaults to `'YYYY-MM-DD'` (ISO — unambiguous and trivially
|