Given a query, response, and a unit_test, return the responseβs score on the unit test on a 5-point continuous scale. The total input cannot exceed 7000 tokens.
See a code example in our blog post. Email [email protected] with any feedback or questions.
π Obtain an LMUnit API key by completing this form
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
LMUnit result object.
The response is scored on a continuous scale from 1 to 5 on the unit test. The discrete scores 1, 2, 3, 4, and 5 roughly correspond to "Strongly fails," "Fails," "Neutral," "Passes," and "Strongly passes," respectively.