Package com.sap.ai.sdk.orchestration
Interface PromptTemplate.ReferenceBuilder
- Enclosing class:
PromptTemplate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Intermediate object to build a template reference.
-
Method Summary
Modifier and TypeMethodDescriptiondefault PromptTemplate.ReferenceBuilder3Build a template reference with the given id for tenant scope.byScenario(String scenario) Build a template reference with the given scenario, name, and version.
-
Method Details
-
byId
Build a template reference with the given id for tenant scope.- Parameters:
id- the id of the template.- Returns:
- a template reference with the given id.
-
byScenario
Build a template reference with the given scenario, name, and version.- Parameters:
scenario- the scenario of the template.- Returns:
- an intermediate object to build the template reference.
-