Class StreamParserFactory
java.lang.Object
org.apache.camel.component.aws2.bedrock.runtime.stream.StreamParserFactory
Factory for creating appropriate StreamResponseParser based on model ID
-
Method Summary
Modifier and TypeMethodDescriptionstatic StreamResponseParserGet the appropriate parser for the given model ID
-
Method Details
-
getParser
Get the appropriate parser for the given model ID- Parameters:
modelId- the Bedrock model ID- Returns:
- the appropriate parser for this model
-