Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

azure-ai-projects-py

bởi thegovind

DevOps & Cloud
1.7kLượt tải do clawskills.sh công bố
1Sao
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Build AI applications using the Azure AI Projects.

Mô tả

Kỹ năng này làm gì

Python SDK for building AI applications on Azure AI Foundry. Manages agents, threads, evaluations, connections, deployments, datasets, and indexes through a single project client. Supports both native Foundry operations and an OpenAI-compatible client interface.

Provides unified access to agents, evaluations, connections, and deployments through a single Foundry-aware client rather than managing multiple Azure SDK clients separately.

Khi nào nên dùng

  • Building versioned customer support agents for production deployments
  • Running fluency and task-adherence evaluations on agent outputs
  • Searching Azure AI indexes from within an agent workflow
  • Listing and selecting model deployments across a Foundry project
  • Creating code-executing agents that run Python on user requests

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Set up an agent that can execute code and answer questions'

AGENT
  1. 1

    Authenticate with DefaultAzureCredential and initialize AIProjectClient

  2. 2

    Create an agent with CodeInterpreterTool and custom instructions

  3. 3

    Open a thread and post the user message

  4. 4

    Call create_and_process to run the agent on the thread

  5. 5

    Read assistant messages from the completed run

ĐẦU RA

Agent response with executed code results returned from the thread messages

Yêu cầu

  • AZURE_AI_PROJECT_ENDPOINT environment variable
  • AZURE_AI_MODEL_DEPLOYMENT_NAME environment variable
  • Azure account with an AI Foundry project

Cài đặt

clawhub install thegovind/azure-ai-projects-py

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết