@@ -42,6 +42,7 @@ def create(
42
42
thread_id : str ,
43
43
* ,
44
44
assistant_id : str ,
45
+ additional_instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
45
46
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
46
47
metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
47
48
model : Optional [str ] | NotGiven = NOT_GIVEN ,
@@ -61,8 +62,13 @@ def create(
61
62
[assistant](https://platform.openai.com/docs/api-reference/assistants) to use to
62
63
execute this run.
63
64
64
- instructions: Override the default system message of the assistant. This is useful for
65
- modifying the behavior on a per-run basis.
65
+ additional_instructions: Appends additional instructions at the end of the instructions for the run. This
66
+ is useful for modifying the behavior on a per-run basis without overriding other
67
+ instructions.
68
+
69
+ instructions: Overrides the
70
+ [instructions](https://platform.openai.com/docs/api-reference/assistants/createAssistant)
71
+ of the assistant. This is useful for modifying the behavior on a per-run basis.
66
72
67
73
metadata: Set of 16 key-value pairs that can be attached to an object. This can be useful
68
74
for storing additional information about the object in a structured format. Keys
@@ -91,6 +97,7 @@ def create(
91
97
body = maybe_transform (
92
98
{
93
99
"assistant_id" : assistant_id ,
100
+ "additional_instructions" : additional_instructions ,
94
101
"instructions" : instructions ,
95
102
"metadata" : metadata ,
96
103
"model" : model ,
@@ -332,6 +339,7 @@ async def create(
332
339
thread_id : str ,
333
340
* ,
334
341
assistant_id : str ,
342
+ additional_instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
335
343
instructions : Optional [str ] | NotGiven = NOT_GIVEN ,
336
344
metadata : Optional [object ] | NotGiven = NOT_GIVEN ,
337
345
model : Optional [str ] | NotGiven = NOT_GIVEN ,
@@ -351,8 +359,13 @@ async def create(
351
359
[assistant](https://platform.openai.com/docs/api-reference/assistants) to use to
352
360
execute this run.
353
361
354
- instructions: Override the default system message of the assistant. This is useful for
355
- modifying the behavior on a per-run basis.
362
+ additional_instructions: Appends additional instructions at the end of the instructions for the run. This
363
+ is useful for modifying the behavior on a per-run basis without overriding other
364
+ instructions.
365
+
366
+ instructions: Overrides the
367
+ [instructions](https://platform.openai.com/docs/api-reference/assistants/createAssistant)
368
+ of the assistant. This is useful for modifying the behavior on a per-run basis.
356
369
357
370
metadata: Set of 16 key-value pairs that can be attached to an object. This can be useful
358
371
for storing additional information about the object in a structured format. Keys
@@ -381,6 +394,7 @@ async def create(
381
394
body = maybe_transform (
382
395
{
383
396
"assistant_id" : assistant_id ,
397
+ "additional_instructions" : additional_instructions ,
384
398
"instructions" : instructions ,
385
399
"metadata" : metadata ,
386
400
"model" : model ,
0 commit comments