Skip to content

Commit

Permalink
Merge pull request #219 from openai/atty/bump-message-limit-ref
Browse files Browse the repository at this point in the history
Increase assistants message content length limit
  • Loading branch information
nknj authored Apr 10, 2024
2 parents a2e94e5 + 5fd86c8 commit d5c7938
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6724,7 +6724,7 @@ components:
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.
logprobs:
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.
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`.
type: boolean
default: false
nullable: true
Expand Down Expand Up @@ -8533,9 +8533,9 @@ components:
type: string
instructions:
description: &assistant_instructions_param_description |
The system instructions that the assistant uses. The maximum length is 32768 characters.
The system instructions that the assistant uses. The maximum length is 256,000 characters.
type: string
maxLength: 32768
maxLength: 256000
nullable: true
tools:
description: &assistant_tools_param_description |
Expand Down Expand Up @@ -8625,7 +8625,7 @@ components:
description: *assistant_instructions_param_description
type: string
nullable: true
maxLength: 32768
maxLength: 256000
tools:
description: *assistant_tools_param_description
default: []
Expand Down Expand Up @@ -8674,7 +8674,7 @@ components:
description: *assistant_instructions_param_description
type: string
nullable: true
maxLength: 32768
maxLength: 256000
tools:
description: *assistant_tools_param_description
default: []
Expand Down Expand Up @@ -9492,7 +9492,7 @@ components:
content:
type: string
minLength: 1
maxLength: 32768
maxLength: 256000
description: The content of the message.
file_ids:
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.
Expand Down

0 comments on commit d5c7938

Please sign in to comment.