Skip to content

Commit 02da093

Browse files
committed
Update orchestration based on main
1 parent 1bc41b0 commit 02da093

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/TemplateResponseFormat.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616

1717
/**
1818
* Response format that the model output should adhere to. This is the same as the OpenAI
19-
* definition. Compatible with GPT-4o, GPT-4o mini, GPT-4 (Turbo) and all GPT-3.5 Turbo models newer
20-
* than gpt-3.5-turbo-1106.
19+
* definition.
2120
*/
2221
@JsonTypeInfo(use = JsonTypeInfo.Id.DEDUCTION)
2322
@JsonSubTypes({

orchestration/src/main/resources/spec/orchestration.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ components:
453453
properties:
454454
model_name:
455455
description: Model name as in LLM Access configuration
456-
example: "gpt-4"
456+
example: "gpt-4o-mini"
457457
type: string
458458
model_params: # optional, default values are used for mandatory model parameters
459459
description: Model parameters
@@ -510,7 +510,7 @@ components:
510510
model:
511511
type: string
512512
description: Model name
513-
example: "gpt-4"
513+
example: "gpt-4o-mini"
514514
system_fingerprint:
515515
type: string
516516
description: System fingerprint
@@ -649,8 +649,6 @@ components:
649649
description: >
650650
Response format that the model output should adhere to.
651651
This is the same as the OpenAI definition.
652-
653-
Compatible with GPT-4o, GPT-4o mini, GPT-4 (Turbo) and all GPT-3.5 Turbo models newer than gpt-3.5-turbo-1106.
654652
oneOf:
655653
- $ref: "#/components/schemas/ResponseFormatText"
656654
- $ref: "#/components/schemas/ResponseFormatJsonObject"
@@ -1398,7 +1396,7 @@ components:
13981396
example: 400
13991397
message:
14001398
type: string
1401-
example: "Model name must be one of ['gpt-4', ...]"
1399+
example: "Model name must be one of ['gpt-4o-mini', ...]"
14021400
location:
14031401
type: string
14041402
description: Where the error occurred

0 commit comments

Comments
 (0)