interface CuratedQueryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnKnowledgeBasePropsMixin.CuratedQueryProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnKnowledgeBasePropsMixin_CuratedQueryProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.CuratedQueryProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnKnowledgeBasePropsMixin.CuratedQueryProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnKnowledgeBasePropsMixin » CuratedQueryProperty |
Contains configurations for a query, each of which defines information about example queries to help the query engine generate appropriate SQL queries.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from '@aws-cdk/cfn-property-mixins';
const curatedQueryProperty: bedrock.CfnKnowledgeBasePropsMixin.CuratedQueryProperty = {
naturalLanguage: 'naturalLanguage',
sql: 'sql',
};
Properties
| Name | Type | Description |
|---|---|---|
| natural | string | An example natural language query. |
| sql? | string | The SQL equivalent of the natural language query. |
naturalLanguage?
Type:
string
(optional)
An example natural language query.
sql?
Type:
string
(optional)
The SQL equivalent of the natural language query.

.NET
Go
Java
Python
TypeScript