Package com.sap.ai.sdk.orchestration
Class TemplateConfig
java.lang.Object
com.sap.ai.sdk.orchestration.TemplateConfig
- Direct Known Subclasses:
OrchestrationTemplate,OrchestrationTemplateReference
Template configuration for the
OrchestrationModuleConfig.- Since:
- 1.4.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceIntermediate object to build a template reference.static interfaceIntermediate object to build a template reference with the given scenario, name, and version.static interfaceIntermediate object to build a template reference with the given scenario, name, and version. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanstatic OrchestrationTemplatecreate()Build a template.booleaninthashCode()Build a template reference with tenant level scope.protected abstract PromptTemplatingModuleConfigPromptCreate a low-level representation of the template.
-
Constructor Details
-
TemplateConfig
public TemplateConfig()
-
-
Method Details
-
toLowLevel
Create a low-level representation of the template.- Returns:
- The low-level representation of the template.
-
create
Build a template.- Returns:
- A new empty template.
-
reference
Build a template reference with tenant level scope.- Returns:
- An intermediate object to build the template reference.
-
equals
-
canEqual
-
hashCode
public int hashCode()
-