Hướng dẫn thử thách
1 / 101
Acting / Tool Invocation
### Giai đoạn: Nền Tảng & Khái Niệm Cốt Lõi
**Acting / Tool Invocation**
Acting, also called tool invocation, is the step where the AI chooses a tool and runs it to get real-world data or to change something. The agent looks at its current goal and the plan it just made. It then picks the best tool, such as a web search, a database query, or a calculator. The agent fills in the needed inputs and sends the call. The external system does the heavy work and returns a result. Acting ends when the agent stores that result so it can think about the next move.
### Khái niệm cốt lõi:
1. **The agent looks at its current goal and the plan it just made**
2. **It then picks the best tool, such as a web search, a database query, or a calculator**
3. **The agent fills in the needed inputs and sends the call**
### Tài liệu tham khảo chính thống:
- [What are Tools in AI Agents?](https://huggingface.co/learn/agents-course/en/unit1/tools) (article)
- [What is Tool Calling in Agents?](https://www.useparagon.com/blog/ai-building-blocks-what-is-tool-calling-a-guide-for-pms) (article)
Nhiệm vụ của bạn
Viết giải pháp của bạn cho bài học **Acting / Tool Invocation** vào trình soạn thảo bên cạnh. Bấm **Chạy Thử Nghiệm** (hoặc nhấn `Ctrl+Enter`) để thực thi và ghi nhận hoàn thành kỹ năng trên Roadmap.
### Kỹ năng cần đạt:
- `Acting`
- `/`
- `Engineering`
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.sql
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