generated from SAP/repository-template
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: [Orchestration] Update to Orchestration Spec 0.36.1 (#203)
* Update to Orchestration Spec 0.36.1 * Update test payload * update spec, remove help.sap.com
- Loading branch information
Showing
49 changed files
with
3,147 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
65 changes: 65 additions & 0 deletions
65
orchestration/src/main/java/com/sap/ai/sdk/orchestration/model/DataRepositoryType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
/* | ||
* Orchestration | ||
* Orchestration is an inference service which provides common additional capabilities for business AI scenarios, such as content filtering and data masking. At the core of the service is the LLM module which allows for an easy, harmonized access to the language models of gen AI hub. The service is designed to be modular and extensible, allowing for the addition of new modules in the future. Each module can be configured independently and at runtime, allowing for a high degree of flexibility in the orchestration of AI services. | ||
* | ||
* The version of the OpenAPI document: 0.36.1 | ||
* | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
package com.sap.ai.sdk.orchestration.model; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
import javax.annotation.Nonnull; | ||
|
||
/** Gets or Sets DataRepositoryType */ | ||
public enum DataRepositoryType { | ||
VECTOR("vector"), | ||
|
||
HELP_SAP_COM("help.sap.com"), | ||
|
||
UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api"); | ||
|
||
private final String value; | ||
|
||
DataRepositoryType(String value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* @return The enum value. | ||
*/ | ||
@JsonValue | ||
public String getValue() { | ||
return value; | ||
} | ||
|
||
/** | ||
* @return The String representation of the enum value. | ||
*/ | ||
@Override | ||
@Nonnull | ||
public String toString() { | ||
return String.valueOf(value); | ||
} | ||
|
||
/** | ||
* Converts the given value to its enum representation. | ||
* | ||
* @param value The input value. | ||
* @return The enum representation of the given value. | ||
*/ | ||
@JsonCreator | ||
public static DataRepositoryType fromValue(@Nonnull final String value) { | ||
for (final DataRepositoryType b : DataRepositoryType.values()) { | ||
if (b.value.equals(value)) { | ||
return b; | ||
} | ||
} | ||
return null; | ||
} | ||
} |
Oops, something went wrong.