Evaluate answers with the API or an SDK
To evaluate a response from an assistant, callevaluate_alignment (evaluate in Node.js). The question is what you asked, the answer is the response to evaluate, and ground_truth_answer (groundTruth in Node.js) is the response you expect.
Response