mirror of
https://github.com/microsoft/graphrag.git
synced 2026-01-14 00:57:23 +08:00
Set encoding default
This commit is contained in:
parent
2b893840c0
commit
c73263d02c
@ -242,7 +242,7 @@ class InputDefaults:
|
||||
|
||||
storage: InputStorageDefaults = field(default_factory=InputStorageDefaults)
|
||||
file_type: ClassVar[InputFileType] = InputFileType.Text
|
||||
encoding: str = "utf-8"
|
||||
encoding: str | None = None
|
||||
file_pattern: None = None
|
||||
text_column: str = "text"
|
||||
title_column: None = None
|
||||
|
||||
@ -26,7 +26,7 @@ class InputConfig(BaseModel):
|
||||
description="The input file type to use.",
|
||||
default=graphrag_config_defaults.input.file_type,
|
||||
)
|
||||
encoding: str = Field(
|
||||
encoding: str | None = Field(
|
||||
description="The input file encoding to use.",
|
||||
default=defs.graphrag_config_defaults.input.encoding,
|
||||
)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user