Class ConversationInput
java.lang.Object
org.springframework.ai.decision.input.ConversationInput
- All Implemented Interfaces:
DecisionInput
A
DecisionInput made of a conversation, such as the one a chat model is about
to answer or has just answered. The messages are the same Message types a chat
model takes.- Since:
- 2.1.0
- Author:
- Thomas Vitale
-
Method Summary
-
Method Details
-
getMessages
-
parts
The parts of a message, in order, for a provider to map. A message that does not keep parts has its text as a single text part, or no part when it has no text.- Parameters:
message- the message- Returns:
- the parts of the message
- Since:
- 2.1.0
-
equals
-
hashCode
public int hashCode() -
toString
-