Skip to content

Conversation

@TillK17
Copy link
Contributor

@TillK17 TillK17 commented Jan 15, 2025

Context

AI/ai-sdk-java-backlog#139

Updated model list for Orchestration (new amazon--nova models and gpt-35-turbo-0125) and OpenAI client (deletion of dall-e-3). Added link and disclaimer for possible outdatedness to JavaDoc of both classes.

Feature scope:

  • All the available models are shown from the auto completion, when using IDE.
    • All externally available models, regardless of the environment (EU10, US...)
  • Both orchestration and OpenAI clients are covered

Definition of Done

  • Functionality scope stated & covered
  • Tests cover the scope above
  • Error handling created / updated & covered by the tests above
  • Aligned changes with the JavaScript SDK
  • Documentation updated
  • Release notes updated

@TillK17 TillK17 added the please-review Request to review a pull-request label Jan 15, 2025
Comment on lines 16 to 23
public static final OpenAiModel DALL_E_3 = new OpenAiModel("dall-e-3", null);

/** Azure OpenAI GPT-3.5 Turbo chat completions model */
public static final OpenAiModel GPT_35_TURBO = new OpenAiModel("gpt-35-turbo", null);

/** Azure OpenAI GPT-3.5 Turbo chat completions model */
public static final OpenAiModel GPT_35_TURBO_1025 = new OpenAiModel("gpt-35-turbo-0125", null);
public static final OpenAiModel GPT_35_TURBO_0125 = new OpenAiModel("gpt-35-turbo-0125", null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a breaking change. It has to stay. Can be optionally @Deprecated

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. Just for my understanding, basically any change/deletion in naming or type of variables, functions, classes etc is always a breaking change, right?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes when it's public

@TillK17 TillK17 changed the title chore [Orchestration/OpenAI]: Update of available model list chore [Orchestration]: Update of available model list Jan 16, 2025
@TillK17 TillK17 merged commit 602bbe0 into main Jan 16, 2025
5 checks passed
@TillK17 TillK17 deleted the update-available-model-list branch January 16, 2025 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

please-review Request to review a pull-request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants