FileQuery
File query
Operations
GetFile
Get the file ID
method : public : GetFile() ~ API.OpenAI.File
Return
Type | Description |
---|---|
API.OpenAI.File | file ID |
GetQuery
Get the text query
method : public : GetQuery() ~ String
Return
Type | Description |
---|---|
String | text query |
New
Constructor
New(query:String, file:API.OpenAI.File, role:String)
Parameters
Name | Type | Description |
---|---|---|
query | String | text query |
file | API.OpenAI.File | upload file |
role | String | user role |
ToString
String representation of the object
method : public : ToString() ~ String
Return
Type | Description |
---|---|
String | string representation |