Class CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty
Contains configurations for a knowledge base node in a flow.
Inheritance
Namespace: Amazon.CDK.AwsBedrock
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class KnowledgeBaseFlowNodeConfigurationProperty : Object, CfnFlowVersion.IKnowledgeBaseFlowNodeConfigurationProperty
Syntax (vb)
Public Class KnowledgeBaseFlowNodeConfigurationProperty
Inherits Object
Implements CfnFlowVersion.IKnowledgeBaseFlowNodeConfigurationProperty
Remarks
This node takes a query as the input and returns, as the output, the retrieved responses directly (as an array) or a response generated based on the retrieved responses. For more information, see Node types in Amazon Bedrock works 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.Aws_bedrock;
var knowledgeBaseFlowNodeConfigurationProperty = new KnowledgeBaseFlowNodeConfigurationProperty {
KnowledgeBaseId = "knowledgeBaseId",
// the properties below are optional
GuardrailConfiguration = new GuardrailConfigurationProperty {
GuardrailIdentifier = "guardrailIdentifier",
GuardrailVersion = "guardrailVersion"
},
ModelId = "modelId"
};
Synopsis
Constructors
Knowledge |
Properties
Guardrail |
Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration. |
Knowledge |
The unique identifier of the knowledge base to query. |
Model |
The unique identifier of the model or inference profile to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array. |
Constructors
KnowledgeBaseFlowNodeConfigurationProperty()
public KnowledgeBaseFlowNodeConfigurationProperty()
Properties
GuardrailConfiguration
Contains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration.
public object GuardrailConfiguration { get; set; }
Property Value
System.
Remarks
KnowledgeBaseId
The unique identifier of the knowledge base to query.
public string KnowledgeBaseId { get; set; }
Property Value
System.
Remarks
ModelId
The unique identifier of the model or inference profile to use to generate a response from the query results. Omit this field if you want to return the retrieved results as an array.
public string ModelId { get; set; }
Property Value
System.