Class ConversationContext

java.lang.Object
dev.langchain4j.test.judge.ConversationContext
All Implemented Interfaces:
JudgeContext

@Experimental public final class ConversationContext extends Object implements JudgeContext
A JudgeContext with the conversation that the judged text answers, for example the messages of the last request an AI Service sent to the chat model: its system message, the messages from its chat memory, the user message and the tool calls and results. It lets the judge check criteria that refer to the conversation, such as "uses only facts from the tool results".