TGViewer
هوش مصنوعی - رضا شکرزاد هوش مصنوعی - رضا شکرزاد @dslanders · 12.7K subscribers
Post #5856 424
🏷️ تیپ #20

توضیح ابزار را طوری بنویسید که مدل واقعاً بفهمد
مدل هیچ‌وقت کد ابزار شما را نمی‌بیند؛ تن‌ها چیزی که در اختیارش است همان رشتهٔ توضیح داخل schema است. پس آن را مثل مستندات ورود یک همکار تازه‌وارد بنویسید: ابزار چه کاری می‌کند، کجا باید صدایش زد و کجا نباید، هر پارامتر چه انتظاری دارد و خروجی چه شکلی برمی‌گردد. توضیح‌های کلی مثل «اطلاعات کاربر را می‌گیرد» مدل را مجبور به حدس زدن می‌کند و معمولاً هم اشتباه حدس می‌زند 👀. محدودیت‌ها را صریح بنویسید، مثلاً «حداکثر ۲۰ نتیجه برمی‌گرداند و برای صفحه‌بندی باید از پارامتر cursor استفاده کنید».

Write tool descriptions the model can actually use
Your agent never reads your tool's code, it only reads the description string you ship in the schema. So write it like onboarding docs for a new teammate: what the tool does, when to call it, when not to, what each parameter expects, and what shape the output takes. Vague one-liners like "Gets user data" force the model to guess, and it will guess wrong 👀. Add one good and one bad example input, and state limits explicitly, e.g. "returns at most 20 results, use the cursor parameter to paginate".

@dslanders
شکرزاد نکته‌های روز ساخت AI Agent | شکرزاد نکته‌های روزانه و کاربردی برای یادگیری ساخت عامل‌های هوش مصنوعی (AI Agent): مفاهیم پایه، نکات پیشرفته و اخبار تازه، هر روز یک مفهوم.
  • ❤ 2
  • 👍 2
  • 👌 1
More from @dslanders
  1. Oct 16, 2026Post #5857
  2. Oct 16, 2026مهم‌ترین‌های ۲۴ ساعت اخیر هوش مصنوعی 🤗 خبر ۱: مدل تازه Ling-3.1-flash با ۵۶۰ میلیارد پارا…
  3. Oct 15, 2026🔁 تیپ #19 الگوی ReAct: فکر کن، عمل کن، مشاهده کن در الگوی ReAct، مدل به‌جای اینکه از همان…
  4. Oct 15, 2026Post #5853
  5. Oct 14, 2026https://fxtwitter.com/openai/status/2110442001749659890?s=52&t=F41Qa04r48Mef_j_XjBneQ
  6. Oct 14, 2026Post #5851
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →