Skip to content

Commit

Permalink
📝 (openai) Add youtube video about the basic chatgpt template
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Mar 21, 2023
1 parent 1e67fd7 commit 7340ec1
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
17 changes: 0 additions & 17 deletions apps/docs/docs/editor/blocks/integrations/openai.md

This file was deleted.

25 changes: 25 additions & 0 deletions apps/docs/docs/editor/blocks/integrations/openai.mdx
Original file line number Diff line number Diff line change
@@ -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.

<img
src="/img/blocks/integrations/openai/overview.png"
width="600"
alt="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:

<img
src="/img/blocks/integrations/openai/messages-sequence.png"
width="600"
alt="OpenAI messages sequence"
/>

:::note
Under the hood, **Messages sequence ✨** will convert the provided variables into lists if it's not already the case.
:::

<YoutubeEmbed videoId="v167drfHFzk" />

0 comments on commit 7340ec1

Please sign in to comment.