Record Class OllamaApi.Model.Details
java.lang.Object
java.lang.Record
org.springframework.ai.ollama.api.OllamaApi.Model.Details
- Enclosing class:
OllamaApi.Model
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.families()Returns the value of thefamiliesrecord component.family()Returns the value of thefamilyrecord component.format()Returns the value of theformatrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theparameterSizerecord component.Returns the value of theparentModelrecord component.Returns the value of thequantizationLevelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Details
public Details(String parentModel, String format, String family, List<String> families, String parameterSize, String quantizationLevel) Creates an instance of aDetailsrecord class.- Parameters:
parentModel- the value for theparentModelrecord componentformat- the value for theformatrecord componentfamily- the value for thefamilyrecord componentfamilies- the value for thefamiliesrecord componentparameterSize- the value for theparameterSizerecord componentquantizationLevel- the value for thequantizationLevelrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
parentModel
Returns the value of theparentModelrecord component.- Returns:
- the value of the
parentModelrecord component
-
format
Returns the value of theformatrecord component.- Returns:
- the value of the
formatrecord component
-
family
Returns the value of thefamilyrecord component.- Returns:
- the value of the
familyrecord component
-
families
-
parameterSize
Returns the value of theparameterSizerecord component.- Returns:
- the value of the
parameterSizerecord component
-
quantizationLevel
Returns the value of thequantizationLevelrecord component.- Returns:
- the value of the
quantizationLevelrecord component
-