Class FilePart
java.lang.Object
io.agentscope.core.tracing.telemetry.model.FilePart
- All Implemented Interfaces:
MessagePart
Represents an external referenced file sent to the model by file id.
-
Method Summary
-
Method Details
-
getType
Description copied from interface:MessagePartGet the type of this message part.- Specified by:
getTypein interfaceMessagePart- Returns:
- the type string
-
getFileId
@JsonPropertyDescription("An identifier referencing a file that was pre-uploaded to the provider") public String getFileId() -
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
-