interface QueryGenerationContextProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnKnowledgeBasePropsMixin_QueryGenerationContextProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnKnowledgeBasePropsMixin » QueryGenerationContextProperty |
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 { aws_bedrock as bedrock } from '@aws-cdk/cfn-property-mixins';
const queryGenerationContextProperty: bedrock.CfnKnowledgeBasePropsMixin.QueryGenerationContextProperty = {
curatedQueries: [{
naturalLanguage: 'naturalLanguage',
sql: 'sql',
}],
tables: [{
columns: [{
description: 'description',
inclusion: 'inclusion',
name: 'name',
}],
description: 'description',
inclusion: 'inclusion',
name: 'name',
}],
};
Properties
| Name | Type | Description |
|---|---|---|
| curated | IResolvable | (IResolvable | Curated)[] | An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries. |
| tables? | IResolvable | (IResolvable | Query)[] | An array of objects, each of which defines information about a table in the database. |
curatedQueries?
Type:
IResolvable | (IResolvable | Curated)[]
(optional)
An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.
tables?
Type:
IResolvable | (IResolvable | Query)[]
(optional)
An array of objects, each of which defines information about a table in the database.

.NET
Go
Java
Python
TypeScript