Class BedrockAnthropicMessageChatModelResponse

java.lang.Object
dev.langchain4j.model.bedrock.BedrockAnthropicMessageChatModelResponse
All Implemented Interfaces:
BedrockChatModelResponse

@Deprecated(forRemoval=true, since="1.0.0-beta2") public class BedrockAnthropicMessageChatModelResponse extends Object implements BedrockChatModelResponse
Deprecated, for removal: This API element is subject to removal in a future version.
please use BedrockChatModel
  • Constructor Details

    • BedrockAnthropicMessageChatModelResponse

      public BedrockAnthropicMessageChatModelResponse()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getOutputText

      public String getOutputText()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getOutputText in interface BedrockChatModelResponse
    • getFinishReason

      public FinishReason getFinishReason()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getFinishReason in interface BedrockChatModelResponse
    • getTokenUsage

      public TokenUsage getTokenUsage()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getTokenUsage in interface BedrockChatModelResponse
    • getId

      public String getId()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setId

      public void setId(String id)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getModel

      public String getModel()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setModel

      public void setModel(String model)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getType

      public String getType()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setType

      public void setType(String type)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getRole

      public String getRole()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setRole

      public void setRole(String role)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getContent

      public List<BedrockAnthropicContent> getContent()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setContent

      public void setContent(List<BedrockAnthropicContent> content)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getStop_reason

      public String getStop_reason()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setStop_reason

      public void setStop_reason(String stop_reason)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getStop_sequence

      public String getStop_sequence()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setStop_sequence

      public void setStop_sequence(String stop_sequence)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getUsage

      Deprecated, for removal: This API element is subject to removal in a future version.
    • setUsage

      Deprecated, for removal: This API element is subject to removal in a future version.