Skip to content

Commit 9fcd900

Browse files
pull latest changes in
1 parent 5717410 commit 9fcd900

File tree

1 file changed

+28
-12
lines changed

1 file changed

+28
-12
lines changed

openapi.yaml

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3766,7 +3766,8 @@ paths:
37663766
"tools": [],
37673767
"file_ids": [],
37683768
"metadata": {},
3769-
"usage": null
3769+
"usage": null,
3770+
"temperature": 1
37703771
}
37713772
37723773
- title: Streaming
@@ -4147,7 +4148,8 @@ paths:
41474148
"prompt_tokens": 123,
41484149
"completion_tokens": 456,
41494150
"total_tokens": 579
4150-
}
4151+
},
4152+
"temperature": 1
41514153
},
41524154
{
41534155
"id": "run_abc456",
@@ -4178,7 +4180,8 @@ paths:
41784180
"prompt_tokens": 123,
41794181
"completion_tokens": 456,
41804182
"total_tokens": 579
4181-
}
4183+
},
4184+
"temperature": 1
41824185
}
41834186
],
41844187
"first_id": "run_abc123",
@@ -4277,7 +4280,8 @@ paths:
42774280
"file-abc456"
42784281
],
42794282
"metadata": {},
4280-
"usage": null
4283+
"usage": null,
4284+
"temperature": 1
42814285
}
42824286
- title: Streaming
42834287
request:
@@ -4612,7 +4616,8 @@ paths:
46124616
"prompt_tokens": 123,
46134617
"completion_tokens": 456,
46144618
"total_tokens": 579
4615-
}
4619+
},
4620+
"temperature": 1
46164621
}
46174622
post:
46184623
operationId: modifyRun
@@ -4725,7 +4730,8 @@ paths:
47254730
"prompt_tokens": 123,
47264731
"completion_tokens": 456,
47274732
"total_tokens": 579
4728-
}
4733+
},
4734+
"temperature": 1
47294735
}
47304736
47314737
/threads/{thread_id}/runs/{run_id}/submit_tool_outputs:
@@ -4862,7 +4868,8 @@ paths:
48624868
],
48634869
"file_ids": [],
48644870
"metadata": {},
4865-
"usage": null
4871+
"usage": null,
4872+
"temperature": 1
48664873
}
48674874
48684875
- title: Streaming
@@ -5061,7 +5068,8 @@ paths:
50615068
],
50625069
"file_ids": [],
50635070
"metadata": {},
5064-
"usage": null
5071+
"usage": null,
5072+
"temperature": 1
50655073
}
50665074
50675075
/threads/{thread_id}/runs/{run_id}/steps:
@@ -8522,6 +8530,10 @@ components:
85228530
nullable: true
85238531
usage:
85248532
$ref: "#/components/schemas/RunCompletionUsage"
8533+
temperature:
8534+
description: The sampling temperature used for this run. If not set, defaults to 1.
8535+
type: number
8536+
nullable: true
85258537
required:
85268538
- id
85278539
- object
@@ -8568,7 +8580,8 @@ components:
85688580
"prompt_tokens": 123,
85698581
"completion_tokens": 456,
85708582
"total_tokens": 579
8571-
}
8583+
},
8584+
"temperature": 1
85728585
}
85738586
CreateRunRequest:
85748587
type: object
@@ -8918,7 +8931,7 @@ components:
89188931
type: string
89198932
nullable: true
89208933
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.
89228935
type: string
89238936
nullable: true
89248937
file_ids:
@@ -9041,8 +9054,11 @@ components:
90419054
properties:
90429055
role:
90439056
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.
90469062
content:
90479063
type: string
90489064
minLength: 1

0 commit comments

Comments
 (0)