تخطٍّ إلى المحتوى

استخدام الأدوات واستدعاء الدوال

أن يختار النموذج الواجهة ويملأ الوسائط

إدخالنصإجراء

يُعرض النص الكامل باللغة الإنجليزية؛ وقد تمت ترجمة العنوان والملخص.

ما الذي تعنيه هذه القدرة

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.

كيف تُنفَّذ تقنيًا

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.

منتجات تمثيلية

10

LangChain

LangChain

اربط النماذج والأدوات والاسترجاع

3قدرات
أداة مفتوح المصدر
2022

OpenAI

GPT-4o

نموذج عام متعدد الوسائط بطبيعته، يجمع النص والصورة والصوت في مدخل واحد

4قدرات
نموذج مغلق
نصصورةصوتنصصوت
2024

Anthropic

Claude

نموذج محادثة عام يشتهر بسياقه الطويل ومواءمته الأمنية

4قدرات
نموذج مغلق
نصصورةنص
2023

Google DeepMind

Gemini

نموذج عام متعدد الوسائط بطبيعته، مصمم لسياقات طويلة جدًا

4قدرات
نموذج مغلق
نصصورةصوتفيديونص
2023

Alibaba (Qwen)

Qwen

عائلة بأوزان مفتوحة تغطي أحجامًا متعددة، مع نسخ متعددة الوسائط

4قدرات
نموذج أوزان مفتوحة
نصصورةنص
2023

MiniMax

MiniMax-M

نموذج استدلال بأوزان مفتوحة بانتباه هجين وسياق مليون رمز

4قدرات
نموذج أوزان مفتوحة
نصنص
2025

Cohere

Command R

نموذج تجاري مصمم للاسترجاع المعزّز واستخدام الأدوات

4قدرات
نموذج أوزان مفتوحة
نصنص
2024

Mistral AI

Mistral Large

النموذج التجاري الرائد من مختبر أوروبي للأوزان المفتوحة

4قدرات
نموذج مغلق
نصنص
2024

Zhipu AI

GLM

نموذج عام صيني بدأ بالتدريب المسبق لملء الفراغات ذاتيًا

4قدرات
نموذج مغلق
نصنص
2023

Meta AI (FAIR)

Llama

عائلة النماذج التي جعلت مسار الأوزان المفتوحة سائدًا

4قدرات
نموذج أوزان مفتوحة
نصنص
2023

المؤسسات ذات الصلة

الاستخدامات الشائعة

  • 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

كيف يُقاس مدى جودتها

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

الحدود والصعوبات

  • 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

المفاهيم الكامنة وراءها

هندسة الذكاء الاصطناعي وسلامته وأخلاقياته

الوكلاء واستخدام الأدواتمتوسط

أن لا يجيب النموذج فحسب، بل يبحث ويستدعي الواجهات ويشغّل الشيفرة، ثم يقرّر الخطوة التالية بناءً على النتيجة

4روابط
أشكال توضيحية 1 · بيانات 1

معالجة اللغة الطبيعية والنماذج اللغوية الكبيرة

هندسة الأوامر والمواءمةمتقدم

جعل النموذج مفيداً وصادقاً وغير ضارّ أصعب من مجرد تكبيره

4روابط
أشكال توضيحية 1 · بيانات 1

معالجة اللغة الطبيعية والنماذج اللغوية الكبيرة

معمارية Transformerمتوسط

يستبدل النقل كلمةً بكلمة بغرفة يتحدث فيها الجميع معاً، فتصبح التبعيات البعيدة على مسافة خطوة واحدة

4روابط
أشكال توضيحية 2 · بيانات 2