✨ Add Dify.AI block (#1183)
Implemented [Dify.AI](https://dify.ai) Block - Dify Features: -- Can Create Multiple Chat Bots -- Assign Knowledge base/vector database to chat bots -- Variables send by client to be used in the prompt -- Options of custom and cloud AI LLMs to be changed with on click - Dify API Function/Action Implemented -- Create Chat Message (Takes in input variables, query, conversation id, user id and returns answer, usage metadata and conversation id) - Future Implantations with this block -- Streaming response -- File Upload for GPT Vision -- Speech to text action <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced the ability to create chat messages within the Dify platform. - Added secure authentication for Dify.AI accounts. - Implemented a new Dify.AI block with integrated chat message creation and logo display. - Enabled Dify.AI block in the repository for user access. - **Enhancements** - Enhanced security for API key input by changing it to a password field. - **Documentation** - Included new types to support Dify AI service responses. - **Refactor** - Updated schema imports and array listings to include the new Dify.AI block. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --------- Co-authored-by: Baptiste Arnaud <baptiste.arnaud95@gmail.com>
This commit is contained in:
committed by
GitHub
parent
cf101d6cf6
commit
0817fbaebb
24
pnpm-lock.yaml
generated
24
pnpm-lock.yaml
generated
@ -1212,6 +1212,27 @@ importers:
|
||||
specifier: 5.3.2
|
||||
version: 5.3.2
|
||||
|
||||
packages/forge/blocks/difyAi:
|
||||
devDependencies:
|
||||
'@typebot.io/forge':
|
||||
specifier: workspace:*
|
||||
version: link:../../core
|
||||
'@typebot.io/lib':
|
||||
specifier: workspace:*
|
||||
version: link:../../../lib
|
||||
'@typebot.io/tsconfig':
|
||||
specifier: workspace:*
|
||||
version: link:../../../tsconfig
|
||||
'@types/react':
|
||||
specifier: 18.2.15
|
||||
version: 18.2.15
|
||||
got:
|
||||
specifier: 12.6.0
|
||||
version: 12.6.0
|
||||
typescript:
|
||||
specifier: 5.3.2
|
||||
version: 5.3.2
|
||||
|
||||
packages/forge/blocks/mistral:
|
||||
dependencies:
|
||||
'@mistralai/mistralai':
|
||||
@ -1352,6 +1373,9 @@ importers:
|
||||
'@typebot.io/chat-node-block':
|
||||
specifier: workspace:*
|
||||
version: link:../blocks/chatNode
|
||||
'@typebot.io/dify-ai-block':
|
||||
specifier: workspace:*
|
||||
version: link:../blocks/difyAi
|
||||
'@typebot.io/forge':
|
||||
specifier: workspace:*
|
||||
version: link:../core
|
||||
|
Reference in New Issue
Block a user