tessl install tessl/pypi-azure-ai-documentintelligence@1.0.0Azure AI Document Intelligence client library for Python - a cloud service that uses machine learning to analyze text and structured data from documents
Agent Success
Agent success rate when using this tile
76%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.19x
Baseline
Agent success rate without this tile
64%
{
"context": "Evaluates how well the solution uses azure-ai-documentintelligence to submit a single document analysis, configure optional parameters, and interpret the AnalyzeResult. Focuses on proper client construction, request configuration, and extraction of expected fields and content formats.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Client setup",
"description": "Initializes DocumentIntelligenceClient with a valid endpoint and credential (AzureKeyCredential or TokenCredential) before issuing analysis requests.",
"max_score": 20
},
{
"name": "Analyze request",
"description": "Uses begin_analyze_document with the provided model_id and a binary file stream/body, retrieves the AnalyzeDocumentLROPoller, and waits for result() to obtain AnalyzeResult.",
"max_score": 25
},
{
"name": "Pages and locale",
"description": "Passes pages and locale arguments into begin_analyze_document so page scoping and language hints influence the service-side extraction.",
"max_score": 15
},
{
"name": "Query fields",
"description": "Supplies query_fields when provided and maps the returned AnalyzeResult.documents or key_value_pairs to the requested field names, returning missing entries as None.",
"max_score": 15
},
{
"name": "Content format",
"description": "Selects output_content_format='markdown' when markdown output is requested and defaults to text otherwise, ensuring the returned content aligns with the requested format.",
"max_score": 15
},
{
"name": "Field extraction",
"description": "Extracts expected fields (e.g., CustomerName and TotalAmount) from AnalyzeResult using DocumentField values and includes the full text or markdown content in the response object.",
"max_score": 10
}
]
}