Class Model
java.lang.Object
com.ants.platform.client.resources.commons.types.Model
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic final classstatic interfacestatic interfacestatic interfacestatic interface -
Method Summary
-
Method Details
-
getId
-
getModelName
- Returns:
- Name of the model definition. If multiple with the same name exist, they are applied in the following order: (1) custom over built-in, (2) newest according to startTime where model.startTime<observation.startTime
-
getMatchPattern
- Returns:
- Regex pattern which matches this model definition to generation.model. Useful in case of fine-tuned models. If you want to exact match, use
(?i)^modelname$
-
getStartDate
- Returns:
- Apply only to generations which are newer than this ISO date.
-
getUnit
- Returns:
- Unit used by this model.
-
getInputPrice
- Returns:
- Deprecated. See 'prices' instead. Price (USD) per input unit
-
getOutputPrice
- Returns:
- Deprecated. See 'prices' instead. Price (USD) per output unit
-
getTotalPrice
- Returns:
- Deprecated. See 'prices' instead. Price (USD) per total unit. Cannot be set if input or output price is set.
-
getTokenizerId
- Returns:
- Optional. Tokenizer to be applied to observations which match to this model. See docs for more details.
-
getTokenizerConfig
- Returns:
- Optional. Configuration for the selected tokenizer. Needs to be JSON. See docs for more details.
-
getIsAntsPlatformManaged
public boolean getIsAntsPlatformManaged() -
getPrices
- Returns:
- Price (USD) by usage type
-
equals
-
getAdditionalProperties
-
hashCode
public int hashCode() -
toString
-
builder
-