Show / Hide Table of Contents

Class CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty

Contains configurations for query generation.

Inheritance
object
CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty
Implements
CfnKnowledgeBasePropsMixin.IQueryGenerationConfigurationProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.Mixins.Preview.AWS.Bedrock.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty : CfnKnowledgeBasePropsMixin.IQueryGenerationConfigurationProperty
Syntax (vb)
Public Class CfnKnowledgeBasePropsMixin.QueryGenerationConfigurationProperty Implements 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

Constructors

QueryGenerationConfigurationProperty()

Contains configurations for query generation.

Properties

ExecutionTimeoutSeconds

The time after which query generation will time out.

GenerationContext

Specifies configurations for context to use during query generation.

Constructors

QueryGenerationConfigurationProperty()

Contains configurations for query generation.

public QueryGenerationConfigurationProperty()
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"
                     } }
                 }
             };

Properties

ExecutionTimeoutSeconds

The time after which query generation will time out.

public double? ExecutionTimeoutSeconds { get; set; }
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.

public object? GenerationContext { get; set; }
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

Implements

CfnKnowledgeBasePropsMixin.IQueryGenerationConfigurationProperty
Back to top Generated by DocFX