import{s as Q,n as D,o as F}from"../chunks/scheduler.505acc25.js";import{S as J,i as V,e as o,s as i,c as H,h as W,a as p,d as l,b as a,f as N,g as k,j as d,k as q,l as X,m as n,n as G,t as R,o as S,p as z}from"../chunks/index.b1175496.js";import{C as Y,H as Z}from"../chunks/Heading.eda51538.js";import{E as tt}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.ea377ea6.js";function et(O){let s,v,h,b,u,g,f,L,r,U="在本单元中，我们学习了如何创建智能体增强的检索生成（RAG）系统，帮助我们友好的智能体 Alfred 筹备并管理一场盛大的晚会。",P,c,j="RAG 与智能体能力的结合展示了当 AI 助手具备以下能力时的强大潜力：",w,$,B="<li>访问结构化知识（宾客信息）</li> <li>获取实时信息（网络搜索）</li> <li>领域专用工具（天气信息、Hub 统计）</li> <li>历史交互记忆</li>",M,_,I="凭借这些能力，Alfred 现已具备完美主持者的素质，能够回答宾客问题、提供最新信息、确保晚会顺利进行——甚至能精准控制烟花表演的时机！",T,m,K="<p>完成智能体构建后，您可以进一步探索：</p> <ul><li>为特定用例创建定制化工具</li> <li>使用嵌入技术实现更复杂的 RAG 系统</li> <li>构建可协作的多智能体系统</li> <li>将智能体部署为可交互的服务</li></ul>",y,x,A,C,E;return u=new Y({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),f=new Z({props:{title:"总结",local:"总结",headingTag:"h1"}}),x=new tt({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/zh-CN/unit3/agentic-rag/conclusion.mdx"}}),{c(){s=o("meta"),v=i(),h=o("p"),b=i(),H(u.$$.fragment),g=i(),H(f.$$.fragment),L=i(),r=o("p"),r.textContent=U,P=i(),c=o("p"),c.textContent=j,w=i(),$=o("ul"),$.innerHTML=B,M=i(),_=o("p"),_.textContent=I,T=i(),m=o("blockquote"),m.innerHTML=K,y=i(),H(x.$$.fragment),A=i(),C=o("p"),this.h()},l(t){const e=W("svelte-u9bgzb",document.head);s=p(e,"META",{name:!0,content:!0}),e.forEach(l),v=a(t),h=p(t,"P",{}),N(h).forEach(l),b=a(t),k(u.$$.fragment,t),g=a(t),k(f.$$.fragment,t),L=a(t),r=p(t,"P",{"data-svelte-h":!0}),d(r)!=="svelte-ln6bu5"&&(r.textContent=U),P=a(t),c=p(t,"P",{"data-svelte-h":!0}),d(c)!=="svelte-jih3qn"&&(c.textContent=j),w=a(t),$=p(t,"UL",{"data-svelte-h":!0}),d($)!=="svelte-1kg6s0f"&&($.innerHTML=B),M=a(t),_=p(t,"P",{"data-svelte-h":!0}),d(_)!=="svelte-4nw0ib"&&(_.textContent=I),T=a(t),m=p(t,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),d(m)!=="svelte-l7t386"&&(m.innerHTML=K),y=a(t),k(x.$$.fragment,t),A=a(t),C=p(t,"P",{}),N(C).forEach(l),this.h()},h(){q(s,"name","hf:doc:metadata"),q(s,"content",lt),q(m,"class","tip")},m(t,e){X(document.head,s),n(t,v,e),n(t,h,e),n(t,b,e),G(u,t,e),n(t,g,e),G(f,t,e),n(t,L,e),n(t,r,e),n(t,P,e),n(t,c,e),n(t,w,e),n(t,$,e),n(t,M,e),n(t,_,e),n(t,T,e),n(t,m,e),n(t,y,e),G(x,t,e),n(t,A,e),n(t,C,e),E=!0},p:D,i(t){E||(R(u.$$.fragment,t),R(f.$$.fragment,t),R(x.$$.fragment,t),E=!0)},o(t){S(u.$$.fragment,t),S(f.$$.fragment,t),S(x.$$.fragment,t),E=!1},d(t){t&&(l(v),l(h),l(b),l(g),l(L),l(r),l(P),l(c),l(w),l($),l(M),l(_),l(T),l(m),l(y),l(A),l(C)),l(s),z(u,t),z(f,t),z(x,t)}}}const lt='{"title":"总结","local":"总结","sections":[],"depth":1}';function nt(O){return F(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ot extends J{constructor(s){super(),V(this,s,nt,et,Q,{})}}export{ot as component};
