post https://api.contextual.ai/v1/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 [email protected] with any feedback or questions.
Obtain an LMUnit API key by completing this form