cURL
curl --request POST \ --url https://api.lytix.co/beta/api/v1/evaluateBot \ --header 'Content-Type: application/json' \ --header 'lx-api-key: <api-key>' \ --data '{ "conversation": [ { "role": "<string>", "content": "<string>" } ], "context": {}, "version": "<string>", "sessionId": "<string>" }'
{ "finalGrade": {}, "allGrades": {} }
Evaluates a conversation based on a set of known criteria see here for a full example.
Conversation to evaluate
The body is of type object.
object
Model IO response
The response is of type object.