Increase default limits for source IDs and file paths in metadata
• Entity source IDs: 3 → 300 • Relation source IDs: 3 → 300 • File paths: 2 → 30
This commit is contained in:
parent
cd1c48beaf
commit
1248b3ab04
1 changed files with 3 additions and 3 deletions
|
|
@ -58,8 +58,8 @@ DEFAULT_MIN_RERANK_SCORE = 0.0
|
|||
DEFAULT_RERANK_BINDING = "null"
|
||||
|
||||
# Default source ids limit in meta data for entity and relation
|
||||
DEFAULT_MAX_SOURCE_IDS_PER_ENTITY = 3
|
||||
DEFAULT_MAX_SOURCE_IDS_PER_RELATION = 3
|
||||
DEFAULT_MAX_SOURCE_IDS_PER_ENTITY = 300
|
||||
DEFAULT_MAX_SOURCE_IDS_PER_RELATION = 300
|
||||
SOURCE_IDS_LIMIT_METHOD_KEEP = "KEEP" # Keep oldest
|
||||
SOURCE_IDS_LIMIT_METHOD_FIFO = "FIFO" # First In First Out (Keep newest)
|
||||
DEFAULT_SOURCE_IDS_LIMIT_METHOD = SOURCE_IDS_LIMIT_METHOD_KEEP
|
||||
|
|
@ -68,7 +68,7 @@ VALID_SOURCE_IDS_LIMIT_METHODS = {
|
|||
SOURCE_IDS_LIMIT_METHOD_FIFO,
|
||||
}
|
||||
# Default file_path limit in meta data for entity and relation (Use same limit method as source_ids)
|
||||
DEFAULT_MAX_FILE_PATHS = 2
|
||||
DEFAULT_MAX_FILE_PATHS = 30
|
||||
|
||||
# Field length of file_path in Milvus Schema for entity and relation (Should not be changed)
|
||||
# file_path must store all file paths up to the DEFAULT_MAX_FILE_PATHS limit within the metadata.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue