Record Class GeminiThinkingConfig
java.lang.Object
java.lang.Record
dev.langchain4j.model.googleai.GeminiThinkingConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionGeminiThinkingConfig(Boolean includeThoughts, Integer thinkingBudget, String thinkingLevel) Creates an instance of aGeminiThinkingConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionstatic GeminiThinkingConfig.Builderbuilder()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theincludeThoughtsrecord component.Returns the value of thethinkingBudgetrecord component.Returns the value of thethinkingLevelrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
GeminiThinkingConfig
Creates an instance of aGeminiThinkingConfigrecord class.- Parameters:
includeThoughts- the value for theincludeThoughtsrecord componentthinkingBudget- the value for thethinkingBudgetrecord componentthinkingLevel- the value for thethinkingLevelrecord component
-
-
Method Details
-
builder
-
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). -
includeThoughts
Returns the value of theincludeThoughtsrecord component.- Returns:
- the value of the
includeThoughtsrecord component
-
thinkingBudget
Returns the value of thethinkingBudgetrecord component.- Returns:
- the value of the
thinkingBudgetrecord component
-
thinkingLevel
Returns the value of thethinkingLevelrecord component.- Returns:
- the value of the
thinkingLevelrecord component
-