Skip to content

DataSourceType

Union Type

DataSourceType module-attribute

Source of examples to add to the dataset.

Union Member Types

DataSourceTypeInlineExamples dataclass

Bases: _SerdeShape

Inline examples provided directly in the request body.

Attributes

value instance-attribute

DataSourceTypeS3Source dataclass

Bases: _SerdeShape

Amazon S3 URI pointing to a JSONL file in the customer's bucket.

Attributes

value instance-attribute
value: S3Source

DataSourceTypeUnknown dataclass

Bases: _SerdeShape

Represents an unknown variant. If you receive this value, you will need to update your library to receive the parsed value. This value may not be deliberately sent.

Attributes

tag instance-attribute
tag: str