import{s as dl,n as vl,o as _l}from"../chunks/scheduler.505acc25.js";import{S as Zl,i as Hl,e as n,s as t,c as O,h as Nl,a as s,d as e,b as U,f as hl,g as M,j as A,k as jl,l as Bl,m as J,n as g,t as a,o as y,p as o}from"../chunks/index.b1175496.js";import{C as Gl,H as il}from"../chunks/Heading.eda51538.js";import{C as wl}from"../chunks/CodeBlock.9d480d26.js";import{C as xl}from"../chunks/CourseFloatingBanner.79ef6243.js";import{E as ql}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.ea377ea6.js";function Ll(Il){let i,q,G,L,j,S,I,E,p,F,w,pl='<p>您可以通过 <a href="https://huggingface.co/agents-course/notebooks/blob/main/unit2/smolagents/tool_calling_agents.ipynb" target="_blank">此 Notebook</a> 跟随代码实践，该文件支持在 Google Colab 中运行。</p>',V,k,kl="工具调用智能体（Tool Calling Agents）是 <code>smolagents</code> 中提供的第二种智能体类型。与使用 Python 代码片段的代码智能体（Code Agents）不同，这类智能体<strong>利用 LLM 提供商的内置工具调用能力</strong>来生成 <strong>JSON 结构</strong>的工具调用指令。这是 OpenAI、Anthropic 等主流提供商采用的标准方法。",W,r,rl="当 Alfred 想要搜索餐饮服务和派对创意时，<code>CodeAgent</code> 会生成并运行如下 Python 代码：",X,m,Y,Q,ml="而 <code>ToolCallingAgent</code> 则会创建 JSON 结构：",P,R,z,u,Ql="该 JSON 结构随后会被用于执行工具调用。",K,D,Rl='尽管 <code>smolagents</code> 主要专注于 <code>CodeAgents</code>（因为<a href="https://huggingface.co/papers/2402.01030" rel="nofollow">它们整体表现更好</a>），但对于不需要变量处理或复杂工具调用的简单系统，<code>ToolCallingAgents</code> 仍然可以高效工作。',ll,f,ul='<img src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/code_vs_json_actions.png" alt="代码操作与 JSON 操作对比"/>',Tl,c,el,$,Dl='工具调用智能体遵循与代码智能体相同的多步骤工作流程（详见<a href="./code_agents">前一章节</a>）。关键区别在于<strong>操作结构方式</strong>：智能体不再生成可执行代码，而是<strong>生成指定工具名称和参数的 JSON 对象</strong>，系统随后<strong>解析这些指令</strong>来执行相应工具。',Jl,C,tl,b,fl="让我们重新审视 Alfred 开始筹备派对的示例，这次使用 <code>ToolCallingAgent</code> 来展示区别。我们将构建一个能够使用 DuckDuckGo 进行网页搜索的智能体，与代码智能体示例的唯一区别在于智能体类型——框架会处理其他所有细节：",Ul,h,nl,d,cl="当查看智能体的执行跟踪时，您将看到类似以下内容而非 <code>Executing parsed code:</code>：",sl,v,Al,_,$l="智能体生成结构化的工具调用指令，系统通过处理这些指令来生成输出，而非像 <code>CodeAgent</code> 那样直接执行代码。",Ol,Z,Cl="现在我们已经了解两种智能体类型，可以根据需求选择合适的一种。让我们继续探索 <code>smolagents</code>，让 Alfred 的派对大获成功！🎉",Ml,H,gl,N,bl='<li><a href="https://huggingface.co/docs/smolagents/v1.8.1/en/reference/agents#smolagents.ToolCallingAgent" rel="nofollow">ToolCallingAgent 文档</a> - ToolCallingAgent 的官方文档</li>',al,B,yl,x,ol;return j=new xl({props:{chapter:2,classNames:"absolute z-10 right-0 top-0",notebooks:[{label:"Google Colab",value:"https://colab.research.google.com/#fileId=https://huggingface.co/agents-course/notebooks/blob/main/unit2/smolagents/tool_calling_agents.ipynb"}]}}),I=new Gl({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),p=new il({props:{title:"将操作编写为代码片段或 JSON 结构",local:"将操作编写为代码片段或-json-结构",headingTag:"h1"}}),m=new wl({props:{code:"Zm9yJTIwcXVlcnklMjBpbiUyMCU1QiUwQSUyMCUyMCUyMCUyMCUyMkJlc3QlMjBjYXRlcmluZyUyMHNlcnZpY2VzJTIwaW4lMjBHb3RoYW0lMjBDaXR5JTIyJTJDJTIwJTBBJTIwJTIwJTIwJTIwJTIyUGFydHklMjB0aGVtZSUyMGlkZWFzJTIwZm9yJTIwc3VwZXJoZXJvZXMlMjIlMEElNUQlM0ElMEElMjAlMjAlMjAlMjBwcmludCh3ZWJfc2VhcmNoKGYlMjJTZWFyY2glMjBmb3IlM0ElMjAlN0JxdWVyeSU3RCUyMikp",highlighted:`<span class="hljs-keyword">for</span> query <span class="hljs-keyword">in</span> [
    <span class="hljs-string">&quot;Best catering services in Gotham City&quot;</span>, 
    <span class="hljs-string">&quot;Party theme ideas for superheroes&quot;</span>
]:
    <span class="hljs-built_in">print</span>(web_search(<span class="hljs-string">f&quot;Search for: <span class="hljs-subst">{query}</span>&quot;</span>))`,wrap:!1}}),R=new wl({props:{code:"JTVCJTBBJTIwJTIwJTIwJTIwJTdCJTIybmFtZSUyMiUzQSUyMCUyMndlYl9zZWFyY2glMjIlMkMlMjAlMjJhcmd1bWVudHMlMjIlM0ElMjAlMjJCZXN0JTIwY2F0ZXJpbmclMjBzZXJ2aWNlcyUyMGluJTIwR290aGFtJTIwQ2l0eSUyMiU3RCUyQyUwQSUyMCUyMCUyMCUyMCU3QiUyMm5hbWUlMjIlM0ElMjAlMjJ3ZWJfc2VhcmNoJTIyJTJDJTIwJTIyYXJndW1lbnRzJTIyJTNBJTIwJTIyUGFydHklMjB0aGVtZSUyMGlkZWFzJTIwZm9yJTIwc3VwZXJoZXJvZXMlMjIlN0QlMEElNUQ=",highlighted:`[
    {<span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;web_search&quot;</span>, <span class="hljs-string">&quot;arguments&quot;</span>: <span class="hljs-string">&quot;Best catering services in Gotham City&quot;</span>},
    {<span class="hljs-string">&quot;name&quot;</span>: <span class="hljs-string">&quot;web_search&quot;</span>, <span class="hljs-string">&quot;arguments&quot;</span>: <span class="hljs-string">&quot;Party theme ideas for superheroes&quot;</span>}
]`,wrap:!1}}),c=new il({props:{title:"工具调用智能体的工作原理",local:"工具调用智能体的工作原理",headingTag:"h2"}}),C=new il({props:{title:"示例：运行工具调用智能体",local:"示例运行工具调用智能体",headingTag:"h2"}}),h=new wl({props:{code:"ZnJvbSUyMHNtb2xhZ2VudHMlMjBpbXBvcnQlMjBUb29sQ2FsbGluZ0FnZW50JTJDJTIwRHVja0R1Y2tHb1NlYXJjaFRvb2wlMkMlMjBJbmZlcmVuY2VDbGllbnRNb2RlbCUwQSUwQWFnZW50JTIwJTNEJTIwVG9vbENhbGxpbmdBZ2VudCh0b29scyUzRCU1QkR1Y2tEdWNrR29TZWFyY2hUb29sKCklNUQlMkMlMjBtb2RlbCUzREluZmVyZW5jZUNsaWVudE1vZGVsKCkpJTBBJTBBYWdlbnQucnVuKCUyMlNlYXJjaCUyMGZvciUyMHRoZSUyMGJlc3QlMjBtdXNpYyUyMHJlY29tbWVuZGF0aW9ucyUyMGZvciUyMGElMjBwYXJ0eSUyMGF0JTIwdGhlJTIwV2F5bmUncyUyMG1hbnNpb24uJTIyKQ==",highlighted:`<span class="hljs-keyword">from</span> smolagents <span class="hljs-keyword">import</span> ToolCallingAgent, DuckDuckGoSearchTool, InferenceClientModel

