Uses of Interface
org.springframework.ai.content.MediaContent
Packages that use MediaContent
Package
Description
Provides classes for advising chat clients.
-
Uses of MediaContent in org.springframework.ai.chat.client.advisor
Methods in org.springframework.ai.chat.client.advisor with parameters of type MediaContentModifier and TypeMethodDescriptionprotected intLastMaxTokenSizeContentPurger.doEstimateTokenCount(MediaContent datum) Method parameters in org.springframework.ai.chat.client.advisor with type arguments of type MediaContentModifier and TypeMethodDescriptionprotected intLastMaxTokenSizeContentPurger.doEstimateTokenCount(List<MediaContent> datum) LastMaxTokenSizeContentPurger.purgeExcess(List<MediaContent> datum, int totalSize) -
Uses of MediaContent in org.springframework.ai.chat.messages
Classes in org.springframework.ai.chat.messages that implement MediaContentModifier and TypeClassDescriptionclassLets the generative know the content was generated as a response to the user.classA message of the type 'user' passed as input Messages with the user role are from the end-user or developer. -
Uses of MediaContent in org.springframework.ai.deepseek
Classes in org.springframework.ai.deepseek that implement MediaContent -
Uses of MediaContent in org.springframework.ai.tokenizer
Methods in org.springframework.ai.tokenizer with parameters of type MediaContentModifier and TypeMethodDescriptionintJTokkitTokenCountEstimator.estimate(MediaContent content) intTokenCountEstimator.estimate(MediaContent content) Estimates the number of tokens in the given message.Method parameters in org.springframework.ai.tokenizer with type arguments of type MediaContentModifier and TypeMethodDescriptionintJTokkitTokenCountEstimator.estimate(Iterable<MediaContent> contents) intTokenCountEstimator.estimate(Iterable<MediaContent> messages) Estimates the number of tokens in the given messages.