Typed Output
Constrain output to strings, numbers, booleans, or other primitive types.
Sample Request
{
"prompt": "I can eat",
"pattern": "[0-9]{1,10} [a-z]* of [a-z]*"
}
Sample Response
{
"completion": "800 calories of coffee",
"tokens_generated": 9
}