agent = ToolCallingAgent(tools=[DuckDuckGoSearchTool()], model=InferenceClientModel())

agent.run(<span class="hljs-string">&quot;Search for the best music recommendations for a party at the Wayne&#x27;s mansion.&quot;</span>)`,wrap:!1}}),v=new wl({props:{code:"JUUyJTk1JUFEJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJTk0JTgwJUUyJ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OTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTQlODAlRTIlOTUlQUY=",highlighted:`╭─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Calling tool: &#x27;web_search&#x27; with arguments: {&#x27;query&#x27;: &quot;best music recommendations for a party at Wayne&#x27;s         │
│ mansion&quot;}                                                                                                       │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯`,wrap:!1}}),H=new il({props:{title:"资源",local:"资源",headingTag:"h2"}}),B=new ql({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/zh-CN/unit2/smolagents/tool_calling_agents.mdx"}}),{c(){i=n("meta"),q=t(),G=n("p"),L=t(),O(j.$$.fragment),S=t(),O(I.$$.fragment),E=t(),O(p.$$.fragment),F=t(),w=n("blockquote"),w.innerHTML=pl,V=t(),k=n("p"),k.innerHTML=kl,W=t(),r=n("p"),r.innerHTML=rl,X=t(),O(m.$$.fragment),Y=t(),Q=n("p"),Q.innerHTML=ml,P=t(),O(R.$$.fragment),z=t(),u=n("p"),u.textContent=Ql,K=t(),D=n("p"),D.innerHTML=Rl,ll=t(),f=n("p"),f.innerHTML=ul,Tl=t(),O(c.$$.fragment),el=t(),$=n("p"),$.innerHTML=Dl,Jl=t(),O(C.$$.fragment),tl=t(),b=n("p"),b.innerHTML=fl,Ul=t(),O(h.$$.fragment),nl=t(),d=n("p"),d.innerHTML=cl,sl=t(),O(v.$$.fragment),Al=t(),_=n("p"),_.innerHTML=$l,Ol=t(),Z=n("p"),Z.innerHTML=Cl,Ml=t(),O(H.$$.fragment),gl=t(),N=n("ul"),N.innerHTML=bl,al=t(),O(B.$$.fragment),yl=t(),x=n("p"),this.h()},l(l){const T=Nl("svelte-u9bgzb",document.head);i=s(T,"META",{name:!0,content:!0}),T.forEach(e),q=U(l),G=s(l,"P",{}),hl(G).forEach(e),L=U(l),M(j.$$.fragment,l),S=U(l),M(I.$$.fragment,l),E=U(l),M(p.$$.fragment,l),F=U(l),w=s(l,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),A(w)!=="svelte-1v15z6e"&&(w.innerHTML=pl),V=U(l),k=s(l,"P",{"data-svelte-h":!0}),A(k)!=="svelte-4h5a59"&&(k.innerHTML=kl),W=U(l),r=s(l,"P",{"data-svelte-h":!0}),A(r)!=="svelte-1uk3til"&&(r.innerHTML=rl),X=U(l),M(m.$$.fragment,l),Y=U(l),Q=s(l,"P",{"data-svelte-h":!0}),A(Q)!=="svelte-1ly2vr7"&&(Q.innerHTML=ml),P=U(l),M(R.$$.fragment,l),z=U(l),u=s(l,"P",{"data-svelte-h":!0}),A(u)!=="svelte-2w7dg0"&&(u.textContent=Ql),K=U(l),D=s(l,"P",{"data-svelte-h":!0}),A(D)!=="svelte-1dhxpic"&&(D.innerHTML=Rl),ll=U(l),f=s(l,"P",{"data-svelte-h":!0}),A(f)!=="svelte-kkam5r"&&(f.innerHTML=ul),Tl=U(l),M(c.$$.fragment,l),el=U(l),$=s(l,"P",{"data-svelte-h":!0}),A($)!=="svelte-1k6u3aa"&&($.innerHTML=Dl),Jl=U(l),M(C.$$.fragment,l),tl=U(l),b=s(l,"P",{"data-svelte-h":!0}),A(b)!=="svelte-1mi69km"&&(b.innerHTML=fl),Ul=U(l),M(h.$$.fragment,l),nl=U(l),d=s(l,"P",{"data-svelte-h":!0}),A(d)!=="svelte-11effay"&&(d.innerHTML=cl),sl=U(l),M(v.$$.fragment,l),Al=U(l),_=s(l,"P",{"data-svelte-h":!0}),A(_)!=="svelte-oldvrt"&&(_.innerHTML=$l),Ol=U(l),Z=s(l,"P",{"data-svelte-h":!0}),A(Z)!=="svelte-an91op"&&(Z.innerHTML=Cl),Ml=U(l),M(H.$$.fragment,l),gl=U(l),N=s(l,"UL",{"data-svelte-h":!0}),A(N)!=="svelte-1b0h5wy"&&(N.innerHTML=bl),al=U(l),M(B.$$.fragment,l),yl=U(l),x=s(l,"P",{}),hl(x).forEach(e),this.h()},h(){jl(i,"name","hf:doc:metadata"),jl(i,"content",Sl),jl(w,"class","tip")},m(l,T){Bl(document.head,i),J(l,q,T),J(l,G,T),J(l,L,T),g(j,l,T),J(l,S,T),g(I,l,T),J(l,E,T),g(p,l,T),J(l,F,T),J(l,w,T),J(l,V,T),J(l,k,T),J(l,W,T),J(l,r,T),J(l,X,T),g(m,l,T),J(l,Y,T),J(l,Q,T),J(l,P,T),g(R,l,T),J(l,z,T),J(l,u,T),J(l,K,T),J(l,D,T),J(l,ll,T),J(l,f,T),J(l,Tl,T),g(c,l,T),J(l,el,T),J(l,$,T),J(l,Jl,T),g(C,l,T),J(l,tl,T),J(l,b,T),J(l,Ul,T),g(h,l,T),J(l,nl,T),J(l,d,T),J(l,sl,T),g(v,l,T),J(l,Al,T),J(l,_,T),J(l,Ol,T),J(l,Z,T),J(l,Ml,T),g(H,l,T),J(l,gl,T),J(l,N,T),J(l,al,T),g(B,l,T),J(l,yl,T),J(l,x,T),ol=!0},p:vl,i(l){ol||(a(j.$$.fragment,l),a(I.$$.fragment,l),a(p.$$.fragment,l),a(m.$$.fragment,l),a(R.$$.fragment,l),a(c.$$.fragment,l),a(C.$$.fragment,l),a(h.$$.fragment,l),a(v.$$.fragment,l),a(H.$$.fragment,l),a(B.$$.fragment,l),ol=!0)},o(l){y(j.$$.fragment,l),y(I.$$.fragment,l),y(p.$$.fragment,l),y(m.$$.fragment,l),y(R.$$.fragment,l),y(c.$$.fragment,l),y(C.$$.fragment,l),y(h.$$.fragment,l),y(v.$$.fragment,l),y(H.$$.fragment,l),y(B.$$.fragment,l),ol=!1},d(l){l&&(e(q),e(G),e(L),e(S),e(E),e(F),e(w),e(V),e(k),e(W),e(r),e(X),e(Y),e(Q),e(P),e(z),e(u),e(K),e(D),e(ll),e(f),e(Tl),e(el),e($),e(Jl),e(tl),e(b),e(Ul),e(nl),e(d),e(sl),e(Al),e(_),e(Ol),e(Z),e(Ml),e(gl),e(N),e(al),e(yl),e(x)),e(i),o(j,l),o(I,l),o(p,l),o(m,l),o(R,l),o(c,l),o(C,l),o(h,l),o(v,l),o(H,l),o(B,l)}}}const Sl='{"title":"将操作编写为代码片段或 JSON 结构","local":"将操作编写为代码片段或-json-结构","sections":[{"title":"工具调用智能体的工作原理","local":"工具调用智能体的工作原理","sections":[],"depth":2},{"title":"示例：运行工具调用智能体","local":"示例运行工具调用智能体","sections":[],"depth":2},{"title":"资源","local":"资源","sections":[],"depth":2}],"depth":1}';function El(Il){return _l(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class zl extends Zl{constructor(i){super(),Hl(this,i,El,Ll,dl,{})}}export{zl as component};
