From 7340ec139c5627c4257bda9a398764a440fcb0ef Mon Sep 17 00:00:00 2001 From: Baptiste Arnaud Date: Tue, 21 Mar 2023 16:33:56 +0100 Subject: [PATCH] :pencil: (openai) Add youtube video about the basic chatgpt template --- .../integrations/{email.mdx => email.md} | 2 -- .../docs/editor/blocks/integrations/openai.md | 17 ------------- .../editor/blocks/integrations/openai.mdx | 25 +++++++++++++++++++ 3 files changed, 25 insertions(+), 19 deletions(-) rename apps/docs/docs/editor/blocks/integrations/{email.mdx => email.md} (94%) delete mode 100644 apps/docs/docs/editor/blocks/integrations/openai.md create mode 100644 apps/docs/docs/editor/blocks/integrations/openai.mdx 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. +::: + +