data_juicer_agents.tools.files.write_text_file.input module#

Input models for write_text_file.

class data_juicer_agents.tools.files.write_text_file.input.WriteTextFileInput(*, file_path: str, content: str = '', ranges: Any = None)[source]#

Bases: BaseModel

file_path: str#
content: str#
ranges: Any#
model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class data_juicer_agents.tools.files.write_text_file.input.GenericOutput(*, ok: bool = True)[source]#

Bases: BaseModel

ok: bool#
model_config = {}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].