You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -144,7 +149,7 @@ For link:https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-infer
144
149
145
150
Currently, Bedrock Converse supports the `base64` encoded images of `image/jpeg`, `image/png`, `image/gif` and `image/webp` mime types.
146
151
147
-
Spring AI's `Message` interface supports multimodal AI models by introducing the `Media`` type.
152
+
Spring AI's `Message` interface supports multimodal AI models by introducing the `Media` type.
148
153
It contains data and information about media attachments in messages, using Spring's `org.springframework.util.MimeType` and a `java.lang.Object` for the raw media data.
149
154
150
155
Below is a simple code example, demonstrating the combination of user text with an image.
It takes as an input the `spring-ai-reference-overview.pdf` document:
240
+
234
241
image::test.pdf.png[Multimodal Test PNG, 200, 200, align="left"]
235
242
236
243
along with the text message "You are a very professional document summarization specialist. Please summarize the given document.", and generates a response something like:
0 commit comments