Interface EpisodicReflectionOverride.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EpisodicReflectionOverride.Builder,,EpisodicReflectionOverride> SdkBuilder<EpisodicReflectionOverride.Builder,,EpisodicReflectionOverride> SdkPojo
- Enclosing class:
EpisodicReflectionOverride
-
Method Summary
Modifier and TypeMethodDescriptionappendToPrompt(String appendToPrompt) The text appended to the prompt for the 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 used 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 over which reflections were created.namespaceTemplates(Collection<String> namespaceTemplates) The namespaceTemplates over which reflections were created.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 appended to the prompt for the reflection step of the episodic memory strategy.
- Parameters:
appendToPrompt- The text appended to the prompt for the 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 used for the reflection step of the episodic memory strategy.
- Parameters:
modelId- The model ID used 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.Use namespaceTemplates insteadThis is a legacy parameter. The namespaces over which reflections were created. Can be less nested than the episodic namespaces.
- Parameters:
namespaces- This is a legacy parameter. The namespaces over which reflections were created. 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 insteadThis is a legacy parameter. The namespaces over which reflections were created. Can be less nested than the episodic namespaces.
- Parameters:
namespaces- This is a legacy parameter. The namespaces over which reflections were created. Can be less nested than the episodic namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
The namespaceTemplates over which reflections were created. Can be less nested than the episodic namespaces.
- Parameters:
namespaceTemplates- The namespaceTemplates over which reflections were created. Can be less nested than the episodic namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceTemplates
The namespaceTemplates over which reflections were created. Can be less nested than the episodic namespaces.
- Parameters:
namespaceTemplates- The namespaceTemplates over which reflections were created. Can be less nested than the episodic namespaces.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 EpisodicReflectionOverride.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:
-