Class BedrockAnthropicMessageSanitizer

java.lang.Object
dev.langchain4j.model.bedrock.internal.sanitizer.BedrockAnthropicMessageSanitizer

public class BedrockAnthropicMessageSanitizer extends Object
Sanitizes the messages to conform to the format expected by the Anthropic API. This class is equal to the MessageSanitizer class in the dev.langchain4j.model.anthropic.internal.sanitizer package. When it is changed in one place, it should be changed in the other place as well.
  • Constructor Details

    • BedrockAnthropicMessageSanitizer

      public BedrockAnthropicMessageSanitizer()
  • Method Details