mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
Refa: remove dataset language and validate dataset name length. (#5707)
### What problem does this PR solve? #5686 #5702 ### Type of change - [x] Refactoring
This commit is contained in:
@ -82,7 +82,6 @@ RAGFlow.create_dataset(
|
||||
avatar: str = "",
|
||||
description: str = "",
|
||||
embedding_model: str = "BAAI/bge-large-zh-v1.5",
|
||||
language: str = "English",
|
||||
permission: str = "me",
|
||||
chunk_method: str = "naive",
|
||||
parser_config: DataSet.ParserConfig = None
|
||||
@ -108,12 +107,6 @@ Base64 encoding of the avatar. Defaults to `""`
|
||||
|
||||
A brief description of the dataset to create. Defaults to `""`.
|
||||
|
||||
##### language: `str`
|
||||
|
||||
The language setting of the dataset to create. Available options:
|
||||
|
||||
- `"English"` (default)
|
||||
- `"Chinese"`
|
||||
|
||||
##### permission
|
||||
|
||||
|
||||
Reference in New Issue
Block a user