मुख्य सामग्री पर जाएँ

टूल और फंक्शन कॉल

मॉडल API चुने और उसके आर्गुमेंट भरे

एजेंट और टूल उपयोगमध्यवर्ती #35
इनपुटटेक्स्टएक्शन

यह पृष्ठ अंग्रेज़ी में प्रस्तुत है; शीर्षक और सारांश का स्थानीयकरण किया गया है।

यह क्षमता क्या है

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

2022
LangChain

मॉडल, टूल और रिट्रीवल को जोड़ें

टूल ओपन सोर्स

GPT-4o

2024
OpenAI

मूल रूप से बहुविध सामान्य मॉडल — पाठ, चित्र और ऑडियो एक ही द्वार से

मॉडल बंद स्रोत
टेक्स्टइमेजऑडियोटेक्स्टऑडियो

Claude

2023
Anthropic

लंबे संदर्भ और सुरक्षा-संरेखण के लिए जाना जाने वाला सामान्य संवाद मॉडल

मॉडल बंद स्रोत
टेक्स्टइमेजटेक्स्ट

Gemini

2023
Google DeepMind

मूल रूप से बहुविध, अति-लंबे संदर्भ के लिए बना सामान्य मॉडल

मॉडल बंद स्रोत
टेक्स्टइमेजऑडियोवीडियोटेक्स्ट

Qwen

2023
Alibaba (Qwen)

अनेक आकारों और बहुविध संस्करणों वाला ओपन-वेट परिवार

मॉडल खुले वेट
टेक्स्टइमेजटेक्स्ट

MiniMax-M

2025
MiniMax

हाइब्रिड अटेंशन और दस लाख टोकन संदर्भ वाला ओपन-वेट तर्क मॉडल

मॉडल खुले वेट
टेक्स्टटेक्स्ट

Command R

2024
Cohere

पुनर्प्राप्ति-संवर्धन और टूल उपयोग के लिए बना वाणिज्यिक मॉडल

मॉडल खुले वेट
टेक्स्टटेक्स्ट

Mistral Large

2024
Mistral AI

यूरोपीय ओपन-वेट लैब का फ़्लैगशिप वाणिज्यिक मॉडल

मॉडल बंद स्रोत
टेक्स्टटेक्स्ट

GLM

2023
Zhipu AI

ऑटोरेग्रेसिव ब्लैंक-भरने वाले प्रीट्रेनिंग से शुरू हुआ चीनी सामान्य मॉडल

मॉडल बंद स्रोत
टेक्स्टटेक्स्ट

Llama

2023
Meta AI (FAIR)

खुले भार के रास्ते को मुख्यधारा बनाने वाला मॉडल परिवार

मॉडल खुले वेट
टेक्स्टटेक्स्ट

संबंधित संस्थान

सामान्य उपयोग

  • 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

इसके पीछे की अवधारणाएँ