Fiddler Guardrails Free Trial Documentation
Rate Limits
The Fiddler Guardrails free trial experience is subject to the following rate limits. To increase these limits, please contact sales (https://www.fiddler.ai/contact-sales).
Safety
2
70
200
Faithfulness
2
70
200
Understanding Trust Model Scores
Fiddler Trust Models return scores in the range of 0 to 1. These scores represent the model's confidence that the input belongs to the target class (e.g., toxicity, hallucination).
Higher scores (closer to 1): Higher confidence the input belongs to the target class
Lower scores (closer to 0): Lower confidence the input belongs to the target class
Threshold Selection
You must select a threshold value between 0 and 1 to convert these scores into binary decisions. This creates a tradeoff:
Lower thresholds: Catch more true positives but include more false positives
Higher thresholds: Reduce false positives but might miss some true positives
Our quickstart examples include default thresholds that work well for many applications, but you should adjust these based on your specific requirements and risk tolerance.
Adjusting Your Thresholds
To find the optimal threshold for your use case:
Start with the default threshold
Monitor both missed detections and false alarms
Adjust gradually based on which type of error is more problematic for your application
Safety Model
Banner: The safety guardrails are restricted to a 4k token length limit for the free trial experience. To increase these limits, please contact sales.
This Fiddler Trust Model evaluates prompt and response safety across ten dimensions:
Jailbreaking
Illegal content
Hateful content
Harassment
Racism
Sexism
Violence
Sexual content
Harmful content
Unethical content
The model requires a single string input and outputs ten distinct scores (0-1 range). For detailed information, see our official documentation.
How to Use Thresholding
Users can apply thresholds on individual safety dimensions (e.g., harmful, violent, racist) or evaluate all of them collectively. This flexibility allows you to tailor how strictly you filter content based on your unique requirements.
Safety Model OpenAPI Spec
Faithfulness Model
Banner: The safety guardrails are restricted to a 3500 token length limit for context, and 350 token length limit for response for the free trial experience. To increase these limits, please contact sales.
This Fiddler Trust Model detects hallucinations by evaluating the accuracy and reliability of facts presented in AI-generated text responses in retrieval-augmented generation (RAG) contexts.
The model requires two inputs:
Response: the text generated by your generative application
Context Documents: the reference text that the application response must remain faithful to
The output is a single score (float) representing the factual consistency between the response and the provided context.
How to Use Thresholding
Our quick start examples use a default threshold that works well in a variety of applications. You may wish to set this higher or lower to allow you to tailor how strictly you filter content based on your unique requirements.
Faithfulness Model OpenAPI Spec
Fiddler Trust Service Error codes
400
Invalid Input
Adjust API input to follow above API specification.
401
Invalid Auth Token
The authentication token is invalid or expired. Please double-check your token if it is invalid, and contact sales@fiddler.ai if you’d like to extend your trial.
404
Invalid guardrail endpoint called
API called must be either ftl-safety
(safety model) or ftl-response-faithfulness
(faithfulness model).
413
Input token length exceeds API token size limits
The safety guardrail has a limit of 4096 tokens. The faithfulness guardrail has a limit of 3500 tokens for the context field, and 350 tokens for the response field. These limits are higher in our paid plans.
429
Rate Limits exceeded
The rate limits for the free trial guardrail experience is 2 requests per second, 70 requests per minute, and 200 requests per day. These limits are higher in our paid plans
500/503/504
Internal Server Error
We are experiencing some internal service errors. Please watch #fiddler-guardrails-support on Slack or contact technical support.
Last updated
Was this helpful?