Update message docs

This commit is contained in:
Christian Tzolov
2024-07-20 11:58:18 +02:00
parent f0e555ea3c
commit 9b81df69a6
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 366 KiB

After

Width:  |  Height:  |  Size: 1.1 MiB

View File

@@ -25,9 +25,9 @@ Multimodality refers to a models ability to simultaneously understand and pro
The Spring AI Message API provides all necessary abstractions to support multimodal LLMs.
image::spring-ai-message-api.jpg[Spring AI Message API, width=600, align="center"]
image::spring-ai-message-api.jpg[Spring AI Message API, width=800, align="center"]
The Messages `content` field is used as primarily text inputs, while the, optional, `media` field allows adding one or more additional content of different modalities such as images, audio and video.
The UserMessages `content` field is used as primarily text inputs, while the, optional, `media` field allows adding one or more additional content of different modalities such as images, audio and video.
The `MimeType` specifies the modality type.
Depending on the used LLMs the Media's data field can be either encoded raw media content or an URI to the content.