📝 Add Transcript doc
This commit is contained in:
@ -3,6 +3,8 @@ title: Set variable
|
||||
icon: pen
|
||||
---
|
||||
|
||||
import { YoutubeVideo } from '/snippets/youtube-video.mdx'
|
||||
|
||||
The "Set variable" block allows you to set a particular value to a variable.
|
||||
|
||||
<Frame>
|
||||
@ -126,6 +128,12 @@ This value block allows you to find the `Id` from `Ids` with the same index as `
|
||||
/>
|
||||
</Frame>
|
||||
|
||||
## Transcript
|
||||
|
||||
This preset value will save the entire conversation transcript in a variable. It is super useful to provide context to an AI block or to send it as a recap with the [Send email](../integrations/send-email) block.
|
||||
|
||||
<YoutubeVideo id="OZLfiLp20f8" />
|
||||
|
||||
## Save in results
|
||||
|
||||
By default, new variables are not persisted in the [Results](../../../results) table. They are only stored for the current user chat session. Enabling this option will save the variable in the `Results` table.
|
||||
|
@ -15,6 +15,7 @@ export const LoomVideo = ({ id }) => (
|
||||
left: 0,
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
borderRadius: '8px',
|
||||
}}
|
||||
></iframe>
|
||||
</div>
|
||||
|
22
apps/docs/snippets/youtube-video.mdx
Normal file
22
apps/docs/snippets/youtube-video.mdx
Normal file
@ -0,0 +1,22 @@
|
||||
export const YoutubeVideo = ({ id }) => (
|
||||
<div
|
||||
style={{
|
||||
position: 'relative',
|
||||
paddingBottom: '64.63195691202873%',
|
||||
height: 0,
|
||||
}}
|
||||
>
|
||||
<iframe
|
||||
src={`https://www.youtube.com/embed/${id}`}
|
||||
allowFullScreen
|
||||
style={{
|
||||
position: 'absolute',
|
||||
top: 0,
|
||||
left: 0,
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
borderRadius: '8px',
|
||||
}}
|
||||
></iframe>
|
||||
</div>
|
||||
)
|
Reference in New Issue
Block a user