aiq.data_models.dataset_handler#
Attributes#
Classes#
Subclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions. |
|
Subclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions. |
|
Subclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions. |
|
Subclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions. |
|
Subclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions. |
|
Subclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions. |
Functions#
|
Module Contents#
- class EvalS3Config(/, **data: Any)#
Bases:
pydantic.BaseModel
- class EvalFilterEntryConfig(/, **data: Any)#
Bases:
pydantic.BaseModel
- class EvalFilterConfig(/, **data: Any)#
Bases:
pydantic.BaseModel- allowlist: EvalFilterEntryConfig | None = None#
- denylist: EvalFilterEntryConfig | None = None#
- class EvalDatasetStructureConfig(/, **data: Any)#
Bases:
pydantic.BaseModel
- class EvalDatasetBaseConfig(/, **data: Any)#
Bases:
aiq.data_models.common.TypedBaseModel,aiq.data_models.common.BaseModelRegistryTagSubclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- structure: EvalDatasetStructureConfig#
- filter: EvalFilterConfig | None#
- s3: EvalS3Config | None = None#
- file_path: pathlib.Path | str#
- class EvalDatasetJsonConfig(/, **data: Any)#
Bases:
EvalDatasetBaseConfigSubclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- static parser() tuple[collections.abc.Callable, dict]#
- read_jsonl(file_path: pydantic.FilePath, **kwargs)#
- class EvalDatasetJsonlConfig(/, **data: Any)#
Bases:
EvalDatasetBaseConfigSubclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- static parser() tuple[collections.abc.Callable, dict]#
- class EvalDatasetCsvConfig(/, **data: Any)#
Bases:
EvalDatasetBaseConfigSubclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- static parser() tuple[collections.abc.Callable, dict]#
- class EvalDatasetParquetConfig(/, **data: Any)#
Bases:
EvalDatasetBaseConfigSubclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- static parser() tuple[collections.abc.Callable, dict]#
- class EvalDatasetXlsConfig(/, **data: Any)#
Bases:
EvalDatasetBaseConfigSubclass of Pydantic BaseModel that allows for specifying the object type. Use in Pydantic discriminated unions.
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- static parser() tuple[collections.abc.Callable, dict]#
- EvalDatasetConfig#