oa.oa_types¶
Types for oa
Functions
|
Classes
|
|
|
|
|
|
|
Used to specify the input data in some OpenAI API endpounts. |
|
A generic class for JSONL (JSON Lines) files, which are lists of dictionaries. |
|
A generic class for JSONL (JSON Lines) files, which are lists of dictionaries. |
|
|
|
|
|
|
|
|
|
- oa.oa_types.InputDataJsonL¶
alias of
JsonL[InputText]
- class oa.oa_types.InputText(**data)[source]¶
Bases:
BaseModelUsed to specify the input data in some OpenAI API endpounts.
- class oa.oa_types.JsonL(root=PydanticUndefined, **data)[source]¶
Bases:
RootModel[list[TypeVar]],Generic[T]A generic class for JSONL (JSON Lines) files, which are lists of dictionaries.
- class oa.oa_types.JsonL(root=PydanticUndefined, **data)[source]¶
Bases:
RootModel[list[TypeVar]],Generic[T]A generic class for JSONL (JSON Lines) files, which are lists of dictionaries.