Record Class AiContext.ProvidedModel
java.lang.Object
java.lang.Record
com.inductiveautomation.ignition.common.ai.AiContext.ProvidedModel
- Enclosing interface:
AiContext
public static record AiContext.ProvidedModel(String providerName, ModelMetadata model)
extends Record
A specific model from a specific provider.
-
Constructor Summary
ConstructorsConstructorDescriptionProvidedModel(String providerName, ModelMetadata model) Creates an instance of aProvidedModelrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.model()Returns the value of themodelrecord component.Returns the value of theproviderNamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ProvidedModel
Creates an instance of aProvidedModelrecord class.- Parameters:
providerName- the value for theproviderNamerecord componentmodel- the value for themodelrecord 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). -
providerName
Returns the value of theproviderNamerecord component.- Returns:
- the value of the
providerNamerecord component
-
model
Returns the value of themodelrecord component.- Returns:
- the value of the
modelrecord component
-