Uses of Interface
org.springframework.ai.model.Content
Package
Description
Provides a set of interfaces and classes for a generic API designed to interact with
various AI models.
-
Uses of Content in org.springframework.ai.chat.client.advisor
Modifier and TypeMethodDescriptionLastMaxTokenSizeContentPurger.purgeExcess
(List<MediaContent> datum, int totalSize) -
Uses of Content in org.springframework.ai.chat.messages
Modifier and TypeInterfaceDescriptioninterface
The Message interface represents a message that can be sent or received in a chat application.Modifier and TypeClassDescriptionclass
The AbstractMessage class is an abstract implementation of the Message interface.class
Lets the generative know the content was generated as a response to the user.class
A message of the type 'system' passed as input.class
The ToolResponseMessage class represents a message with a function content in a chat application.class
A message of the type 'user' passed as input Messages with the user role are from the end-user or developer. -
Uses of Content in org.springframework.ai.document
Modifier and TypeClassDescriptionclass
A document is a container for the content and metadata of a document. -
Uses of Content in org.springframework.ai.evaluation
ModifierConstructorDescriptionEvaluationRequest
(String userText, List<Content> dataList, String responseContent) EvaluationRequest
(List<Content> dataList, String responseContent) -
Uses of Content in org.springframework.ai.model