Backend Configurations
To set the backend limit on total token consumption and the percentage that triggers an alert, configure the following keys:
tokenConsumptionLimitThe key that specifies the total tokens allowed for the AI service.tokenConsumptionTriggerThe key that specifies the percentage oftokenConsumptionLimit. When consumption exceeds this percentage, a trigger value will be set totruein the API response.
Last updated: 1 year ago
Was this helpful?