Package com.embabel.agent.spi.support
Class LlmOperationsPromptsProperties
-
- All Implemented Interfaces:
@ConfigurationProperties(prefix = "embabel.agent.platform.llm-operations.prompts") public final class LlmOperationsPromptsPropertiesProperties for the ChatClientLlmOperations operations
-
-
Field Summary
Fields Modifier and Type Field Description private StringmaybePromptTemplateprivate BooleangenerateExamplesByDefaultprivate DurationdefaultTimeout
-
Constructor Summary
Constructors Constructor Description LlmOperationsPromptsProperties()
-
Method Summary
Modifier and Type Method Description final StringgetMaybePromptTemplate()Template to use for the "maybe" prompt, which can enable a failure result if the LLM does not have enough information to create the desired output structure final UnitsetMaybePromptTemplate(String maybePromptTemplate)Template to use for the "maybe" prompt, which can enable a failure result if the LLM does not have enough information to create the desired output structure final BooleangetGenerateExamplesByDefault()Whether to generate examples by default final UnitsetGenerateExamplesByDefault(Boolean generateExamplesByDefault)Whether to generate examples by default final DurationgetDefaultTimeout()Default timeout for operations final UnitsetDefaultTimeout(Duration defaultTimeout)Default timeout for operations -
-
Method Detail
-
getMaybePromptTemplate
final String getMaybePromptTemplate()
Template to use for the "maybe" prompt, which can enable a failure result if the LLM does not have enough information to create the desired output structure
-
setMaybePromptTemplate
final Unit setMaybePromptTemplate(String maybePromptTemplate)
Template to use for the "maybe" prompt, which can enable a failure result if the LLM does not have enough information to create the desired output structure
-
getGenerateExamplesByDefault
final Boolean getGenerateExamplesByDefault()
Whether to generate examples by default
-
setGenerateExamplesByDefault
final Unit setGenerateExamplesByDefault(Boolean generateExamplesByDefault)
Whether to generate examples by default
-
getDefaultTimeout
final Duration getDefaultTimeout()
Default timeout for operations
-
setDefaultTimeout
final Unit setDefaultTimeout(Duration defaultTimeout)
Default timeout for operations
-
-
-
-