跳到主要内容
版本:dev

File Serve Configurations Configuration

This configuration is for the file serve module. In DB-GPT, you can store yourfiles in the file server.

Parameters

NameTypeRequiredDescription
check_hashboolean
Check the hash of the file when downloading
Defaults:True
hoststring
The host of the file server
portinteger
The port of the file server, default is 5670
Defaults:5670
download_chunk_sizeinteger
The chunk size when downloading the file
Defaults:1048576
save_chunk_sizeinteger
The chunk size when saving the file
Defaults:1048576
transfer_chunk_sizeinteger
The chunk size when transferring the file
Defaults:1048576
transfer_timeoutinteger
The timeout when transferring the file
Defaults:360
local_storage_pathstring
The local storage path
api_keysstring
API keys for the endpoint, if None, allow all