Package com.axelor.ai.chat
Record Class ChatRequest.Options
java.lang.Object
java.lang.Record
com.axelor.ai.chat.ChatRequest.Options
- Record Components:
context- arbitrary key-value context forwarded to the providersessionId- the client tab's ephemeral session id — the claim identity for client-tool execution (see ChatStreamRegistry pending calls). Not a security boundary (ownerUser is); it distinguishes one user's sessions from each other.timeZone- the browser's time zone, an IANA name such asEurope/Paris; null when the client sent none
- Enclosing class:
ChatRequest
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontext()Returns the value of thecontextrecord component.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 thesessionIdrecord component.timeZone()Returns the value of thetimeZonerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
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). -
context
Returns the value of thecontextrecord component.- Returns:
- the value of the
contextrecord component
-
sessionId
Returns the value of thesessionIdrecord component.- Returns:
- the value of the
sessionIdrecord component
-
timeZone
Returns the value of thetimeZonerecord component.- Returns:
- the value of the
timeZonerecord component
-