Uses of Class
com.azure.ai.openai.models.OpenAIFile
Packages that use OpenAIFile
Package
Description
Package containing the classes for OpenAI.
Package containing the data models for OpenAI.
-
Uses of OpenAIFile in com.azure.ai.openai
Methods in com.azure.ai.openai that return OpenAIFileModifier and TypeMethodDescriptionReturns information about a specific file.OpenAIClient.uploadFile(FileDetails file, FilePurpose purpose) Uploads a file for use by other operations.Methods in com.azure.ai.openai that return types with arguments of type OpenAIFileModifier and TypeMethodDescriptionReturns information about a specific file.Mono<com.azure.core.http.rest.Response<OpenAIFile>> OpenAIAsyncClient.getFileWithResponse(String fileId, com.azure.core.http.rest.RequestOptions requestOptions) Returns information about a specific file.com.azure.core.http.rest.Response<OpenAIFile> OpenAIClient.getFileWithResponse(String fileId, com.azure.core.http.rest.RequestOptions requestOptions) Returns information about a specific file.OpenAIAsyncClient.listFiles()Gets a list of previously uploaded files.OpenAIAsyncClient.listFiles(FilePurpose purpose) Gets a list of previously uploaded files.OpenAIClient.listFiles()Gets a list of previously uploaded files.OpenAIClient.listFiles(FilePurpose purpose) Gets a list of previously uploaded files.Mono<com.azure.core.http.rest.Response<List<OpenAIFile>>> OpenAIAsyncClient.listFilesWithResponse(com.azure.core.http.rest.RequestOptions requestOptions) Gets a list of previously uploaded files.com.azure.core.http.rest.Response<List<OpenAIFile>> OpenAIClient.listFilesWithResponse(com.azure.core.http.rest.RequestOptions requestOptions) Gets a list of previously uploaded files.OpenAIAsyncClient.uploadFile(FileDetails file, FilePurpose purpose) Uploads a file for use by other operations. -
Uses of OpenAIFile in com.azure.ai.openai.models
Methods in com.azure.ai.openai.models that return OpenAIFileModifier and TypeMethodDescriptionstatic OpenAIFileOpenAIFile.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of OpenAIFile from the JsonReader.Upload.getFile()Get the file property: The ready File object after the Upload is completed.