Interface CfnKnowledgeBase.IQueryGenerationContextProperty
Contains configurations for context to use during query generation.
Namespace: Amazon.CDK.AwsBedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IQueryGenerationContextProperty
Syntax (vb)
Public Interface IQueryGenerationContextProperty
Remarks
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.Aws_bedrock;
var queryGenerationContextProperty = new QueryGenerationContextProperty {
CuratedQueries = new [] { new CuratedQueryProperty {
NaturalLanguage = "naturalLanguage",
Sql = "sql"
} },
Tables = new [] { new QueryGenerationTableProperty {
Name = "name",
// the properties below are optional
Columns = new [] { new QueryGenerationColumnProperty {
Description = "description",
Inclusion = "inclusion",
Name = "name"
} },
Description = "description",
Inclusion = "inclusion"
} }
};
Synopsis
Properties
Curated |
An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries. |
Tables | An array of objects, each of which defines information about a table in the database. |
Properties
CuratedQueries
An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.
virtual object CuratedQueries { get; }
Property Value
System.
Remarks
Tables
An array of objects, each of which defines information about a table in the database.
virtual object Tables { get; }
Property Value
System.