Class Media
java.lang.Object
org.springframework.ai.chat.messages.Media
The Media class represents the data and metadata of a media attachment in a message. It
consists of a MIME type and the raw data.
This class is used as a parameter in the constructor of the UserMessage class.
- Since:
- 0.8.1
- Author:
- Christian Tzolov
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Media
-
-
Method Details
-
getMimeType
public org.springframework.util.MimeType getMimeType() -
getData
-