Class UriPart
java.lang.Object
io.agentscope.core.tracing.telemetry.model.UriPart
- All Implemented Interfaces:
MessagePart
Represents an external referenced file sent to the model by URI.
-
Method Summary
-
Method Details
-
getType
Description copied from interface:MessagePartGet the type of this message part.- Specified by:
getTypein interfaceMessagePart- Returns:
- the type string
-
getUri
@JsonPropertyDescription("A URI referencing attached data. It should not be a base64 data URL, which should use the `blob` part instead. The URI may use a scheme known to the provider api (e.g. `gs://bucket/object.png`), or be a publicly accessible location") public String getUri() -
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
-