Set encoding default

This commit is contained in:
Nathan Evans 2026-01-06 10:13:36 -08:00
parent 2b893840c0
commit c73263d02c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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,
)