Uses of Record Class
org.springframework.ai.chat.messages.part.OpaquePayload
Packages that use OpaquePayload
Package
Description
Ordered, typed content parts carried by chat messages: text, tool calls, tool results,
media and an opaque fallback for provider blocks that are not modeled yet.
-
Uses of OpaquePayload in org.springframework.ai.chat.messages.part
Methods in org.springframework.ai.chat.messages.part that return OpaquePayloadModifier and TypeMethodDescription@Nullable OpaquePayloadMediaPart.payload()Returns the value of thepayloadrecord component.@Nullable OpaquePayloadMessagePart.payload()Provider-owned data that must be replayed verbatim to the same provider, such as a thinking signature or encrypted reasoning, ornullwhen the part carries none.@Nullable OpaquePayloadReasoningPart.payload()Returns the value of thepayloadrecord component.@Nullable OpaquePayloadTextPart.payload()Returns the value of thepayloadrecord component.@Nullable OpaquePayloadToolCallPart.payload()Returns the value of thepayloadrecord component.@Nullable OpaquePayloadToolResultPart.payload()Returns the value of thepayloadrecord component.@Nullable OpaquePayloadUnknownPart.payload()Returns the value of thepayloadrecord component.Constructors in org.springframework.ai.chat.messages.part with parameters of type OpaquePayloadModifierConstructorDescriptionCreates an instance of aMediaPartrecord class.ReasoningPart(@Nullable String text, @Nullable String summary, @Nullable OpaquePayload payload, Map<String, String> attributes) Creates an instance of aReasoningPartrecord class.Creates an instance of aTextPartrecord class.ToolCallPart(AssistantMessage.ToolCall toolCall, @Nullable OpaquePayload payload, Map<String, String> attributes) Creates an instance of aToolCallPartrecord class.ToolResultPart(@Nullable String id, @Nullable String name, List<MessagePart> content, boolean isError, @Nullable OpaquePayload payload, Map<String, String> attributes) Creates an instance of aToolResultPartrecord class.UnknownPart(String provider, String kind, String rawJson, @Nullable OpaquePayload payload, Map<String, String> attributes) Creates an instance of aUnknownPartrecord class.