/lmunit
LMUnit
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 lmunit-feedback@contextual.ai with any feedback or questions.
🚀 Obtain an LMUnit API key by completing this form
post/lmunit
Request body
Response
Successful Response