-
-
Notifications
You must be signed in to change notification settings - Fork 9
OpenAI.ImageRecognition.Create
Andrew Lambert edited this page Jan 15, 2024
·
2 revisions
OpenAI.ImageRecognition.Create
Shared Function Create(Request As OpenAI.Request) As OpenAI.ImageRecognition
Shared Function Create(Prompt As String, Images() As Picture, MaxTokens As Integer = 300, Model As OpenAI.Model = Nil) As OpenAI.ImageRecognition
Shared Function Create(Prompt As String, Image As Picture, MaxTokens As Integer = 300, Model As OpenAI.Model = Nil) As OpenAI.ImageRecognition
Shared Function Create(Prompt As String, ImageURLs() As String, MaxTokens As Integer = 300, Model As OpenAI.Model = Nil) As OpenAI.ImageRecognition
Shared Function Create(Prompt As String, ImageURL As String, MaxTokens As Integer = 300, Model As OpenAI.Model = Nil) As OpenAI.ImageRecognition
Shared Function Create(Prompt As String, Images() As FolderItem, MaxTokens As Integer = 300, Model As OpenAI.Model = Nil) As OpenAI.ImageRecognition
Shared Function Create(Prompt As String, Image As FolderItem, MaxTokens As Integer = 300, Model As OpenAI.Model = Nil) As OpenAI.ImageRecognition| Name | Type | Comment |
|---|---|---|
| Request | Request | An OpenAI request object. |
| Name | Type | Comment |
|---|---|---|
| Prompt | String | The user's prompt. For example, "what is this a picture of?" |
| Images | Picture array | Two or more images to be interpreted according to the Prompt. |
| MaxTokens | Integer | Optional. The maximum number of tokens to consume in the request. |
| Model | Model | Optional. An AI model to use for the request. If not specified then gpt-4-vision-preview is used. |
| Name | Type | Comment |
|---|---|---|
| Prompt | String | The user's prompt. For example, "what is this a picture of?" |
| Images | Picture | An image to be interpreted according to the Prompt. |
| MaxTokens | Integer | Optional. The maximum number of tokens to consume in the request. |
| Model | Model | Optional. An AI model to use for the request. If not specified then gpt-4-vision-preview is used. |
| Name | Type | Comment |
|---|---|---|
| Prompt | String | The user's prompt. For example, "what is this a picture of?" |
| ImageURLs | String array | Two or more image URLs to be interpreted according to the Prompt. |
| MaxTokens | Integer | Optional. The maximum number of tokens to consume in the request. |
| Model | Model | Optional. An AI model to use for the request. If not specified then gpt-4-vision-preview is used. |
| Name | Type | Comment |
|---|---|---|
| Prompt | String | The user's prompt. For example, "what is this a picture of?" |
| ImageURL | Picture | An image URL to be interpreted according to the Prompt. |
| MaxTokens | Integer | Optional. The maximum number of tokens to consume in the request. |
| Model | Model | Optional. An AI model to use for the request. If not specified then gpt-4-vision-preview is used. |
| Name | Type | Comment |
|---|---|---|
| Prompt | String | The user's prompt. For example, "what is this a picture of?" |
| Images | FolderItem array | Two or more image files to be interpreted according to the Prompt. |
| MaxTokens | Integer | Optional. The maximum number of tokens to consume in the request. |
| Model | Model | Optional. An AI model to use for the request. If not specified then gpt-4-vision-preview is used. |
| Name | Type | Comment |
|---|---|---|
| Prompt | String | The user's prompt. For example, "what is this a picture of?" |
| Image | FolderItem | An image file to be interpreted according to the Prompt. |
| MaxTokens | Integer | Optional. The maximum number of tokens to consume in the request. |
| Model | Model | Optional. An AI model to use for the request. If not specified then gpt-4-vision-preview is used. |
Returns a new instance of OpenAI.ImageRecognition containing the response to the query.
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.