Class CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.bedrock.CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty
An implementation for
CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.bedrock.CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty
CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty.Builder, CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal ObjectContains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration.final ObjectContains inference configurations for the prompt.final StringThe unique identifier of the knowledge base to query.final StringThe unique identifier of the model or inference profile to use to generate a response from the query results.final NumberThe number of results to retrieve from the knowledge base.final ObjectThe configuration for orchestrating the retrieval and generation process in the knowledge base node.final ObjectA custom prompt template to use with the knowledge base for generating responses.final ObjectThe configuration for reranking the retrieved results from the knowledge base to improve relevance.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty.Builder.
-
-
Method Details
-
getKnowledgeBaseId
Description copied from interface:CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationPropertyThe unique identifier of the knowledge base to query.- Specified by:
getKnowledgeBaseIdin interfaceCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getGuardrailConfiguration
Description copied from interface:CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationPropertyContains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration.Returns union: either
IResolvableorCfnFlowVersion.GuardrailConfigurationProperty- Specified by:
getGuardrailConfigurationin interfaceCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getInferenceConfiguration
Description copied from interface:CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationPropertyContains inference configurations for the prompt.Returns union: either
IResolvableorCfnFlowVersion.PromptInferenceConfigurationProperty- Specified by:
getInferenceConfigurationin interfaceCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getModelId
Description copied from interface:CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationPropertyThe 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.- Specified by:
getModelIdin interfaceCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getNumberOfResults
Description copied from interface:CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationPropertyThe number of results to retrieve from the knowledge base.- Specified by:
getNumberOfResultsin interfaceCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getOrchestrationConfiguration
Description copied from interface:CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationPropertyThe configuration for orchestrating the retrieval and generation process in the knowledge base node.Returns union: either
IResolvableorCfnFlowVersion.KnowledgeBaseOrchestrationConfigurationProperty- Specified by:
getOrchestrationConfigurationin interfaceCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getPromptTemplate
Description copied from interface:CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationPropertyA custom prompt template to use with the knowledge base for generating responses.Returns union: either
IResolvableorCfnFlowVersion.KnowledgeBasePromptTemplateProperty- Specified by:
getPromptTemplatein interfaceCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getRerankingConfiguration
Description copied from interface:CfnFlowVersion.KnowledgeBaseFlowNodeConfigurationPropertyThe configuration for reranking the retrieved results from the knowledge base to improve relevance.Returns union: either
IResolvableorCfnFlowVersion.VectorSearchRerankingConfigurationProperty- Specified by:
getRerankingConfigurationin interfaceCfnFlowVersion.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-