interface CuratedQueryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins.CfnKnowledgeBasePropsMixin.CuratedQueryProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsbedrock/mixins#CfnKnowledgeBasePropsMixin_CuratedQueryProperty |
Java | software.amazon.awscdk.mixins.preview.services.bedrock.mixins.CfnKnowledgeBasePropsMixin.CuratedQueryProperty |
Python | aws_cdk.mixins_preview.aws_bedrock.mixins.CfnKnowledgeBasePropsMixin.CuratedQueryProperty |
TypeScript | @aws-cdk/mixins-preview » aws_bedrock » mixins » 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 { mixins as bedrock_mixins } from '@aws-cdk/mixins-preview/aws-bedrock';
const curatedQueryProperty: bedrock_mixins.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