Interface CfnKnowledgeBase.QueryGenerationContextProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnKnowledgeBase.QueryGenerationContextProperty.Jsii$Proxy
- Enclosing class:
CfnKnowledgeBase
@Stability(Stable)
public static interface CfnKnowledgeBase.QueryGenerationContextProperty
extends software.amazon.jsii.JsiiSerializable
Contains configurations for context to use during query generation.
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.*; QueryGenerationContextProperty queryGenerationContextProperty = QueryGenerationContextProperty.builder() .curatedQueries(List.of(CuratedQueryProperty.builder() .naturalLanguage("naturalLanguage") .sql("sql") .build())) .tables(List.of(QueryGenerationTableProperty.builder() .name("name") // the properties below are optional .columns(List.of(QueryGenerationColumnProperty.builder() .description("description") .inclusion("inclusion") .name("name") .build())) .description("description") .inclusion("inclusion") .build())) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnKnowledgeBase.QueryGenerationContextProperty
static final class
An implementation forCfnKnowledgeBase.QueryGenerationContextProperty
-
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCuratedQueries
An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.- See Also:
-
getTables
An array of objects, each of which defines information about a table in the database.- See Also:
-
builder
-