Gọi công cụ và gọi hàm
Để mô hình chọn API và điền tham số
Toàn văn của trang này được trình bày bằng tiếng Anh; tiêu đề và phần dẫn đã được bản địa hóa.
Năng lực này nghĩa là gì
Takes a user request and a list of available tools — names, descriptions, argument schemas — and outputs a structured call such as get_weather with city set to Shanghai. The model executes nothing itself; it selects a tool and assembles arguments, while the actual call is made by external code whose result is fed back for further reasoning.
Làm ra sao về mặt kỹ thuật
Fine-tuning on many examples of when to call, which tool to use and what arguments look like teaches the model to emit a call when it needs external information or action; at inference the tool definitions go into the prompt and the output is constrained to a valid structure. With many tools, retrieval first narrows the candidates, and a multi-turn loop that feeds results back handles complex tasks.
Sản phẩm tiêu biểu
10Tổ chức liên quan
Cách dùng tiêu biểu
- Fetching live data such as weather, prices or stock
- Performing business actions such as orders and messages
- Calling calculators, search and code executors
- Chaining several APIs for a composite task
Đánh giá nó tốt hay không thế nào
- Function-selection accuracy
- Share of requests where the right tool was chosen
- Exact argument match
- Share with arguments exactly matching the reference
- End-to-end task success
- Whether the task completes once tools actually run
Ranh giới và điểm khó
- Slightly complex argument shapes — nested objects, arrays, optional fields — are easily filled wrongly
- As the tool list grows, wrong selections rise sharply, and similar-purpose tools are the most confusable
- Recovery after a failed call is unreliable, and the model often loops on the error instead of adapting
Các khái niệm đằng sau
Kỹ thuật, an toàn và đạo đức AI
Tác tử và sử dụng công cụTrung cấp
Để mô hình không chỉ trả lời, mà còn tra cứu, gọi API, chạy mã — và quyết định bước tiếp theo từ kết quả nhận được
Xử lý ngôn ngữ tự nhiên và mô hình ngôn ngữ lớn
Kỹ thuật prompt và căn chỉnhChuyên gia
Làm cho mô hình hữu ích, trung thực và vô hại khó hơn việc chỉ phóng to nó
Xử lý ngôn ngữ tự nhiên và mô hình ngôn ngữ lớn
Kiến trúc TransformerTrung cấp
Thay cách truyền từng từ bằng một phòng họp nơi mọi từ cùng lên tiếng, để phụ thuộc xa chỉ còn cách một bước