Assesses how relevant the information in the retrieved context is to the given input and history (if present)
input
: The user’s query or promptcontext
: Array of context documents to evaluate for relevancehistory
: Previous conversation contextResult
: Value in the continuous range [0, 1]Reasoning
: Explanation of relevance assessment