data_juicer_agents.tools.files.view_text_file
view_text_file tool package.
-
class data_juicer_agents.tools.files.view_text_file.GenericOutput(*, ok: bool = True)[源代码]
基类:BaseModel
-
ok: bool
-
model_config = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
class data_juicer_agents.tools.files.view_text_file.ViewTextFileInput(*, file_path: str, ranges: Any = None)[源代码]
基类:BaseModel
-
file_path: str
-
ranges: Any
-
model_config = {}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
data_juicer_agents.tools.files.view_text_file.view_text_file(*, file_path: str, ranges: Any = None) → Dict[str, Any][源代码]