✨ Introducing The Forge (#1072)
The Forge allows anyone to easily create their own Typebot Block. Closes #380
This commit is contained in:
13
packages/forge/blocks/chatNode/index.ts
Normal file
13
packages/forge/blocks/chatNode/index.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { createBlock } from '@typebot.io/forge'
|
||||
import { ChatNodeLogo } from './logo'
|
||||
import { auth } from './auth'
|
||||
import { sendMessage } from './actions/sendMessage'
|
||||
|
||||
export const chatNode = createBlock({
|
||||
id: 'chat-node',
|
||||
name: 'ChatNode',
|
||||
tags: ['ai', 'openai', 'document', 'url'],
|
||||
LightLogo: ChatNodeLogo,
|
||||
auth,
|
||||
actions: [sendMessage],
|
||||
})
|
||||
Reference in New Issue
Block a user