What You’ll Build
In this quick start, you’ll create a news article topic classifier that:- Takes a news summary as input
- Classifies it into one of four categories: World, Sports, Business, or Sci/Tech
- Provides reasoning for its classification
- Deploys to production monitoring in Fiddler
Prerequisites
- Fiddler platform access
- Basic familiarity with Python and REST APIs
- A Fiddler API token and base URL
Set Up Your Environment
Refer to the Fiddler Python client SDK Installation and Setup Guide for details on the Fiddler Access Token, URL, and client initialization.
Deploy to Production Monitoring
Once satisfied with your Prompt Spec, deploy it as a Fiddler enrichment:
What Happens Next
After completing this quick start:- View Results: Check the Fiddler UI to see your model and enrichment results
- Monitor Performance: Set up alerts based on classification accuracy or confidence scores
- Iterate: Refine your Prompt Spec descriptions to improve accuracy
- Scale: Apply the same approach to your own evaluation use cases
Key Takeaways
- Fast Setup: From zero to production evaluation in minutes, not weeks
- No Manual Prompting: JSON schema approach eliminates prompt engineering bottlenecks
- Built-in Monitoring: Seamless integration with Fiddler’s observability platform
- Easy Iteration: Update schemas without rewriting prompts
Next Steps
- Complete Interactive Notebook: Follow along with a full working example
- Prompt Specs Guide: Learn more about the underlying framework