@ -132,7 +132,13 @@ export const ZodFieldLayout = ({
|
||||
<DropdownList
|
||||
currentItem={data ?? layout?.defaultValue}
|
||||
onItemSelect={onDataChange}
|
||||
items={innerSchema._def.values}
|
||||
items={
|
||||
layout?.hiddenItems
|
||||
? innerSchema._def.values.filter(
|
||||
(v: any) => !layout.hiddenItems.includes(v)
|
||||
)
|
||||
: innerSchema._def.values
|
||||
}
|
||||
label={layout?.label}
|
||||
helperText={
|
||||
layout?.helperText ? (
|
||||
|
15
apps/docs/editor/blocks/integrations/dify-ai.mdx
Normal file
15
apps/docs/editor/blocks/integrations/dify-ai.mdx
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
title: Dify.AI
|
||||
---
|
||||
|
||||
This block allows you to integrate your Dify.AI's assistant in your typebot.
|
||||
|
||||
## Create Chat Message
|
||||
|
||||
This action sends a user message to your agent. Then you can save `Answer` to a variable and display it in your typebot.
|
||||
|
||||
You are expected to provide the following parameters:
|
||||
|
||||
- `Query`: The user message you want to send to your agent.
|
||||
- `Conversation ID`: The conversation ID you want to use for this message. If you don't provide one, a new conversation will be created. This variable content will be updated automatically if a new conversation is created.
|
||||
- `User`: The user email used to identify the user in the conversation.
|
@ -125,7 +125,8 @@
|
||||
"editor/blocks/integrations/zemantic-ai",
|
||||
"editor/blocks/integrations/mistral",
|
||||
"editor/blocks/integrations/elevenlabs",
|
||||
"editor/blocks/integrations/anthropic"
|
||||
"editor/blocks/integrations/anthropic",
|
||||
"editor/blocks/integrations/dify-ai"
|
||||
]
|
||||
}
|
||||
]
|
||||
|
@ -19591,7 +19591,7 @@
|
||||
"query": {
|
||||
"type": "string"
|
||||
},
|
||||
"conversation_id": {
|
||||
"conversationVariableId": {
|
||||
"type": "string"
|
||||
},
|
||||
"user": {
|
||||
@ -19629,6 +19629,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"conversation_id": {
|
||||
"type": "string",
|
||||
"description": "Deprecated, use `conversationVariableId` instead"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
@ -10419,7 +10419,7 @@
|
||||
"query": {
|
||||
"type": "string"
|
||||
},
|
||||
"conversation_id": {
|
||||
"conversationVariableId": {
|
||||
"type": "string"
|
||||
},
|
||||
"user": {
|
||||
@ -10457,6 +10457,10 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"conversation_id": {
|
||||
"type": "string",
|
||||
"description": "Deprecated, use `conversationVariableId` instead"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
Reference in New Issue
Block a user