Interface CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnFlowVersion
@Stability(Stable)
public static interface CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Contains configurations for a knowledge base node in a flow.
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.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.bedrock.*; KnowledgeBaseFlowNodeConfigurationProperty knowledgeBaseFlowNodeConfigurationProperty = KnowledgeBaseFlowNodeConfigurationProperty.builder() .knowledgeBaseId("knowledgeBaseId") // the properties below are optional .modelId("modelId") .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
static final class
An implementation forCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The unique identifier of the knowledge base to query.default String
The unique identifier of the model or inference profile to use to generate a response from the query results.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getKnowledgeBaseId
The unique identifier of the knowledge base to query.- See Also:
-
getModelId
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.- See Also:
-
builder
@Stability(Stable) static CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty.Builder builder()
-