2
0

(openai) Add "Ask assistant" action

Closes #1024
This commit is contained in:
Baptiste Arnaud
2024-01-11 08:29:41 +01:00
parent 799c694522
commit 03258e0f64
13 changed files with 257 additions and 42 deletions

View File

@@ -4,6 +4,7 @@ import { createSpeech } from './actions/createSpeech'
import { createBlock } from '@typebot.io/forge'
import { auth } from './auth'
import { baseOptions } from './baseOptions'
import { askAssistant } from './actions/askAssistant'
export const openAIBlock = createBlock({
id: 'openai' as const,
@@ -13,5 +14,5 @@ export const openAIBlock = createBlock({
DarkLogo: OpenAIDarkLogo,
auth,
options: baseOptions,
actions: [createChatCompletion, createSpeech],
actions: [createChatCompletion, askAssistant, createSpeech],
})