From c59df18f2127f8c827dbda0ef9d49a6eae70974e Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Mon, 13 Nov 2023 17:59:01 +0100 Subject: [PATCH] :pencil: Add OpenAI Dialogue option in breaking change doc --- apps/docs/docs/breaking-changes.md | 13 ---------- apps/docs/docs/breaking-changes.mdx | 38 +++++++++++++++++++++++++++++ packages/bot-engine/startSession.ts | 7 +++++- 3 files changed, 44 insertions(+), 14 deletions(-) delete mode 100644 apps/docs/docs/breaking-changes.md create mode 100644 apps/docs/docs/breaking-changes.mdx diff --git a/apps/docs/docs/breaking-changes.md b/apps/docs/docs/breaking-changes.md deleted file mode 100644 index 80175e29e..000000000 --- a/apps/docs/docs/breaking-changes.md +++ /dev/null @@ -1,13 +0,0 @@ -# Breaking changes - -## Typebot v6 - -- List variables now don't automatically display the last item when inserted into a bubble. It was too "magical". Now you can leverage the inline code feature to easily get the last element of a list: - - ``` - {{={{List var}}.at(-1)=}} - ``` - - Check out the new [Inline variable formatting section](./editor/variables) for more information. - -- Input prefill is now disabled by default. You can still enable it in the [Settings](./editor/settings) tab of your bot. diff --git a/apps/docs/docs/breaking-changes.mdx b/apps/docs/docs/breaking-changes.mdx new file mode 100644 index 000000000..a4c8815e3 --- /dev/null +++ b/apps/docs/docs/breaking-changes.mdx @@ -0,0 +1,38 @@ +# Breaking changes + +## Typebot v6 + +- List variables now don't automatically display the last item when inserted into a bubble. It was too "magical". Now you can leverage the inline code feature to easily get the last element of a list: + + ``` + {{={{List var}}.at(-1)=}} + ``` + + Check out the new [Inline variable formatting section](./editor/variables) for more information. + +- Input prefill is now disabled by default. You can still enable it in the [Settings](./editor/settings) tab of your bot. + +- `Message sequence` option in the OpenAI block was removed because it was also too "magical" and it. Now I've introduced the `Dialogue` option. For more information: + +
+