Class PromptFlowNodeInlineConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PromptFlowNodeInlineConfiguration.Builder,PromptFlowNodeInlineConfiguration>
Contains configurations for a prompt defined inline in the node.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal DocumentAdditional fields to be included in the model request for the Prompt node.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()Contains inference configurations for the prompt.final StringmodelId()The unique identifier of the model or inference profile to run inference with.static Class<? extends PromptFlowNodeInlineConfiguration.Builder>Contains a prompt and variables in the prompt that can be replaced with values at runtime.final PromptTemplateTypeThe type of prompt template.final StringThe type of prompt template.final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
templateType
The type of prompt template.
If the service returns an enum value that is not available in the current SDK version,
templateTypewill returnPromptTemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemplateTypeAsString().- Returns:
- The type of prompt template.
- See Also:
-
templateTypeAsString
The type of prompt template.
If the service returns an enum value that is not available in the current SDK version,
templateTypewill returnPromptTemplateType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtemplateTypeAsString().- Returns:
- The type of prompt template.
- See Also:
-
templateConfiguration
Contains a prompt and variables in the prompt that can be replaced with values at runtime.
- Returns:
- Contains a prompt and variables in the prompt that can be replaced with values at runtime.
-
modelId
The unique identifier of the model or inference profile to run inference with.
- Returns:
- The unique identifier of the model or inference profile to run inference with.
-
inferenceConfiguration
Contains inference configurations for the prompt.
- Returns:
- Contains inference configurations for the prompt.
-
additionalModelRequestFields
Additional fields to be included in the model request for the Prompt node.
- Returns:
- Additional fields to be included in the model request for the Prompt node.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PromptFlowNodeInlineConfiguration.Builder,PromptFlowNodeInlineConfiguration>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-