-
-
Notifications
You must be signed in to change notification settings - Fork 7
OpenAI.ChatCompletionData.AddMessage
Andrew Lambert edited this page Dec 25, 2023
·
2 revisions
OpenAI.ChatCompletionData.AddMessage
Sub AddMessage(Role As String, Content As String)
Sub AddMessage(Role As String, Content As String, Images() As Picture)
Sub AddMessage(Role As String, Content As String, Image As Picture)
Sub AddMessage(Role As String, Content As String, ImageURLs() As String)
Sub AddMessage(Role As String, Content As String, ImageURL As String)
Name | Type | Comment |
---|---|---|
Role | String | One of "user", "assistant", or "system", identifying the speaker of the message. |
Content | String | The message that the speaker is adding to the chat. |
Name | Type | Comment |
---|---|---|
Role | String | One of "user", "assistant", or "system", identifying the speaker of the message. |
Content | String | The message that the speaker is adding to the chat. |
Images |
Picture array |
One or more images that the speaker is adding to the chat. |
Name | Type | Comment |
---|---|---|
Role | String | One of "user", "assistant", or "system", identifying the speaker of the message. |
Content | String | The message that the speaker is adding to the chat. |
Image | Picture |
A single image that the speaker is adding to the chat. |
Name | Type | Comment |
---|---|---|
Role | String | One of "user", "assistant", or "system", identifying the speaker of the message. |
Content | String | The message that the speaker is adding to the chat. |
ImageURLs |
String array |
One or more image URLs that the speaker is adding to the chat. |
Name | Type | Comment |
---|---|---|
Role | String | One of "user", "assistant", or "system", identifying the speaker of the message. |
Content | String | The message that the speaker is adding to the chat. |
ImageURL | String |
A single image URL that the speaker is adding to the chat. |
Adds a new message to the end of the chat log. ImageRecognition chat sessions can include images with messages.
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.