2
0

Add Groq block

Closes #1721
This commit is contained in:
Baptiste Arnaud
2024-08-22 15:31:05 +02:00
parent 77614f671f
commit 6a7877dc9b
22 changed files with 959 additions and 45 deletions

View File

@@ -14,4 +14,5 @@ export const forgedBlockIds = [
'open-router',
'nocodb',
'segment',
'groq',
] as const satisfies ForgedBlock['type'][]

View File

@@ -18,6 +18,8 @@ import { nocodbBlock } from '@typebot.io/nocodb-block'
import { nocodbCredentialsSchema } from '@typebot.io/nocodb-block/schemas'
import { segmentBlock } from '@typebot.io/segment-block'
import { segmentCredentialsSchema } from '@typebot.io/segment-block/schemas'
import { groqBlock } from '@typebot.io/groq-block'
import { groqCredentialsSchema } from '@typebot.io/groq-block/schemas'
export const forgedCredentialsSchemas = {
[openAIBlock.id]: openAICredentialsSchema,
@@ -30,4 +32,5 @@ export const forgedCredentialsSchemas = {
[openRouterBlock.id]: openRouterCredentialsSchema,
[nocodbBlock.id]: nocodbCredentialsSchema,
[segmentBlock.id]: segmentCredentialsSchema,
[groqBlock.id]: groqCredentialsSchema,
}

View File

@@ -11,6 +11,7 @@ import { calComBlock } from '@typebot.io/cal-com-block'
import { openAIBlock } from '@typebot.io/openai-block'
import { nocodbBlock } from '@typebot.io/nocodb-block'
import { segmentBlock } from '@typebot.io/segment-block'
import { groqBlock } from '@typebot.io/groq-block'
export const forgedBlocks = {
[openAIBlock.id]: openAIBlock,
@@ -25,4 +26,5 @@ export const forgedBlocks = {
[openRouterBlock.id]: openRouterBlock,
[nocodbBlock.id]: nocodbBlock,
[segmentBlock.id]: segmentBlock,
[groqBlock.id]: groqBlock,
}

View File

@@ -18,6 +18,7 @@
"@typebot.io/together-ai-block": "workspace:*",
"@typebot.io/open-router-block": "workspace:*",
"@typebot.io/nocodb-block": "workspace:*",
"@typebot.io/segment-block": "workspace:*"
"@typebot.io/segment-block": "workspace:*",
"@typebot.io/groq-block": "workspace:*"
}
}

View File

@@ -23,6 +23,8 @@ import { nocodbBlock } from '@typebot.io/nocodb-block'
import { nocodbBlockSchema } from '@typebot.io/nocodb-block/schemas'
import { segmentBlock } from '@typebot.io/segment-block'
import { segmentBlockSchema } from '@typebot.io/segment-block/schemas'
import { groqBlock } from '@typebot.io/groq-block'
import { groqBlockSchema } from '@typebot.io/groq-block/schemas'
export const forgedBlockSchemas = {
[openAIBlock.id]: openAIBlockSchema,
@@ -37,4 +39,5 @@ export const forgedBlockSchemas = {
[openRouterBlock.id]: openRouterBlockSchema,
[nocodbBlock.id]: nocodbBlockSchema,
[segmentBlock.id]: segmentBlockSchema,
[groqBlock.id]: groqBlockSchema,
}