Interface CfnMemory.EpisodicOverrideProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnMemory.EpisodicOverrideProperty.Jsii$Proxy
- Enclosing class:
CfnMemory
@Stability(Stable)
public static interface CfnMemory.EpisodicOverrideProperty
extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
EpisodicOverrideProperty episodicOverrideProperty = EpisodicOverrideProperty.builder()
.consolidation(EpisodicOverrideConsolidationConfigurationInputProperty.builder()
.appendToPrompt("appendToPrompt")
.modelId("modelId")
.build())
.extraction(EpisodicOverrideExtractionConfigurationInputProperty.builder()
.appendToPrompt("appendToPrompt")
.modelId("modelId")
.build())
.reflection(EpisodicOverrideReflectionConfigurationInputProperty.builder()
.appendToPrompt("appendToPrompt")
.modelId("modelId")
// the properties below are optional
.memoryRecordSchema(MemoryRecordSchemaProperty.builder()
.metadataSchema(List.of(MetadataSchemaEntryProperty.builder()
.key("key")
// the properties below are optional
.extractionConfig(ExtractionConfigProperty.builder()
.llmExtractionConfig(LlmExtractionConfigProperty.builder()
.definition("definition")
// the properties below are optional
.llmExtractionInstruction("llmExtractionInstruction")
.validation(ValidationProperty.builder()
.numberValidation(NumberValidationProperty.builder()
.maxValue(123)
.minValue(123)
.build())
.stringListValidation(StringListValidationProperty.builder()
.allowedValues(List.of("allowedValues"))
.maxItems(123)
.build())
.stringValidation(StringValidationProperty.builder()
.allowedValues(List.of("allowedValues"))
.build())
.build())
.build())
.build())
.type("type")
.build()))
.build())
.namespaces(List.of("namespaces"))
.namespaceTemplates(List.of("namespaceTemplates"))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnMemory.EpisodicOverridePropertystatic final classAn implementation forCfnMemory.EpisodicOverrideProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnMemory.EpisodicOverrideConsolidationConfigurationInputPropertydefault ObjectReturns union: eitherIResolvableorCfnMemory.EpisodicOverrideExtractionConfigurationInputPropertydefault ObjectReturns union: eitherIResolvableorCfnMemory.EpisodicOverrideReflectionConfigurationInputPropertyMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getConsolidation
Returns union: eitherIResolvableorCfnMemory.EpisodicOverrideConsolidationConfigurationInputProperty- See Also:
-
getExtraction
Returns union: eitherIResolvableorCfnMemory.EpisodicOverrideExtractionConfigurationInputProperty- See Also:
-
getReflection
Returns union: eitherIResolvableorCfnMemory.EpisodicOverrideReflectionConfigurationInputProperty- See Also:
-
builder
-