metrics_alignment operation.
You can evaluate a response from an assistant, as in the following example. 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