Interface CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBasePropsMixin
@Stability(Stable)
public static interface CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains configurations for query generation.
For more information, see Build a knowledge base by connecting to a structured data source in the Amazon Bedrock User Guide..
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.bedrock.*;
QueryGenerationConfigurationProperty queryGenerationConfigurationProperty = QueryGenerationConfigurationProperty.builder()
.executionTimeoutSeconds(123)
.generationContext(QueryGenerationContextProperty.builder()
.curatedQueries(List.of(CuratedQueryProperty.builder()
.naturalLanguage("naturalLanguage")
.sql("sql")
.build()))
.tables(List.of(QueryGenerationTableProperty.builder()
.columns(List.of(QueryGenerationColumnProperty.builder()
.description("description")
.inclusion("inclusion")
.name("name")
.build()))
.description("description")
.inclusion("inclusion")
.name("name")
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getExecutionTimeoutSeconds
The time after which query generation will time out.- See Also:
-
getGenerationContext
Specifies configurations for context to use during query generation.Returns union: either
IResolvableorCfnKnowledgeBasePropsMixin.QueryGenerationContextProperty- See Also:
-
builder
@Stability(Stable) static CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty.Builder builder()
-