Policies
Max cost (for the whole request)
Maximum number of times to retry a particular model
0, the system won’t retry the request to this model. In general, there will be up to N+1 LLM calls performed to the same model (the original, and the retries.)
To be used in combination with max_switch_model_retries
Maximum number of different models to try
0, the system won’t use any other models. In general, Pulze will try the request with N+1 different LLM models (the best model, and one for each “retry”.)
To be used in combination with max_same_model_retries
Privacy level
- (default) Store the
prompt,response, and all the metadata associated with it (labels, weights, costs…) - Store all the metadata, but the
promptand the LLM’sresponsewill not be logged in any way. The log is still visible, labelled, and searcheable. - (stealth mode) The log is not stored[*], not visible, not searchable, and no
prompt,responseor labels are stored.
[*] Internally we must log the datetime and costs incurred, which we require for billing.
Prompt
Example
Pulze-Labels header, the policies will be stored as part of the Labels in this format:
This will only happen if
Pulze-Labels are defined.Send {} if you don't want to send any particular Labels, but want the Pulze-Weights and Pulze-Policies to be auto-saved.
Ignoring the Pulze-Labels header will not store the other header information as part of it -- essentially, ignoring the Pulze-Labels header is like saying "I don't want labels".