flytekitplugins.openai.BatchResult

class flytekitplugins.openai.BatchResult(output_file: Optional[flytekit.types.file.file.FlyteFile.__class_getitem__.<locals>._SpecificFormatClass] = None, error_file: Optional[flytekit.types.file.file.FlyteFile.__class_getitem__.<locals>._SpecificFormatClass] = None)[source]

Methods

Parameters:
  • output_file (_SpecificFormatClass | None)

  • error_file (_SpecificFormatClass | None)

classmethod from_dict(d, *, dialect=None)
classmethod from_json(data, decoder=<function loads>, **from_dict_kwargs)
Parameters:
Return type:

T

to_dict()
to_json(encoder=<function dumps>, **to_dict_kwargs)
Parameters:
Return type:

str | bytes | bytearray

Attributes

error_file: _SpecificFormatClass | None = None
output_file: _SpecificFormatClass | None = None