Prerequisites
Before starting, ensure you have:- Completed the installation process
- Set up your API key
- Python 3.9+ installed
Your First Application
Let’s build a simple application that analyzes text with confidence scoring and decision tracing.1. Initialize the Client
2. Create a Datasource
Store your documents in a datasource for analysis:3. Add Content
Add some sample content to analyze:4. Analyze with Confidence Scoring
Use RAG to analyze the content with confidence scoring:5. View Decision Trace
Understand how the AI arrived at its answer:Complete Example
Here’s the full code in one script:Run Your Application
What’s Next?
Now that you’ve built your first Meibel application, explore more advanced features:Confidence Scoring
Learn how confidence scoring works and how to tune thresholds
Decision Tracing
Understand the complete decision-making process
Examples
See real-world implementation patterns
API Reference
Explore all available endpoints and options
Troubleshooting
ImportError: No module named 'meibelai'
ImportError: No module named 'meibelai'
Make sure you’ve installed the SDK:
Authentication Error
Authentication Error
Verify your API key is set:
Low Confidence Scores
Low Confidence Scores
Try adding more context to your datasource or adjusting the temperature parameter.