Class UserMessageContext
java.lang.Object
dev.langchain4j.test.judge.UserMessageContext
- All Implemented Interfaces:
JudgeContext
A
JudgeContext with the text of the user message that the judged text responds to, for example
userMessage.singleText().-
Method Summary
-
Method Details
-
from
Creates a context with the given user message text.- Throws:
IllegalArgumentException- if the text is blank
-
text
The text of the user message, never blank. -
equals
-
hashCode
-
toString
-