You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: The sampling temperature used for this run. If not set, defaults to 1.
8535
+
type: number
8536
+
nullable: true
8525
8537
required:
8526
8538
- id
8527
8539
- object
@@ -8568,7 +8580,8 @@ components:
8568
8580
"prompt_tokens": 123,
8569
8581
"completion_tokens": 456,
8570
8582
"total_tokens": 579
8571
-
}
8583
+
},
8584
+
"temperature": 1
8572
8585
}
8573
8586
CreateRunRequest:
8574
8587
type: object
@@ -8918,7 +8931,7 @@ components:
8918
8931
type: string
8919
8932
nullable: true
8920
8933
run_id:
8921
-
description: If applicable, the ID of the [run](/docs/api-reference/runs) associated with the authoring of this message.
8934
+
description: The ID of the [run](/docs/api-reference/runs) associated with the creation of this message. Value is `null` when messages are created manually using the create message or create thread endpoints.
8922
8935
type: string
8923
8936
nullable: true
8924
8937
file_ids:
@@ -9041,8 +9054,11 @@ components:
9041
9054
properties:
9042
9055
role:
9043
9056
type: string
9044
-
enum: ["user"]
9045
-
description: The role of the entity that is creating the message. Currently only `user` is supported.
9057
+
enum: ["user", "assistant"]
9058
+
description: |
9059
+
The role of the entity that is creating the message. Allowed values include:
9060
+
- `user`: Indicates the message is sent by an actual user and should be used in most cases to represent user-generated messages.
9061
+
- `assistant`: Indicates the message is generated by the assistant. Use this value to insert messages from the assistant into the conversation.
0 commit comments