BlobFileListSource Class

Content source for a file list in Azure Blob Storage.

Inheritance
builtins.object
BlobFileListSource

Constructor

BlobFileListSource(container_url: str, file_list: str)

Parameters

Name Description
container_url
Required
file_list
Required

Methods

from_dict

Converts a dict in the shape of a BlobFileListSource to the model itself.

to_dict

Returns a dict representation of BlobFileListSource.

from_dict

Converts a dict in the shape of a BlobFileListSource to the model itself.

from_dict(data: Dict[str, Any]) -> BlobFileListSource

Parameters

Name Description
data
Required

A dictionary in the shape of BlobFileListSource.

Returns

Type Description

BlobFileListSource

to_dict

Returns a dict representation of BlobFileListSource.

to_dict() -> Dict[str, Any]

Returns

Type Description

Dict[str, Any]

Attributes

container_url

Azure Blob Storage container URL.

container_url: str

file_list

Path to a JSONL file within the container specifying a subset of documents for training.

file_list: str