Skip to content

Commit d5c7938

Browse files
authored
Merge pull request #219 from openai/atty/bump-message-limit-ref
Increase assistants message content length limit
2 parents a2e94e5 + 5fd86c8 commit d5c7938

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

openapi.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6724,7 +6724,7 @@ components:
67246724
67256725
Accepts a JSON object that maps tokens (specified by their token ID in the tokenizer) to an associated bias value from -100 to 100. Mathematically, the bias is added to the logits generated by the model prior to sampling. The exact effect will vary per model, but values between -1 and 1 should decrease or increase likelihood of selection; values like -100 or 100 should result in a ban or exclusive selection of the relevant token.
67266726
logprobs:
6727-
description: Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the `content` of `message`. This option is currently not available on the `gpt-4-turbo-preview` model.
6727+
description: Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the `content` of `message`.
67286728
type: boolean
67296729
default: false
67306730
nullable: true
@@ -8533,9 +8533,9 @@ components:
85338533
type: string
85348534
instructions:
85358535
description: &assistant_instructions_param_description |
8536-
The system instructions that the assistant uses. The maximum length is 32768 characters.
8536+
The system instructions that the assistant uses. The maximum length is 256,000 characters.
85378537
type: string
8538-
maxLength: 32768
8538+
maxLength: 256000
85398539
nullable: true
85408540
tools:
85418541
description: &assistant_tools_param_description |
@@ -8625,7 +8625,7 @@ components:
86258625
description: *assistant_instructions_param_description
86268626
type: string
86278627
nullable: true
8628-
maxLength: 32768
8628+
maxLength: 256000
86298629
tools:
86308630
description: *assistant_tools_param_description
86318631
default: []
@@ -8674,7 +8674,7 @@ components:
86748674
description: *assistant_instructions_param_description
86758675
type: string
86768676
nullable: true
8677-
maxLength: 32768
8677+
maxLength: 256000
86788678
tools:
86798679
description: *assistant_tools_param_description
86808680
default: []
@@ -9492,7 +9492,7 @@ components:
94929492
content:
94939493
type: string
94949494
minLength: 1
9495-
maxLength: 32768
9495+
maxLength: 256000
94969496
description: The content of the message.
94979497
file_ids:
94989498
description: A list of [File](/docs/api-reference/files) 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.

0 commit comments

Comments
 (0)