api library
Classes
- ApiClient
- ApiKeyAuth
- Authentication
- CreateAnswerRequest
- CreateAnswerRequestStop
- CreateAnswerResponse
- CreateAnswerResponseSelectedDocumentsInner
- CreateClassificationRequest
- CreateClassificationResponse
- CreateClassificationResponseSelectedExamplesInner
- CreateCompletionRequest
- CreateCompletionRequestPrompt
- CreateCompletionRequestStop
- CreateCompletionResponse
- CreateCompletionResponseChoicesInner
- CreateCompletionResponseChoicesInnerLogprobs
- CreateCompletionResponseUsage
- CreateEditRequest
- CreateEditResponse
- CreateEmbeddingRequest
- CreateEmbeddingRequestInput
- CreateEmbeddingResponse
- CreateEmbeddingResponseDataInner
- CreateEmbeddingResponseUsage
- CreateFineTuneRequest
- CreateImageRequest
- CreateImageRequestResponseFormatEnum
-
The format in which the generated images are returned. Must be one of
url
orb64_json
. - CreateImageRequestResponseFormatEnumTypeTransformer
- Transformation class that can encode an instance of CreateImageRequestResponseFormatEnum to String, and decode dynamic data back to CreateImageRequestResponseFormatEnum.
- CreateImageRequestSizeEnum
-
The size of the generated images. Must be one of
256x256
,512x512
, or1024x1024
. - CreateImageRequestSizeEnumTypeTransformer
- Transformation class that can encode an instance of CreateImageRequestSizeEnum to String, and decode dynamic data back to CreateImageRequestSizeEnum.
- CreateModerationRequest
- CreateModerationRequestInput
- CreateModerationResponse
- CreateModerationResponseResultsInner
- CreateModerationResponseResultsInnerCategories
- CreateModerationResponseResultsInnerCategoryScores
- CreateSearchRequest
- CreateSearchResponse
- CreateSearchResponseDataInner
- DeleteFileResponse
- DeleteModelResponse
- DeserializationMessage
- Primarily intended for use in an isolate.
- Engine
- FineTune
- FineTuneEvent
- HttpBasicAuth
- HttpBearerAuth
- ImagesResponse
- ImagesResponseDataInner
- ListEnginesResponse
- ListFilesResponse
- ListFineTuneEventsResponse
- ListFineTunesResponse
- ListModelsResponse
- Model
- OAuth
- OpenAIApi
- OpenAIFile
- QueryParam
Properties
- defaultApiClient ↔ ApiClient
-
getter/setter pair
Functions
-
deserializeAsync(
DeserializationMessage message) → Future - Primarily intended for use in an isolate.
-
mapCastOfType<
K, V> (dynamic map, String key) → Map< K, V> ? -
Returns a valid Map<K, V> found at the specified Map
key
, null otherwise. -
mapDateTime(
dynamic map, String key, [String? pattern]) → DateTime? -
Returns a valid DateTime found at the specified Map
key
, null otherwise. -
mapValueOfType<
T> (dynamic map, String key) → T? -
Returns a valid
T
value found at the specified Mapkey
, null otherwise. -
parameterToString(
dynamic value) → String - Format the given parameter object into a String.
-
serializeAsync(
Object? value) → Future< String> - Primarily intended for use in an isolate.
Typedefs
- HttpBearerAuthProvider = String Function()