How to get and score an answer with clearrun_chat
Ask your assistant to send your question with clearrun_chat. ClearRun writes an answer, scores it, and returns both.
Last updated
Steps
Send a message
"Use clearrun_chat to ask: Is it safe to leave cooked rice out overnight?"
Read the answer and the score
The result has the answer text,
score, andverdict.Keep going in the same session
Ask the assistant to pass the
sessionIdfrom the last result.
Limits
A message can be 10 to 100,000 characters. Each call uses credits.