You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Constructor of the api endpoint. Rather than instantiating this yourself, access it through an instance of <see cref="OpenAIAPI"/> as <see cref="OpenAIAPI.Files"/>.
/// <param name="fileId">The ID of the file to use for this request</param>
36
+
/// <returns></returns>
37
+
Task<File>DeleteFileAsync(stringfileId);
38
+
39
+
/// <summary>
40
+
/// Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact OpenAI if you need to increase the storage limit
41
+
/// </summary>
42
+
/// <param name="filePath">The name of the file to use for this request</param>
43
+
/// <param name="purpose">The intendend purpose of the uploaded documents. Use "fine-tune" for Fine-tuning. This allows us to validate the format of the uploaded file.</param>
0 commit comments