Show / Hide Table of Contents

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..

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-querygenerationconfiguration.html

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

double?

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-querygenerationconfiguration.html#cfn-bedrock-knowledgebase-querygenerationconfiguration-executiontimeoutseconds

GenerationContext

Specifies configurations for context to use during query generation.

object? GenerationContext { get; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrock-knowledgebase-querygenerationconfiguration.html#cfn-bedrock-knowledgebase-querygenerationconfiguration-generationcontext

Type union: either IResolvable or CfnKnowledgeBasePropsMixin.IQueryGenerationContextProperty

Back to top Generated by DocFX