diff --git a/apps/docs/docs/editor/blocks/integrations/email.mdx b/apps/docs/docs/editor/blocks/integrations/email.md similarity index 94% rename from apps/docs/docs/editor/blocks/integrations/email.mdx rename to apps/docs/docs/editor/blocks/integrations/email.md index e6bda54631c..f23ffcc2373 100644 --- a/apps/docs/docs/editor/blocks/integrations/email.mdx +++ b/apps/docs/docs/editor/blocks/integrations/email.md @@ -1,5 +1,3 @@ -import { YoutubeEmbed } from '../../../../src/js/YoutubeEmbed.jsx' - # Send email If you want to receive an email notification each time a user completes the bot or if you want to send a recap to the user, the Email block is made for you: diff --git a/apps/docs/docs/editor/blocks/integrations/openai.md b/apps/docs/docs/editor/blocks/integrations/openai.md deleted file mode 100644 index 05ce01c7062..00000000000 --- a/apps/docs/docs/editor/blocks/integrations/openai.md +++ /dev/null @@ -1,17 +0,0 @@ -# OpenAI - -With the OpenAI block, you can create a chat completion based on your user queries and display the answer back to your typebot. - -OpenAI block - -This integration comes with a convenient message type called **Messages sequence ✨**. It allows you to directly pass a sequence of saved assistant / user messages: - -OpenAI messages sequence diff --git a/apps/docs/docs/editor/blocks/integrations/openai.mdx b/apps/docs/docs/editor/blocks/integrations/openai.mdx new file mode 100644 index 00000000000..c1c1695fceb --- /dev/null +++ b/apps/docs/docs/editor/blocks/integrations/openai.mdx @@ -0,0 +1,25 @@ +import { YoutubeEmbed } from '../../../../src/js/YoutubeEmbed.jsx' + +# OpenAI + +With the OpenAI block, you can create a chat completion based on your user queries and display the answer back to your typebot. + +OpenAI block + +This integration comes with a convenient message type called **Messages sequence ✨**. It allows you to directly pass a sequence of saved assistant / user messages: + +OpenAI messages sequence + +:::note +Under the hood, **Messages sequence ✨** will convert the provided variables into lists if it's not already the case. +::: + +