CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-azure-ai-documentintelligence

tessl install tessl/pypi-azure-ai-documentintelligence@1.0.0

Azure 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%

rubric.jsonevals/scenario-9/

{
  "context": "Evaluates whether the solution uses azure-ai-documentintelligence administration APIs to build, inspect, copy, and clean up document classifiers using blob training sources and cross-resource copy flows. Emphasizes correct classifier lifecycle calls over general coding practices.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Build request setup",
      "description": "Constructs a BuildDocumentClassifierRequest with classifier_id/description and per-doc-type ClassifierDocumentTypeDetails that reference AzureBlobContentSource or AzureBlobFileListContentSource values from the provided mapping.",
      "max_score": 20
    },
    {
      "name": "Build operation handling",
      "description": "Uses DocumentIntelligenceAdministrationClient.begin_build_classifier to start the build and waits on the returned LROPoller.result() to obtain completed DocumentClassifierDetails before proceeding.",
      "max_score": 20
    },
    {
      "name": "Inspect and list",
      "description": "Retrieves classifier metadata with get_classifier to extract id/description/doc_types and uses list_classifiers to confirm the classifier id appears (and disappears after cleanup).",
      "max_score": 15
    },
    {
      "name": "Copy authorization",
      "description": "Calls authorize_classifier_copy (with AuthorizeClassifierCopyRequest carrying target_classifier_id/description) on the target admin client to obtain a ClassifierCopyAuthorization for copying.",
      "max_score": 15
    },
    {
      "name": "Copy execution",
      "description": "Invokes begin_copy_classifier_to on the source admin client with the source classifier id and the obtained authorization, and waits on the poller result to verify the target classifier id.",
      "max_score": 20
    },
    {
      "name": "Cleanup deletion",
      "description": "Removes classifiers using delete_classifier and handles already-deleted classifiers without unhandled exceptions, validating absence by re-checking list_classifiers or get_classifier.",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/azure-ai-documentintelligence@1.0.x
tile.json