-
-
Notifications
You must be signed in to change notification settings - Fork 6
OpenAI.ChatCompletionData.InsertMessage
Andrew Lambert edited this page Dec 25, 2023
·
2 revisions
OpenAI.ChatCompletionData.InsertMessage
Sub InsertMessage(Index As Integer, Role As String, Content As String)
Sub InsertMessage(Index As Integer, Role As String, Content As String, Images() As Picture)
Sub InsertMessage(Index As Integer, Role As String, Content As String, Image As Picture)
Sub InsertMessage(Index As Integer, Role As String, Content As String, ImageURLs() As String)
Sub InsertMessage(Index As Integer, Role As String, Content As String, ImageURL As String)
Name | Type | Comment |
---|---|---|
Index | Integer | The index to insert the message at. |
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 |
---|---|---|
Index | Integer | The index to insert the message at. |
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 |
---|---|---|
Index | Integer | The index to insert the message at. |
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 |
---|---|---|
Index | Integer | The index to insert the message at. |
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 |
---|---|---|
Index | Integer | The index to insert the message at. |
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. |
Inserts a new message into the chat log, pushing existing messages downward. 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.