Class CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty.Jsii$Proxy
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty.Jsii$Proxy
- All Implemented Interfaces:
CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty
@Stability(Stable)
@Internal
public static final class CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty.Jsii$Proxy
extends software.amazon.jsii.JsiiObject
implements CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty
An implementation for
CfnFlowPropsMixin.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.cfnpropertymixins.services.bedrock.CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty
CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty.Builder, CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor that initializes the object based on literal property values passed by theCfnFlowPropsMixin.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 theCfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty.Builder.
-
-
Method Details
-
getGuardrailConfiguration
Description copied from interface:CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationPropertyContains configurations for a guardrail to apply during query and response generation for the knowledge base in this configuration.Returns union: either
IResolvableorCfnFlowPropsMixin.GuardrailConfigurationProperty- Specified by:
getGuardrailConfigurationin interfaceCfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getInferenceConfiguration
Description copied from interface:CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationPropertyContains inference configurations for the prompt.Returns union: either
IResolvableorCfnFlowPropsMixin.PromptInferenceConfigurationProperty- Specified by:
getInferenceConfigurationin interfaceCfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getKnowledgeBaseId
Description copied from interface:CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationPropertyThe unique identifier of the knowledge base to query.- Specified by:
getKnowledgeBaseIdin interfaceCfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getModelId
Description copied from interface:CfnFlowPropsMixin.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 interfaceCfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getNumberOfResults
Description copied from interface:CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationPropertyThe number of results to retrieve from the knowledge base.- Specified by:
getNumberOfResultsin interfaceCfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getOrchestrationConfiguration
Description copied from interface:CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationPropertyThe configuration for orchestrating the retrieval and generation process in the knowledge base node.Returns union: either
IResolvableorCfnFlowPropsMixin.KnowledgeBaseOrchestrationConfigurationProperty- Specified by:
getOrchestrationConfigurationin interfaceCfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getPromptTemplate
Description copied from interface:CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationPropertyA custom prompt template to use with the knowledge base for generating responses.Returns union: either
IResolvableorCfnFlowPropsMixin.KnowledgeBasePromptTemplateProperty- Specified by:
getPromptTemplatein interfaceCfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationProperty- See Also:
-
getRerankingConfiguration
Description copied from interface:CfnFlowPropsMixin.KnowledgeBaseFlowNodeConfigurationPropertyThe configuration for reranking the retrieved results from the knowledge base to improve relevance.Returns union: either
IResolvableorCfnFlowPropsMixin.VectorSearchRerankingConfigurationProperty- Specified by:
getRerankingConfigurationin interfaceCfnFlowPropsMixin.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()
-