-
-
Notifications
You must be signed in to change notification settings - Fork 6
OpenAI.File.Create
Andrew Lambert edited this page Dec 17, 2023
·
4 revisions
Shared Function Create(FileContent As FolderItem, Purpose As String, FileName As String = "") As OpenAI.File
Shared Function Create(FileContent As MemoryBlock, Purpose As String, FileName As String) As OpenAI.File
Name | Type | Comment |
---|---|---|
FileContent | FolderItem | The file content to upload. |
Purpose | String | One of the approved purposes for files (currently, only "fine-tune" is approved.) |
FileName | String | Optional. The name of the file being uploaded. |
Name | Type | Comment |
---|---|---|
FileContent | MemoryBlock | The file content to upload. |
Purpose | String | One of the approved purposes for files (currently, only "fine-tune" is approved.) |
FileName | String | The name of the file being uploaded. |
A File
object representing the new file on the server.
Upload a file that contains document(s) to be used across various endpoints/features. Currently, only the FineTune endpoint accepts files.
Wiki home | Project page | Bugs | Become a sponsor
Text and code examples are Copyright ©2023-24 Andrew Lambert, offered under the CC BY-SA 3.0 License.