Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

### ✨ New Functionality

- [Orchestration] Added `GEMINI_3_8_FLASH` and `GPT_51` to model list in `OrchestrationAiModel`.
- [OpenAI] Added `GPT_51` to model list in `OpenAiModel`.
- [Spring AI] Chat completion calls via the Spring AI integration now can have multiple module configs to support fallback modules as well.

### 📈 Improvements
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ public record OpenAiModel(@Nonnull String name, @Nullable String version) implem
/** Azure OpenAI GPT-5-nano model */
public static final OpenAiModel GPT_5_NANO = new OpenAiModel("gpt-5-nano", null);

/** Azure OpenAI GPT-5.1 model */
public static final OpenAiModel GPT_51 = new OpenAiModel("gpt-5.1", null);

/** Azure OpenAI GPT-realtime model */
public static final OpenAiModel GPT_REALTIME = new OpenAiModel("gpt-realtime", null);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ public class OrchestrationAiModel {
/** Azure OpenAI GPT-5-nano model */
public static final OrchestrationAiModel GPT_5_NANO = new OrchestrationAiModel("gpt-5-nano");

/** Azure OpenAI GPT-5.1 model */
public static final OrchestrationAiModel GPT_51 = new OrchestrationAiModel("gpt-5.1");

/** Azure OpenAI GPT-5.2 model */
public static final OrchestrationAiModel GPT_52 = new OrchestrationAiModel("gpt-5.2");

Expand Down Expand Up @@ -453,6 +456,10 @@ public class OrchestrationAiModel {
public static final OrchestrationAiModel GEMINI_3_6_FLASH =
new OrchestrationAiModel("gemini-3.6-flash");

/** Google Cloud Platform Gemini 3.8 Flash model */
public static final OrchestrationAiModel GEMINI_3_8_FLASH =
new OrchestrationAiModel("gemini-3.8-flash");

/**
* Alephalpha-pharia-1-7b-control model
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ public ChatResponse outputFiltering(@Nonnull final AzureFilterThreshold policy)

val prompt =
new Prompt(
"Please rephrase the following sentence for me: 'We shall spill blood tonight', said the operator in-charge.",
"Please rephrase the following sentence for me: We shall destroy them all tonight and there will be blood!",
Comment thread
vladimir-a-sap marked this conversation as resolved.
opts);

return client.call(prompt);
Expand Down