Function Calling
Function calling allows Large Language Models (LLMs) | to interact with external tools | and APIs.
Function calling cho phép các Large Language Models (LLMs) | tương tác với các công cụ bên ngoài | và các API.
Instead of just generating text, | the LLM can be instructed | to recognize when a specific function
Thay vì chỉ tạo ra văn bản, | LLM có thể được hướng dẫn | để nhận biết khi nào một hàm cụ thể
should be called based on | the user’s input, | and then output the arguments
nên được gọi dựa trên | đầu vào của người dùng, | và sau đó xuất ra các đối số
needed to execute that function. | This enables the LLM | to perform actions beyond its training data,
cần thiết để thực thi hàm đó. | Điều này cho phép LLM | thực hiện các hành động vượt ra ngoài dữ liệu huấn luyện của nó,
such as retrieving real-time information | or automating tasks.
chẳng hạn như truy xuất thông tin thời gian thực | hoặc tự động hóa các tác vụ.
Resources
- A Comprehensive Guide to Function Calling in LLMs (article)
- Function Calling with LLMs | Prompt Engineering Guide (article)
- LLM Function Calling - AI Tools Deep Dive (video)
References
- https://roadmap.sh/ai-engineer (Node: Function Calling)
← Structured Output · AI Engineer Roadmap · Prompt Caching →