Class BedrockLlamaChatModelResponse

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

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

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setGeneration(String generation)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setGeneration_token_count(int generation_token_count)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setPrompt_token_count(int prompt_token_count)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setStop_reason(String stop_reason)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • BedrockLlamaChatModelResponse

      public BedrockLlamaChatModelResponse()
      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
    • getGeneration

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

      public void setGeneration(String generation)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPrompt_token_count

      public int getPrompt_token_count()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setPrompt_token_count

      public void setPrompt_token_count(int prompt_token_count)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getGeneration_token_count

      public int getGeneration_token_count()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setGeneration_token_count

      public void setGeneration_token_count(int generation_token_count)
      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.