AgentKnowledgeBaseKnowledgeBaseConfigurationManagedKnowledgeBaseConfiguration constructor
const
AgentKnowledgeBaseKnowledgeBaseConfigurationManagedKnowledgeBaseConfiguration({
- Input<
String?> ? embeddingModelArn, - Input<
AgentKnowledgeBaseKnowledgeBaseConfigurationManagedKnowledgeBaseConfigurationEmbeddingModelConfiguration?> ? embeddingModelConfiguration, - Input<
String?> ? embeddingModelType, - Input<
AgentKnowledgeBaseKnowledgeBaseConfigurationManagedKnowledgeBaseConfigurationServerSideEncryptionConfiguration?> ? serverSideEncryptionConfiguration,
Creates a new AgentKnowledgeBaseKnowledgeBaseConfigurationManagedKnowledgeBaseConfiguration.
embeddingModelArn ARN of the embedding model. Required when embeddingModelType is CUSTOM.
embeddingModelConfiguration Configuration for the embedding model. Required when embeddingModelType is CUSTOM. See embeddingModelConfiguration block for details.
embeddingModelType Type of embedding model. Valid values: MANAGED, CUSTOM. When MANAGED, no model selection or configuration is required. When CUSTOM, embeddingModelArn and embeddingModelConfiguration are required. Defaults to MANAGED.
serverSideEncryptionConfiguration Server-side encryption configuration for the managed knowledge base. See serverSideEncryptionConfiguration block for details.
Implementation
const AgentKnowledgeBaseKnowledgeBaseConfigurationManagedKnowledgeBaseConfiguration({
this.embeddingModelArn,
this.embeddingModelConfiguration,
this.embeddingModelType,
this.serverSideEncryptionConfiguration,
});