We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for max_completion_tokens was introduced in ChatCompletionsOptions class (Azure SDK for Java - package com.azure.ai.openai.models) last year.
max_completion_tokens
com.azure.ai.openai.models
Reference - Azure/azure-sdk-for-java#43037
The maxTokens value is now deprecated in favor of max_completion_tokens, and is not compatible with o1 series models.
maxTokens
Reference - https://learn.microsoft.com/en-us/java/api/com.azure.ai.openai.models.chatcompletionsoptions?view=azure-java-preview#com-azure-ai-openai-models-chatcompletionsoptions-setmaxtokens(java-lang-integer)
The text was updated successfully, but these errors were encountered:
I have submitted a pull request for this change - #3305
Sorry, something went wrong.
No branches or pull requests
Support for
max_completion_tokens
was introduced in ChatCompletionsOptions class (Azure SDK for Java - packagecom.azure.ai.openai.models
) last year.Reference - Azure/azure-sdk-for-java#43037
The
maxTokens
value is now deprecated in favor ofmax_completion_tokens
, and is not compatible with o1 series models.Reference - https://learn.microsoft.com/en-us/java/api/com.azure.ai.openai.models.chatcompletionsoptions?view=azure-java-preview#com-azure-ai-openai-models-chatcompletionsoptions-setmaxtokens(java-lang-integer)
The text was updated successfully, but these errors were encountered: