Interface PromptRoutingClassifierConfigCustomParser
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable,PromptStepConfigBase
- All Known Implementing Classes:
PromptRoutingClassifierConfigCustomParser.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:51.366Z")
@Stability(Experimental)
public interface PromptRoutingClassifierConfigCustomParser
extends software.amazon.jsii.JsiiSerializable, PromptStepConfigBase
(experimental) Configuration for the routing classifier step.
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.alpha.*;
IBedrockInvokable bedrockInvokable;
PromptRoutingClassifierConfigCustomParser promptRoutingClassifierConfigCustomParser = PromptRoutingClassifierConfigCustomParser.builder()
.foundationModel(bedrockInvokable)
.stepType(AgentStepType.PRE_PROCESSING)
// the properties below are optional
.customPromptTemplate("customPromptTemplate")
.inferenceConfig(InferenceConfiguration.builder()
.maximumLength(123)
.stopSequences(List.of("stopSequences"))
.temperature(123)
.topK(123)
.topP(123)
.build())
.stepEnabled(false)
.useCustomParser(false)
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forPromptRoutingClassifierConfigCustomParserstatic final classAn implementation forPromptRoutingClassifierConfigCustomParser -
Method Summary
Modifier and TypeMethodDescriptionbuilder()(experimental) The foundation model to use for the routing classifier step.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.bedrock.alpha.PromptStepConfigBase
getCustomPromptTemplate, getInferenceConfig, getStepEnabled, getStepType, getUseCustomParser
-
Method Details
-
getFoundationModel
(experimental) The foundation model to use for the routing classifier step.This is required for the routing classifier step.
-
builder
-