Back to Email Classifier
CommunicationAzure OpenAI (GPT-4)
Email Classifier Using Azure OpenAI (GPT-4)
Optimized prompts and cost breakdowns for running email classifier with Azure OpenAI (GPT-4).
About Azure OpenAI (GPT-4)
- Provider
- azure
- Context Window
- 128K tokens
- Input Cost
- $30.0 / 1M tokens
- Output Cost
- $60.0 / 1M tokens
Best For
Enterprise complianceData residencySLA requirements
Optimized Prompts for Azure OpenAI (GPT-4)
These prompts are tailored to work best with Azure OpenAI (GPT-4)'s capabilities
classify
Classify this email into one of these categories: {{categories}}
Also determine:
- Priority: High/Medium/Low
- Intent: Question/Complaint/Request/Information
- Sentiment: Positive/Neutral/Negative
Email:
{{email_content}}Cost Breakdown
Estimated costs for running this workflow with Azure OpenAI (GPT-4)
- input tokens
- ~1593 tokens
- output tokens
- ~561 tokens
- cost per request
- $0.0016
- monthly 1000 requests
- $19.00
Rate Limiting Considerations
Azure has rate limits of approximately 1388 RPM. Consider implementing request queuing for high-volume usage.
Monitoring with Administrate
Track Azure OpenAI (GPT-4) API latency and error rates. Set up alerts for rate limit warnings and cost thresholds.