Interface CfnKnowledgeBase.KnowledgeBaseConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBase.KnowledgeBaseConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBase
@Stability(Stable)
public static interface CfnKnowledgeBase.KnowledgeBaseConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configurations to apply to a knowledge base attached to the agent during query.
For more information, see Knowledge base retrieval configurations .
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.bedrock.*;
KnowledgeBaseConfigurationProperty knowledgeBaseConfigurationProperty = KnowledgeBaseConfigurationProperty.builder()
.type("type")
.vectorKnowledgeBaseConfiguration(VectorKnowledgeBaseConfigurationProperty.builder()
.embeddingModelArn("embeddingModelArn")
// the properties below are optional
.embeddingModelConfiguration(EmbeddingModelConfigurationProperty.builder()
.bedrockEmbeddingModelConfiguration(BedrockEmbeddingModelConfigurationProperty.builder()
.dimensions(123)
.build())
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnKnowledgeBase.KnowledgeBaseConfigurationPropertystatic final classAn implementation forCfnKnowledgeBase.KnowledgeBaseConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getType
The type of data that the data source is converted into for the knowledge base.- See Also:
-
getVectorKnowledgeBaseConfiguration
Contains details about the model that's used to convert the data source into vector embeddings.- See Also:
-
builder
-