Skip to content

Commit e175153

Browse files
author
I750911
committed
applying deprecation to OrchestrationAiModel
1 parent 2f7a92b commit e175153

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

orchestration/src/main/java/com/sap/ai/sdk/orchestration/OrchestrationAiModel.java

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class OrchestrationAiModel {
4444
/** The version of the model, defaults to "latest". */
4545
String version;
4646

47-
/** IBM Granite 13B chat completions model */
47+
/** IBM Granite 13B Chat model */
4848
public static final OrchestrationAiModel IBM_GRANITE_13B_CHAT =
4949
new OrchestrationAiModel("ibm--granite-13b-chat");
5050

@@ -59,7 +59,8 @@ public class OrchestrationAiModel {
5959
/**
6060
* Meta Llama3 70B Instruct model
6161
*
62-
* @deprecated This model is not usable anymore. It is retired on AI Core since 2024-12-15.
62+
* @deprecated This model is deprecated on AI Core with a planned retirement on 2024-12-15.
63+
* The suggested replacement model is {@link OrchestrationAiModel#LLAMA3_1_70B_INSTRUCT}.
6364
* */
6465
@Deprecated
6566
public static final OrchestrationAiModel LLAMA3_70B_INSTRUCT =
@@ -105,35 +106,44 @@ public class OrchestrationAiModel {
105106
new OrchestrationAiModel("amazon--nova-micro");
106107

107108
/**
108-
* Azure OpenAI GPT-3.5 Turbo chat completions model
109+
* Azure OpenAI GPT-3.5 Turbo model
109110
*
110-
* @deprecated This model is not usable anymore. It is retired on AI Core since 2025-02-13.
111+
* @deprecated This model is deprecated on AI Core with a planned retirement on 2025-02-13.
112+
* The suggested replacement model is {@link OrchestrationAiModel#GPT_4O_MINI}.
111113
* */
112114
@Deprecated
113115
public static final OrchestrationAiModel GPT_35_TURBO = new OrchestrationAiModel("gpt-35-turbo");
114116

115117
/**
116-
* Azure OpenAI GPT-3.5 Turbo chat completions model
118+
* Azure OpenAI GPT-3.5 Turbo model
117119
*
118-
* @deprecated This model is not usable anymore. It is retired on AI Core since 2025-02-13.
119-
*/
120+
* @deprecated This model is deprecated on AI Core with a planned retirement on 2025-02-13.
121+
* The suggested replacement model is {@link OrchestrationAiModel#GPT_4O_MINI}.
122+
* */
120123
@Deprecated
121124
public static final OrchestrationAiModel GPT_35_TURBO_16K =
122125
new OrchestrationAiModel("gpt-35-turbo-16k");
123126

124127
/**
125-
* Azure OpenAI GPT-3.5 Turbo chat completions model
128+
* Azure OpenAI GPT-3.5 Turbo model
126129
*
127-
* @deprecated This model is not usable anymore. It is retired on AI Core since 2025-02-22.
130+
* @deprecated This model is deprecated on AI Core with a planned retirement on 2025-02-22.
131+
* The suggested replacement model is {@link OrchestrationAiModel#GPT_4O_MINI}.
128132
* */
129133
@Deprecated
130134
public static final OrchestrationAiModel GPT_35_TURBO_0125 =
131135
new OrchestrationAiModel("gpt-35-turbo-0125");
132136

133-
/** Azure OpenAI GPT-4 chat completions model */
137+
/** Azure OpenAI GPT-4 model */
134138
public static final OrchestrationAiModel GPT_4 = new OrchestrationAiModel("gpt-4");
135139

136-
/** Azure OpenAI GPT-4-32k chat completions model */
140+
/**
141+
* Azure OpenAI GPT-4 model
142+
*
143+
* @deprecated This model is deprecated on AI Core with a planned retirement on 2025-05-13.
144+
* The suggested replacement model is {@link OrchestrationAiModel#GPT_4O}.
145+
* */
146+
@Deprecated
137147
public static final OrchestrationAiModel GPT_4_32K = new OrchestrationAiModel("gpt-4-32k");
138148

139149
/** Azure OpenAI GPT-4o chat completions model */

0 commit comments

Comments
 (0)