Record Class LlmToolDefinition
java.lang.Object
java.lang.Record
com.suncode.pwfl.ai.engine.LlmToolDefinition
-
Constructor Summary
ConstructorsConstructorDescriptionLlmToolDefinition(String id, String name, String aiDescription, String inputJsonSchema) Creates an instance of aLlmToolDefinitionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaiDescriptionrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theinputJsonSchemarecord component.name()Returns the value of thenamerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
LlmToolDefinition
Creates an instance of aLlmToolDefinitionrecord class.- Parameters:
id- the value for theidrecord componentname- the value for thenamerecord componentaiDescription- the value for theaiDescriptionrecord componentinputJsonSchema- the value for theinputJsonSchemarecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
name
Returns the value of thenamerecord component.- Returns:
- the value of the
namerecord component
-
aiDescription
Returns the value of theaiDescriptionrecord component.- Returns:
- the value of the
aiDescriptionrecord component
-
inputJsonSchema
Returns the value of theinputJsonSchemarecord component.- Returns:
- the value of the
inputJsonSchemarecord component
-