CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-azure-ai-documentintelligence

Azure AI Document Intelligence client library for Python - a cloud service that uses machine learning to analyze text and structured data from documents

76

1.18x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "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
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-azure-ai-documentintelligence

tile.json