Class BlobPart
java.lang.Object
io.agentscope.core.tracing.telemetry.model.BlobPart
- All Implemented Interfaces:
MessagePart
Represents blob binary data sent inline to the model.
-
Method Details
-
getType
Description copied from interface:MessagePartGet the type of this message part.- Specified by:
getTypein interfaceMessagePart- Returns:
- the type string
-
getContent
@JsonPropertyDescription("Raw bytes of the attached data. This field SHOULD be encoded as a base64 string when serialized to JSON") public String getContent() -
getMimeType
-
getModality
@JsonPropertyDescription("The general modality of the data if it is known. Instrumentations SHOULD also set the mimeType field if the specific type is known") public String getModality() -
create
-