Basic Examples
Get started quickly with these basic examples showing common use cases for AletheionGuard epistemic uncertainty detection.
Single Text Audit
The simplest way to audit a single piece of text for epistemic uncertainty.
Output:
Using the REST API
Make a simple HTTP request to audit text using the REST API.
cURL
Python (requests)
JavaScript/Node.js
Auditing with Context
Provide additional context to improve audit accuracy, especially useful for domain-specific content.
Output:
Batch Processing
Process multiple texts efficiently in a single request to save on API calls and improve throughput.
Output:
Custom Thresholds
Adjust Q1 and Q2 thresholds based on your risk tolerance and use case requirements.
Use Case Guide:
- Healthcare/Legal: Conservative thresholds (0.20-0.25)
- General Q&A: Balanced thresholds (0.30-0.35)
- Creative/Brainstorming: Permissive thresholds (0.45-0.50)
Error Handling
Properly handle errors and edge cases in your integration.
Simple Content Filter
Use AletheionGuard as a simple filter to accept, flag, or reject content based on epistemic uncertainty.
Output:
Real-World Use Cases
Customer Support Bot
Determine when to escalate to human agents based on response uncertainty.
Content Moderation
Flag uncertain or potentially false content for manual review.
RAG Answer Quality
Audit RAG system responses before returning to users.
Automated Fact Checking
Identify claims that need fact-checking verification.