Class BedrockCohereChatModelResponse

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

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

    • BedrockCohereChatModelResponse Link icon

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

    • getOutputText Link icon

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

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

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

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

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

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

      public void setGenerations(List<BedrockCohereChatModelResponse.Generation> generations)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPrompt Link icon

      public String getPrompt()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPrompt Link icon

      public void setPrompt(String prompt)
      Deprecated, for removal: This API element is subject to removal in a future version.