Class BedrockFoundationModelContextEnrichmentConfiguration
java.lang.Object
software.amazon.awssdk.services.bedrockagent.model.BedrockFoundationModelContextEnrichmentConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BedrockFoundationModelContextEnrichmentConfiguration.Builder,BedrockFoundationModelContextEnrichmentConfiguration>
@Generated("software.amazon.awssdk:codegen")
public final class BedrockFoundationModelContextEnrichmentConfiguration
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<BedrockFoundationModelContextEnrichmentConfiguration.Builder,BedrockFoundationModelContextEnrichmentConfiguration>
Context enrichment configuration is used to provide additional context to the RAG application using Amazon Bedrock foundation models.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The enrichment stategy used to provide additional context.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringmodelArn()The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.static Class<? extends BedrockFoundationModelContextEnrichmentConfiguration.Builder>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
-
enrichmentStrategyConfiguration
The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.
- Returns:
- The enrichment stategy used to provide additional context. For example, Neptune GraphRAG uses Amazon Bedrock foundation models to perform chunk entity extraction.
-
modelArn
The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
- Returns:
- The Amazon Resource Name (ARN) of the model used to create vector embeddings for the knowledge base.
-
toBuilder
-
builder
-
serializableBuilderClass
public static Class<? extends BedrockFoundationModelContextEnrichmentConfiguration.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
-