Class ListModelsResponse

java.lang.Object
nl.dannyj.mistral.models.model.ListModelsResponse
All Implemented Interfaces:
Response

public class ListModelsResponse extends Object implements Response
The ListModelsResponse contains a list of all available models according to the Mistral AI API.
  • Constructor Details

    • ListModelsResponse

      public ListModelsResponse(String object, List<Model> models)
    • ListModelsResponse

      public ListModelsResponse()
  • Method Details

    • getObject

      public String getObject()
      Undocumented, seems to be the type of the response.
      Returns:
      The type of the response.
    • getModels

      public List<Model> getModels()
      The list of available models.
      Returns:
      The list of available models.
    • toString

      public String toString()
      Overrides:
      toString in class Object