Interface CfnKnowledgeBasePropsMixin.IQueryGenerationConfigurationProperty
Contains configurations for query generation.
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public interface CfnKnowledgeBasePropsMixin.IQueryGenerationConfigurationProperty
Syntax (vb)
Public Interface CfnKnowledgeBasePropsMixin.IQueryGenerationConfigurationProperty
Remarks
For more information, see Build a knowledge base by connecting to a structured data source in the Amazon Bedrock User Guide..
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins;
var queryGenerationConfigurationProperty = new QueryGenerationConfigurationProperty {
ExecutionTimeoutSeconds = 123,
GenerationContext = new QueryGenerationContextProperty {
CuratedQueries = new [] { new CuratedQueryProperty {
NaturalLanguage = "naturalLanguage",
Sql = "sql"
} },
Tables = new [] { new QueryGenerationTableProperty {
Columns = new [] { new QueryGenerationColumnProperty {
Description = "description",
Inclusion = "inclusion",
Name = "name"
} },
Description = "description",
Inclusion = "inclusion",
Name = "name"
} }
}
};
Synopsis
Properties
| ExecutionTimeoutSeconds | The time after which query generation will time out. |
| GenerationContext | Specifies configurations for context to use during query generation. |
Properties
ExecutionTimeoutSeconds
The time after which query generation will time out.
double? ExecutionTimeoutSeconds { get; }
Property Value
Remarks
GenerationContext
Specifies configurations for context to use during query generation.
object? GenerationContext { get; }
Property Value
Remarks
Type union: either IResolvable or CfnKnowledgeBasePropsMixin.IQueryGenerationContextProperty