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
@@ -8605,6 +8618,15 @@ components:
8605
8618
type: object
8606
8619
x-oaiTypeLabel: map
8607
8620
nullable: true
8621
+
temperature:
8622
+
type: number
8623
+
minimum: 0
8624
+
maximum: 2
8625
+
default: 1
8626
+
example: 1
8627
+
nullable: true
8628
+
description: &run_temperature_description |
8629
+
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
8608
8630
stream:
8609
8631
type: boolean
8610
8632
nullable: true
@@ -8733,6 +8755,14 @@ components:
8733
8755
type: object
8734
8756
x-oaiTypeLabel: map
8735
8757
nullable: true
8758
+
temperature:
8759
+
type: number
8760
+
minimum: 0
8761
+
maximum: 2
8762
+
default: 1
8763
+
example: 1
8764
+
nullable: true
8765
+
description: *run_temperature_description
8736
8766
stream:
8737
8767
type: boolean
8738
8768
nullable: true
@@ -8901,7 +8931,7 @@ components:
8901
8931
type: string
8902
8932
nullable: true
8903
8933
run_id:
8904
-
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.
8905
8935
type: string
8906
8936
nullable: true
8907
8937
file_ids:
@@ -9024,8 +9054,11 @@ components:
9024
9054
properties:
9025
9055
role:
9026
9056
type: string
9027
-
enum: ["user"]
9028
-
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