Class ModelBlobPart

All Implemented Interfaces:
PropertyChangeSource, ThoughtSignature, Rebindable

public class ModelBlobPart extends BlobPart implements ThoughtSignature
A specialized BlobPart for binary content generated by the model, including internal thought process details.
Author:
anahata-ai
  • Field Details

    • thoughtSignature

      private byte[] thoughtSignature
      The thought signature / encrypeted reasoning
    • parentCall

      private HostedCodeExecutionCallPart parentCall
      If this blob was part of the output a hosted tool call (code_interpreter_call), then
  • Constructor Details

    • ModelBlobPart

      ModelBlobPart(@NonNull @NonNull AbstractModelMessage message, @NonNull @NonNull String mimeType, @NonNull @NonNull byte[] data, byte[] thoughtSignature)
      Constructs a ModelBlobPart from raw byte data and a specified MIME type.
      Parameters:
      message - The model message this part belongs to. Must be a AbstractModelMessage.
      mimeType - The MIME type.
      data - The binary data.
      thoughtSignature - The signature of the thought process as a byte array.