본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

azure-ai-evaluation-py

thegovind 제작

DevOps & Cloud
1.7kclawskills.sh가 보고한 다운로드 수
1스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Azure AI Evaluation SDK for Python.

설명

이 스킬이 하는 일

Python SDK for evaluating generative AI applications using Azure OpenAI. Supports quality metrics (groundedness, relevance, coherence), NLP-based scoring (F1, BLEU, ROUGE), and safety evaluations (violence, hate, self-harm). Results can be logged to Azure AI Foundry for tracking across runs.

Combines quality, NLP, and safety evaluators in one SDK with direct Azure AI Foundry integration, eliminating the need to wire together separate scoring libraries.

사용 시점

  • Scoring RAG pipeline responses for groundedness against source documents
  • Running safety checks on chatbot outputs before production deployment
  • Batch evaluating a dataset of query/response pairs with multiple metrics
  • Logging evaluation runs to Azure AI Foundry for regression tracking
  • Building custom domain-specific evaluators for specialized content

예시 워크플로

입력

User asks: evaluate my RAG app responses for groundedness and safety

에이전트
  1. 1

    Load model config from AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_API_KEY, and AZURE_OPENAI_DEPLOYMENT env vars

  2. 2

    Initialize GroundednessEvaluator with model config and ContentSafetyEvaluator with Azure AI project scope

  3. 3

    Call evaluate() with test_data.jsonl, mapping query/context/response columns to both evaluators

  4. 4

    Print result metrics and studio_url for Foundry dashboard link

출력

Groundedness and safety scores per row plus aggregate metrics, with a link to view results in Azure AI Foundry

요구 사항

  • AZURE_OPENAI_ENDPOINT environment variable
  • AZURE_OPENAI_API_KEY environment variable
  • AZURE_OPENAI_DEPLOYMENT environment variable
  • AIPROJECT_CONNECTION_STRING environment variable (for Foundry logging and safety evaluators)
  • Azure OpenAI resource
  • Azure AI Foundry project (for safety evaluators and result logging)

설치

clawhub install thegovind/azure-ai-evaluation-py

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크