Skip to content

Commit af9ba3c

Browse files
authored
Merge pull request #123223 from jordanbean-msft/patch-3
Update assistants-reference-messages.md
2 parents 37e6b4f + bdeedda commit af9ba3c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/ai-services/openai/assistants-reference-messages.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Create a message.
3636

3737
|Name | Type | Required | Description |
3838
|--- |--- |--- |--- |
39-
| `role` | string | Required | The role of the entity that is creating the message. Can be `user` or `assistant`. `assistant` indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages. `assistant` indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation. |
39+
| `role` | string | Required | The role of the entity that is creating the message. Can be `user` or `assistant`. `user` indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages. `assistant` indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation. |
4040
| `content` | string | Required | The content of the message. |
4141
| `file_ids` | array | Optional | A list of File IDs that the message should use. There can be a maximum of 10 files attached to a message. Useful for tools like retrieval and code_interpreter that can access and use files. |
4242
| `metadata` | map | Optional | Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long. |
@@ -371,7 +371,7 @@ Represents a message within a thread.
371371
| `object` | string |The object type, which is always thread.message.|
372372
| `created_at` | integer |The Unix timestamp (in seconds) for when the message was created.|
373373
| `thread_id` | string |The thread ID that this message belongs to.|
374-
| `role` | string |The entity that produced the message. One of user or assistant.|
374+
| `role` | string |The entity that produced the message. One of `user` or `assistant`.|
375375
| `content` | array |The content of the message in array of text and/or images.|
376376
| `assistant_id` | string or null |If applicable, the ID of the assistant that authored this message.|
377377
| `run_id` | string or null |If applicable, the ID of the run associated with the authoring of this message.|

0 commit comments

Comments
 (0)