CertyRush
Đang tải...
C CertyRush
Free preview question

Question 31: AI-500: Designing and Implementing Multi-Agent AI Solutions

You have a Microsoft Foundry agent that handles customer support chats. The agent has two tools named get_contract_terms and calculate_refund. On turns where refunds must be calculated, the agent inconsistently calls the tools. You need to reliably force refund-estimate turns to call calculate_refund. Which request co…

Nội dung câu hỏi

You have a Microsoft Foundry agent that handles customer support chats. The agent has two tools named get_contract_terms and calculate_refund. On turns where refunds must be calculated, the agent inconsistently calls the tools. You need to reliably force refund-estimate turns to call calculate_refund. Which request configuration should you use?

Các lựa chọn

Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.

  1. A. tool_choice: {"type": "function", "function": {"name": "calculate_refund"}} — đáp án hiện tại
  2. B. tool_choice: "auto"
  3. C. instructions - "Use calculate_refund for refund estimates."
  4. D. tool_choice: "required"
Giải thích

Answer researched independently against supporting documentation; not a published source answer key. A named function tool_choice forces calculate_refund specifically; required permits either tool. References: https://learn.microsoft.com/en-us/azure/foundry/openai/how-to/function-calling

Cộng đồng

0 bình luận công khai. Tên thành viên được ẩn một phần.

Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.

Câu hỏi liền kề