gws_core

Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version
dify

Send files to Dify Knowledge Base

TASK
Typing name :  TASK.gws_core.DifySendFileToKnownledgeBase Brick :  gws_core

Send as many files or folders as you want to Dify Knowledge Base

Send as many files or folders as you want to Dify Knowledge Base.

A dify api key and a dify dataset id are required to send files to the Dify Knowledge Base.

Input

Files or folders
Files or folders to send to Dify Knowledge Base

Configuration

api_key

A credentials that contains 'route' and 'api_key'

Type : credentials_param

dataset_id

Id of the Dify knowledge base where to send the files

Type : string

indexing_technique

Optional

Indexing technique to use

Type : stringAllowed values : economic high_quality Default value : high_quality

chunk_separator

Optional

Separator to use to split the text into chunks

Type : stringDefault value : \n\n

chunk_max_tokens

Optional

Max tokens per chunk

Type : intDefault value : 500

lang

Optional

Language of the document

Type : stringDefault value : en