Class BedrockAnthropicCompletionChatModelResponse

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

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

    • BedrockAnthropicCompletionChatModelResponse

      public BedrockAnthropicCompletionChatModelResponse()
      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
    • getCompletion

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

      public void setCompletion(String completion)
      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.