Interface EpisodicOverrideReflectionConfigurationInput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EpisodicOverrideReflectionConfigurationInput.Builder,,EpisodicOverrideReflectionConfigurationInput> SdkBuilder<EpisodicOverrideReflectionConfigurationInput.Builder,,EpisodicOverrideReflectionConfigurationInput> SdkPojo
- Enclosing class:
EpisodicOverrideReflectionConfigurationInput
-
Method Summary
Modifier and TypeMethodDescriptionappendToPrompt(String appendToPrompt) The text to append to the prompt for reflection step of the episodic memory strategy.memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema) Schema for metadata fields on records generated by this reflection override.memoryRecordSchema(MemoryRecordSchema memoryRecordSchema) Schema for metadata fields on records generated by this reflection override.The model ID to use for the reflection step of the episodic memory strategy.namespaces(String... namespaces) Deprecated.Use namespaceTemplates insteadnamespaces(Collection<String> namespaces) Deprecated.Use namespaceTemplates insteadnamespaceTemplates(String... namespaceTemplates) The namespaceTemplates to use for episodic reflection.namespaceTemplates(Collection<String> namespaceTemplates) The namespaceTemplates to use for episodic reflection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
appendToPrompt
The text to append to the prompt for reflection step of the episodic memory strategy.
- Parameters:
appendToPrompt- The text to append to the prompt for reflection step of the episodic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelId
The model ID to use for the reflection step of the episodic memory strategy.
- Parameters:
modelId- The model ID to use for the reflection step of the episodic memory strategy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
@Deprecated EpisodicOverrideReflectionConfigurationInput.Builder namespaces(Collection<String> namespaces) Deprecated.Use namespaceTemplates insteadThe namespaces to use for episodic reflection. Can be less nested than the episodic namespaces.
- Parameters:
namespaces- The namespaces to use for episodic reflection. Can be less nested than the episodic namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaces
Deprecated.Use namespaceTemplates insteadThe namespaces to use for episodic reflection. Can be less nested than the episodic namespaces.
- Parameters:
namespaces- The namespaces to use for episodic reflection. Can be less nested than the episodic namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
EpisodicOverrideReflectionConfigurationInput.Builder namespaceTemplates(Collection<String> namespaceTemplates) The namespaceTemplates to use for episodic reflection. Can be less nested than the episodic namespaces.
- Parameters:
namespaceTemplates- The namespaceTemplates to use for episodic reflection. Can be less nested than the episodic namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
EpisodicOverrideReflectionConfigurationInput.Builder namespaceTemplates(String... namespaceTemplates) The namespaceTemplates to use for episodic reflection. Can be less nested than the episodic namespaces.
- Parameters:
namespaceTemplates- The namespaceTemplates to use for episodic reflection. Can be less nested than the episodic namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRecordSchema
EpisodicOverrideReflectionConfigurationInput.Builder memoryRecordSchema(MemoryRecordSchema memoryRecordSchema) Schema for metadata fields on records generated by this reflection override.
- Parameters:
memoryRecordSchema- Schema for metadata fields on records generated by this reflection override.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryRecordSchema
default EpisodicOverrideReflectionConfigurationInput.Builder memoryRecordSchema(Consumer<MemoryRecordSchema.Builder> memoryRecordSchema) Schema for metadata fields on records generated by this reflection override.
This is a convenience method that creates an instance of theMemoryRecordSchema.Builderavoiding the need to create one manually viaMemoryRecordSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryRecordSchema(MemoryRecordSchema).- Parameters:
memoryRecordSchema- a consumer that will call methods onMemoryRecordSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-