# QueryGenerationContextProperty

>Contains configurations for context to use during query generation.

- Source: Generated code
- Type last changed: v2.177.0 · 25 Jan 2025

## Example

```ts
// 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-lib';
const queryGenerationContextProperty: bedrock.CfnKnowledgeBase.QueryGenerationContextProperty = {
  curatedQueries: [{
    naturalLanguage: 'naturalLanguage',
    sql: 'sql',
  }],
  tables: [{
    name: 'name',

    // the properties below are optional
    columns: [{
      description: 'description',
      inclusion: 'inclusion',
      name: 'name',
    }],
    description: 'description',
    inclusion: 'inclusion',
  }],
};
```

## Properties

- `curatedQueries`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.CuratedQueryProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.CuratedQueryProperty.html)[] — An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.

- `tables`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnKnowledgeBase.QueryGenerationTableProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_bedrock.CfnKnowledgeBase.QueryGenerationTableProperty.html)[] — An array of objects, each of which defines information about a table in the database.
