Class BedrockStabilityAIChatModel

All Implemented Interfaces:
ChatModel

@Deprecated(forRemoval=true, since="1.0.0-beta2") public class BedrockStabilityAIChatModel extends AbstractBedrockChatModel<BedrockStabilityAIChatModelResponse>
Deprecated, for removal: This API element is subject to removal in a future version.
Will be removed in the next release, this functionality will not be supported anymore. Please reach out (via GitHub issues) if you use it.
  • Constructor Details Link icon

  • Method Details Link icon

    • getRequestParameters Link icon

      protected Map<String,Object> getRequestParameters(String prompt)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractBedrockChatModel
      Get request parameters
      Specified by:
      getRequestParameters in class AbstractBedrockChatModel<BedrockStabilityAIChatModelResponse>
      Parameters:
      prompt - prompt
      Returns:
      request body
    • getModelId Link icon

      protected String getModelId()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractSharedBedrockChatModel
      Get model id
      Specified by:
      getModelId in class AbstractSharedBedrockChatModel
      Returns:
      model id
    • getResponseClassType Link icon

      protected Class<BedrockStabilityAIChatModelResponse> getResponseClassType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from class: AbstractBedrockChatModel
      Get response class type
      Specified by:
      getResponseClassType in class AbstractBedrockChatModel<BedrockStabilityAIChatModelResponse>
      Returns:
      response class type
    • getModel Link icon

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

      public int getCfgScale()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getWidth Link icon

      public int getWidth()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getHeight Link icon

      public int getHeight()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSeed Link icon

      public int getSeed()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getSteps Link icon

      public int getSteps()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getPromptWeight Link icon

      public double getPromptWeight()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getStylePreset Link icon

      public BedrockStabilityAIChatModel.StylePreset getStylePreset()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • builder Link icon

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