/lmunit
LMUnit
Changed onGiven 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
- Base URLhttps://api.contextual.ai/v1
- URLhttps://api.contextual.ai/v1/lmunit
- AuthHTTP bearer
Request body
Response
Successful Response
Changes
- info
endpoint added
- info