import{s as ms,o as ys,n as g}from"../chunks/scheduler.505acc25.js";import{S as ws,i as ds,e as T,s as y,c as d,h as Js,a as f,d as r,b as w,f as cs,g as J,j as B,k as xl,l as hs,m as M,n as h,t as u,o as j,p as b}from"../chunks/index.fbb49fb4.js";import{C as us}from"../chunks/CopyLLMTxtMenu.564b44fd.js";import{C as Z}from"../chunks/CodeBlock.7f0851b7.js";import{H as W}from"../chunks/Heading.511e0027.js";import{H as rl,a as $}from"../chunks/HfOption.7b46941a.js";import{E as js}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.8c19e80e.js";function bs(U){let t,p,e,m="Now, let’s combine all these tools into a single agent:",o,a,s;return t=new Z({props:{code:"JTIzJTIwSW1wb3J0JTIwbmVjZXNzYXJ5JTIwbGlicmFyaWVzJTBBaW1wb3J0JTIwcmFuZG9tJTBBZnJvbSUyMHNtb2xhZ2VudHMlMjBpbXBvcnQlMjBDb2RlQWdlbnQlMkMlMjBJbmZlcmVuY2VDbGllbnRNb2RlbCUwQSUwQSUyMyUyMEltcG9ydCUyMG91ciUyMGN1c3RvbSUyMHRvb2xzJTIwZnJvbSUyMHRoZWlyJTIwbW9kdWxlcyUwQWZyb20lMjB0b29scyUyMGltcG9ydCUyMER1Y2tEdWNrR29TZWFyY2hUb29sJTJDJTIwV2VhdGhlckluZm9Ub29sJTJDJTIwSHViU3RhdHNUb29sJTBBZnJvbSUyMHJldHJpZXZlciUyMGltcG9ydCUyMGxvYWRfZ3Vlc3RfZGF0YXNldA==",highlighted:`<span class="hljs-comment"># Import necessary libraries</span>
<span class="hljs-keyword">import</span> random
<span class="hljs-keyword">from</span> smolagents <span class="hljs-keyword">import</span> CodeAgent, InferenceClientModel

<span class="hljs-comment"># Import our custom tools from their modules</span>
<span class="hljs-keyword">from</span> tools <span class="hljs-keyword">import</span> DuckDuckGoSearchTool, WeatherInfoTool, HubStatsTool
<span class="hljs-keyword">from</span> retriever <span class="hljs-keyword">import</span> load_guest_dataset`,wrap:!1}}),a=new Z({props:{code:"JTIzJTIwSW5pdGlhbGl6ZSUyMHRoZSUyMEh1Z2dpbmclMjBGYWNlJTIwbW9kZWwlMEFtb2RlbCUyMCUzRCUyMEluZmVyZW5jZUNsaWVudE1vZGVsKCklMEElMEElMjMlMjBJbml0aWFsaXplJTIwdGhlJTIwd2ViJTIwc2VhcmNoJTIwdG9vbCUwQXNlYXJjaF90b29sJTIwJTNEJTIwRHVja0R1Y2tHb1NlYXJjaFRvb2woKSUwQSUwQSUyMyUyMEluaXRpYWxpemUlMjB0aGUlMjB3ZWF0aGVyJTIwdG9vbCUwQXdlYXRoZXJfaW5mb190b29sJTIwJTNEJTIwV2VhdGhlckluZm9Ub29sKCklMEElMEElMjMlMjBJbml0aWFsaXplJTIwdGhlJTIwSHViJTIwc3RhdHMlMjB0b29sJTBBaHViX3N0YXRzX3Rvb2wlMjAlM0QlMjBIdWJTdGF0c1Rvb2woKSUwQSUwQSUyMyUyMExvYWQlMjB0aGUlMjBndWVzdCUyMGRhdGFzZXQlMjBhbmQlMjBpbml0aWFsaXplJTIwdGhlJTIwZ3Vlc3QlMjBpbmZvJTIwdG9vbCUwQWd1ZXN0X2luZm9fdG9vbCUyMCUzRCUyMGxvYWRfZ3Vlc3RfZGF0YXNldCgpJTBBJTBBJTIzJTIwQ3JlYXRlJTIwQWxmcmVkJTIwd2l0aCUyMGFsbCUyMHRoZSUyMHRvb2xzJTBBYWxmcmVkJTIwJTNEJTIwQ29kZUFnZW50KCUwQSUyMCUyMCUyMCUyMHRvb2xzJTNEJTVCZ3Vlc3RfaW5mb190b29sJTJDJTIwd2VhdGhlcl9pbmZvX3Rvb2wlMkMlMjBodWJfc3RhdHNfdG9vbCUyQyUyMHNlYXJjaF90b29sJTVEJTJDJTIwJTBBJTIwJTIwJTIwJTIwbW9kZWwlM0Rtb2RlbCUyQyUwQSUyMCUyMCUyMCUyMGFkZF9iYXNlX3Rvb2xzJTNEVHJ1ZSUyQyUyMCUyMCUyMyUyMEFkZCUyMGFueSUyMGFkZGl0aW9uYWwlMjBiYXNlJTIwdG9vbHMlMEElMjAlMjAlMjAlMjBwbGFubmluZ19pbnRlcnZhbCUzRDMlMjAlMjAlMjAlMjMlMjBFbmFibGUlMjBwbGFubmluZyUyMGV2ZXJ5JTIwMyUyMHN0ZXBzJTBBKQ==",highlighted:`<span class="hljs-comment"># Initialize the Hugging Face model</span>
model = InferenceClientModel()

<span class="hljs-comment"># Initialize the web search tool</span>
search_tool = DuckDuckGoSearchTool()

<span class="hljs-comment"># Initialize the weather tool</span>
weather_info_tool = WeatherInfoTool()

<span class="hljs-comment"># Initialize the Hub stats tool</span>
hub_stats_tool = HubStatsTool()

<span class="hljs-comment"># Load the guest dataset and initialize the guest info tool</span>
guest_info_tool = load_guest_dataset()

<span class="hljs-comment"># Create Alfred with all the tools</span>
alfred = CodeAgent(
    tools=[guest_info_tool, weather_info_tool, hub_stats_tool, search_tool], 
    model=model,
    add_base_tools=<span class="hljs-literal">True</span>,  <span class="hljs-comment"># Add any additional base tools</span>
    planning_interval=<span class="hljs-number">3</span>   <span class="hljs-comment"># Enable planning every 3 steps</span>
)`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-9b56u9"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Us(U){let t,p,e,m="Now, let’s combine all these tools into a single agent:",o,a,s;return t=new Z({props:{code:"JTIzJTIwSW1wb3J0JTIwbmVjZXNzYXJ5JTIwbGlicmFyaWVzJTBBZnJvbSUyMGxsYW1hX2luZGV4LmNvcmUuYWdlbnQud29ya2Zsb3clMjBpbXBvcnQlMjBBZ2VudFdvcmtmbG93JTBBZnJvbSUyMGxsYW1hX2luZGV4LmxsbXMuaHVnZ2luZ2ZhY2VfYXBpJTIwaW1wb3J0JTIwSHVnZ2luZ0ZhY2VJbmZlcmVuY2VBUEklMEElMEFmcm9tJTIwdG9vbHMlMjBpbXBvcnQlMjBzZWFyY2hfdG9vbCUyQyUyMHdlYXRoZXJfaW5mb190b29sJTJDJTIwaHViX3N0YXRzX3Rvb2wlMEFmcm9tJTIwcmV0cmlldmVyJTIwaW1wb3J0JTIwZ3Vlc3RfaW5mb190b29s",highlighted:`<span class="hljs-comment"># Import necessary libraries</span>
<span class="hljs-keyword">from</span> llama_index.core.agent.workflow <span class="hljs-keyword">import</span> AgentWorkflow
<span class="hljs-keyword">from</span> llama_index.llms.huggingface_api <span class="hljs-keyword">import</span> HuggingFaceInferenceAPI

<span class="hljs-keyword">from</span> tools <span class="hljs-keyword">import</span> search_tool, weather_info_tool, hub_stats_tool
<span class="hljs-keyword">from</span> retriever <span class="hljs-keyword">import</span> guest_info_tool`,wrap:!1}}),a=new Z({props:{code:"JTIzJTIwSW5pdGlhbGl6ZSUyMHRoZSUyMEh1Z2dpbmclMjBGYWNlJTIwbW9kZWwlMEFsbG0lMjAlM0QlMjBIdWdnaW5nRmFjZUluZmVyZW5jZUFQSShtb2RlbF9uYW1lJTNEJTIyUXdlbiUyRlF3ZW4yLjUtQ29kZXItMzJCLUluc3RydWN0JTIyKSUwQSUwQSUyMyUyMENyZWF0ZSUyMEFsZnJlZCUyMHdpdGglMjBhbGwlMjB0aGUlMjB0b29scyUwQWFsZnJlZCUyMCUzRCUyMEFnZW50V29ya2Zsb3cuZnJvbV90b29sc19vcl9mdW5jdGlvbnMoJTBBJTIwJTIwJTIwJTIwJTVCZ3Vlc3RfaW5mb190b29sJTJDJTIwc2VhcmNoX3Rvb2wlMkMlMjB3ZWF0aGVyX2luZm9fdG9vbCUyQyUyMGh1Yl9zdGF0c190b29sJTVEJTJDJTBBJTIwJTIwJTIwJTIwbGxtJTNEbGxtJTJDJTBBKQ==",highlighted:`<span class="hljs-comment"># Initialize the Hugging Face model</span>
llm = HuggingFaceInferenceAPI(model_name=<span class="hljs-string">&quot;Qwen/Qwen2.5-Coder-32B-Instruct&quot;</span>)

<span class="hljs-comment"># Create Alfred with all the tools</span>
alfred = AgentWorkflow.from_tools_or_functions(
    [guest_info_tool, search_tool, weather_info_tool, hub_stats_tool],
    llm=llm,
)`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-9b56u9"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Ts(U){let t,p,e,m="Now, let’s combine all these tools into a single agent:",o,a,s;return t=new Z({props:{code:"ZnJvbSUyMHR5cGluZyUyMGltcG9ydCUyMFR5cGVkRGljdCUyQyUyMEFubm90YXRlZCUwQWZyb20lMjBsYW5nZ3JhcGguZ3JhcGgubWVzc2FnZSUyMGltcG9ydCUyMGFkZF9tZXNzYWdlcyUwQWZyb20lMjBsYW5nY2hhaW5fY29yZS5tZXNzYWdlcyUyMGltcG9ydCUyMEFueU1lc3NhZ2UlMkMlMjBIdW1hbk1lc3NhZ2UlMkMlMjBBSU1lc3NhZ2UlMEFmcm9tJTIwbGFuZ2dyYXBoLnByZWJ1aWx0JTIwaW1wb3J0JTIwVG9vbE5vZGUlMEFmcm9tJTIwbGFuZ2dyYXBoLmdyYXBoJTIwaW1wb3J0JTIwU1RBUlQlMkMlMjBTdGF0ZUdyYXBoJTBBZnJvbSUyMGxhbmdncmFwaC5wcmVidWlsdCUyMGltcG9ydCUyMHRvb2xzX2NvbmRpdGlvbiUwQWZyb20lMjBsYW5nY2hhaW5faHVnZ2luZ2ZhY2UlMjBpbXBvcnQlMjBIdWdnaW5nRmFjZUVuZHBvaW50JTJDJTIwQ2hhdEh1Z2dpbmdGYWNlJTBBJTBBZnJvbSUyMHRvb2xzJTIwaW1wb3J0JTIwRHVja0R1Y2tHb1NlYXJjaFJ1biUyQyUyMHdlYXRoZXJfaW5mb190b29sJTJDJTIwaHViX3N0YXRzX3Rvb2wlMEFmcm9tJTIwcmV0cmlldmVyJTIwaW1wb3J0JTIwZ3Vlc3RfaW5mb190b29s",highlighted:`<span class="hljs-keyword">from</span> typing <span class="hljs-keyword">import</span> TypedDict, Annotated
<span class="hljs-keyword">from</span> langgraph.graph.message <span class="hljs-keyword">import</span> add_messages
<span class="hljs-keyword">from</span> langchain_core.messages <span class="hljs-keyword">import</span> AnyMessage, HumanMessage, AIMessage
<span class="hljs-keyword">from</span> langgraph.prebuilt <span class="hljs-keyword">import</span> ToolNode
<span class="hljs-keyword">from</span> langgraph.graph <span class="hljs-keyword">import</span> START, StateGraph
<span class="hljs-keyword">from</span> langgraph.prebuilt <span class="hljs-keyword">import</span> tools_condition
<span class="hljs-keyword">from</span> langchain_huggingface <span class="hljs-keyword">import</span> HuggingFaceEndpoint, ChatHuggingFace

<span class="hljs-keyword">from</span> tools <span class="hljs-keyword">import</span> DuckDuckGoSearchRun, weather_info_tool, hub_stats_tool
<span class="hljs-keyword">from</span> retriever <span class="hljs-keyword">import</span> guest_info_tool`,wrap:!1}}),a=new Z({props:{code:"JTIzJTIwSW5pdGlhbGl6ZSUyMHRoZSUyMHdlYiUyMHNlYXJjaCUyMHRvb2wlMEFzZWFyY2hfdG9vbCUyMCUzRCUyMER1Y2tEdWNrR29TZWFyY2hSdW4oKSUwQSUwQSUyMyUyMEdlbmVyYXRlJTIwdGhlJTIwY2hhdCUyMGludGVyZmFjZSUyQyUyMGluY2x1ZGluZyUyMHRoZSUyMHRvb2xzJTBBbGxtJTIwJTNEJTIwSHVnZ2luZ0ZhY2VFbmRwb2ludCglMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIyUXdlbiUyRlF3ZW4yLjUtQ29kZXItMzJCLUluc3RydWN0JTIyJTJDJTBBJTIwJTIwJTIwJTIwaHVnZ2luZ2ZhY2VodWJfYXBpX3Rva2VuJTNESFVHR0lOR0ZBQ0VIVUJfQVBJX1RPS0VOJTJDJTBBKSUwQSUwQWNoYXQlMjAlM0QlMjBDaGF0SHVnZ2luZ0ZhY2UobGxtJTNEbGxtJTJDJTIwdmVyYm9zZSUzRFRydWUpJTBBdG9vbHMlMjAlM0QlMjAlNUJndWVzdF9pbmZvX3Rvb2wlMkMlMjBzZWFyY2hfdG9vbCUyQyUyMHdlYXRoZXJfaW5mb190b29sJTJDJTIwaHViX3N0YXRzX3Rvb2wlNUQlMEFjaGF0X3dpdGhfdG9vbHMlMjAlM0QlMjBjaGF0LmJpbmRfdG9vbHModG9vbHMpJTBBJTBBJTIzJTIwR2VuZXJhdGUlMjB0aGUlMjBBZ2VudFN0YXRlJTIwYW5kJTIwQWdlbnQlMjBncmFwaCUwQWNsYXNzJTIwQWdlbnRTdGF0ZShUeXBlZERpY3QpJTNBJTBBJTIwJTIwJTIwJTIwbWVzc2FnZXMlM0ElMjBBbm5vdGF0ZWQlNUJsaXN0JTVCQW55TWVzc2FnZSU1RCUyQyUyMGFkZF9tZXNzYWdlcyU1RCUwQSUwQWRlZiUyMGFzc2lzdGFudChzdGF0ZSUzQSUyMEFnZW50U3RhdGUpJTNBJTBBJTIwJTIwJTIwJTIwcmV0dXJuJTIwJTdCJTBBJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIwJTIybWVzc2FnZXMlMjIlM0ElMjAlNUJjaGF0X3dpdGhfdG9vbHMuaW52b2tlKHN0YXRlJTVCJTIybWVzc2FnZXMlMjIlNUQpJTVEJTJDJTBBJTIwJTIwJTIwJTIwJTdEJTBBJTBBJTIzJTIzJTIwVGhlJTIwZ3JhcGglMEFidWlsZGVyJTIwJTNEJTIwU3RhdGVHcmFwaChBZ2VudFN0YXRlKSUwQSUwQSUyMyUyMERlZmluZSUyMG5vZGVzJTNBJTIwdGhlc2UlMjBkbyUyMHRoZSUyMHdvcmslMEFidWlsZGVyLmFkZF9ub2RlKCUyMmFzc2lzdGFudCUyMiUyQyUyMGFzc2lzdGFudCklMEFidWlsZGVyLmFkZF9ub2RlKCUyMnRvb2xzJTIyJTJDJTIwVG9vbE5vZGUodG9vbHMpKSUwQSUwQSUyMyUyMERlZmluZSUyMGVkZ2VzJTNBJTIwdGhlc2UlMjBkZXRlcm1pbmUlMjBob3clMjB0aGUlMjBjb250cm9sJTIwZmxvdyUyMG1vdmVzJTBBYnVpbGRlci5hZGRfZWRnZShTVEFSVCUyQyUyMCUyMmFzc2lzdGFudCUyMiklMEFidWlsZGVyLmFkZF9jb25kaXRpb25hbF9lZGdlcyglMEElMjAlMjAlMjAlMjAlMjJhc3Npc3RhbnQlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjMlMjBJZiUyMHRoZSUyMGxhdGVzdCUyMG1lc3NhZ2UlMjByZXF1aXJlcyUyMGElMjB0b29sJTJDJTIwcm91dGUlMjB0byUyMHRvb2xzJTBBJTIwJTIwJTIwJTIwJTIzJTIwT3RoZXJ3aXNlJTJDJTIwcHJvdmlkZSUyMGElMjBkaXJlY3QlMjByZXNwb25zZSUwQSUyMCUyMCUyMCUyMHRvb2xzX2NvbmRpdGlvbiUyQyUwQSklMEFidWlsZGVyLmFkZF9lZGdlKCUyMnRvb2xzJTIyJTJDJTIwJTIyYXNzaXN0YW50JTIyKSUwQWFsZnJlZCUyMCUzRCUyMGJ1aWxkZXIuY29tcGlsZSgp",highlighted:`<span class="hljs-comment"># Initialize the web search tool</span>
search_tool = DuckDuckGoSearchRun()

<span class="hljs-comment"># Generate the chat interface, including the tools</span>
llm = HuggingFaceEndpoint(
    repo_id=<span class="hljs-string">&quot;Qwen/Qwen2.5-Coder-32B-Instruct&quot;</span>,
    huggingfacehub_api_token=HUGGINGFACEHUB_API_TOKEN,
)

chat = ChatHuggingFace(llm=llm, verbose=<span class="hljs-literal">True</span>)
tools = [guest_info_tool, search_tool, weather_info_tool, hub_stats_tool]
chat_with_tools = chat.bind_tools(tools)

<span class="hljs-comment"># Generate the AgentState and Agent graph</span>
<span class="hljs-keyword">class</span> <span class="hljs-title class_">AgentState</span>(<span class="hljs-title class_ inherited__">TypedDict</span>):
    messages: Annotated[<span class="hljs-built_in">list</span>[AnyMessage], add_messages]

<span class="hljs-keyword">def</span> <span class="hljs-title function_">assistant</span>(<span class="hljs-params">state: AgentState</span>):
    <span class="hljs-keyword">return</span> {
        <span class="hljs-string">&quot;messages&quot;</span>: [chat_with_tools.invoke(state[<span class="hljs-string">&quot;messages&quot;</span>])],
    }

<span class="hljs-comment">## The graph</span>
builder = StateGraph(AgentState)

<span class="hljs-comment"># Define nodes: these do the work</span>
builder.add_node(<span class="hljs-string">&quot;assistant&quot;</span>, assistant)
builder.add_node(<span class="hljs-string">&quot;tools&quot;</span>, ToolNode(tools))

<span class="hljs-comment"># Define edges: these determine how the control flow moves</span>
builder.add_edge(START, <span class="hljs-string">&quot;assistant&quot;</span>)
builder.add_conditional_edges(
    <span class="hljs-string">&quot;assistant&quot;</span>,
    <span class="hljs-comment"># If the latest message requires a tool, route to tools</span>
    <span class="hljs-comment"># Otherwise, provide a direct response</span>
    tools_condition,
)
builder.add_edge(<span class="hljs-string">&quot;tools&quot;</span>, <span class="hljs-string">&quot;assistant&quot;</span>)
alfred = builder.<span class="hljs-built_in">compile</span>()`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-9b56u9"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function fs(U){let t,p,e,m,o,a;return t=new $({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[bs]},$$scope:{ctx:U}}}),e=new $({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[Us]},$$scope:{ctx:U}}}),o=new $({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[Ts]},$$scope:{ctx:U}}}),{c(){d(t.$$.fragment),p=y(),d(e.$$.fragment),m=y(),d(o.$$.fragment)},l(s){J(t.$$.fragment,s),p=w(s),J(e.$$.fragment,s),m=w(s),J(o.$$.fragment,s)},m(s,l){h(t,s,l),M(s,p,l),h(e,s,l),M(s,m,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),t.$set(i);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),e.$set(G);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),o.$set(I)},i(s){a||(u(t.$$.fragment,s),u(e.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(t.$$.fragment,s),j(e.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(m)),b(t,s),b(e,s),b(o,s)}}}function Zs(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cXVlcnklMjAlM0QlMjAlMjJUZWxsJTIwbWUlMjBhYm91dCUyMCdMYWR5JTIwQWRhJTIwTG92ZWxhY2UnJTIyJTBBcmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQucnVuKHF1ZXJ5KSUwQSUwQXByaW50KCUyMiVGMCU5RiU4RSVBOSUyMEFsZnJlZCdzJTIwUmVzcG9uc2UlM0ElMjIpJTBBcHJpbnQocmVzcG9uc2Up",highlighted:`query = <span class="hljs-string">&quot;Tell me about &#x27;Lady Ada Lovelace&#x27;&quot;</span>
response = alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUJhc2VkJTIwb24lMjB0aGUlMjBpbmZvcm1hdGlvbiUyMEklMjByZXRyaWV2ZWQlMkMlMjBMYWR5JTIwQWRhJTIwTG92ZWxhY2UlMjBpcyUyMGFuJTIwZXN0ZWVtZWQlMjBtYXRoZW1hdGljaWFuJTIwYW5kJTIwZnJpZW5kLiUyMFNoZSUyMGlzJTIwcmVub3duZWQlMjBmb3IlMjBoZXIlMjBwaW9uZWVyaW5nJTIwd29yayUyMGluJTIwbWF0aGVtYXRpY3MlMjBhbmQlMjBjb21wdXRpbmclMkMlMjBvZnRlbiUyMGNlbGVicmF0ZWQlMjBhcyUyMHRoZSUyMGZpcnN0JTIwY29tcHV0ZXIlMjBwcm9ncmFtbWVyJTIwZHVlJTIwdG8lMjBoZXIlMjB3b3JrJTIwb24lMjBDaGFybGVzJTIwQmFiYmFnZSdzJTIwQW5hbHl0aWNhbCUyMEVuZ2luZS4lMjBIZXIlMjBlbWFpbCUyMGFkZHJlc3MlMjBpcyUyMGFkYS5sb3ZlbGFjZSU0MGV4YW1wbGUuY29tLg==",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
Based <span class="hljs-keyword">on</span> the information I retrieved, Lady Ada Lovelace <span class="hljs-built_in">is</span> an esteemed mathematician <span class="hljs-built_in">and</span> <span class="hljs-keyword">friend</span>. She <span class="hljs-built_in">is</span> renowned <span class="hljs-keyword">for</span> her pioneering work <span class="hljs-keyword">in</span> mathematics <span class="hljs-built_in">and</span> computing, often celebrated <span class="hljs-keyword">as</span> the first computer programmer due <span class="hljs-keyword">to</span> her work <span class="hljs-keyword">on</span> Charles Babbage<span class="hljs-comment">&#x27;s Analytical Engine. Her email address is ada.lovelace@example.com.</span>`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Bs(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cXVlcnklMjAlM0QlMjAlMjJUZWxsJTIwbWUlMjBhYm91dCUyMExhZHklMjBBZGElMjBMb3ZlbGFjZS4lMjBXaGF0J3MlMjBoZXIlMjBiYWNrZ3JvdW5kJTNGJTIyJTBBcmVzcG9uc2UlMjAlM0QlMjBhd2FpdCUyMGFsZnJlZC5ydW4ocXVlcnkpJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZS5yZXNwb25zZS5ibG9ja3MlNUIwJTVELnRleHQp",highlighted:`query = <span class="hljs-string">&quot;Tell me about Lady Ada Lovelace. What&#x27;s her background?&quot;</span>
response = <span class="hljs-keyword">await</span> alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response.response.blocks[<span class="hljs-number">0</span>].text)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUxhZHklMjBBZGElMjBMb3ZlbGFjZSUyMHdhcyUyMGFuJTIwRW5nbGlzaCUyMG1hdGhlbWF0aWNpYW4lMjBhbmQlMjB3cml0ZXIlMkMlMjBiZXN0JTIwa25vd24lMjBmb3IlMjBoZXIlMjB3b3JrJTIwb24lMjBDaGFybGVzJTIwQmFiYmFnZSdzJTIwQW5hbHl0aWNhbCUyMEVuZ2luZS4lMjBTaGUlMjB3YXMlMjB0aGUlMjBmaXJzdCUyMHRvJTIwcmVjb2duaXplJTIwdGhhdCUyMHRoZSUyMG1hY2hpbmUlMjBoYWQlMjBhcHBsaWNhdGlvbnMlMjBiZXlvbmQlMjBwdXJlJTIwY2FsY3VsYXRpb24u",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
Lady Ada Lovelace was an English mathematician <span class="hljs-built_in">and</span> writer, best known <span class="hljs-keyword">for</span> her work <span class="hljs-keyword">on</span> Charles Babbage<span class="hljs-comment">&#x27;s Analytical Engine. She was the first to recognize that the machine had applications beyond pure calculation.</span>`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Is(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQuaW52b2tlKCU3QiUyMm1lc3NhZ2VzJTIyJTNBJTIwJTIyVGVsbCUyMG1lJTIwYWJvdXQlMjAnTGFkeSUyMEFkYSUyMExvdmVsYWNlJyUyMiU3RCklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlJTVCJ21lc3NhZ2VzJyU1RCU1Qi0xJTVELmNvbnRlbnQp",highlighted:`response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: <span class="hljs-string">&quot;Tell me about &#x27;Lady Ada Lovelace&#x27;&quot;</span>})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUFkYSUyMExvdmVsYWNlJTJDJTIwYWxzbyUyMGtub3duJTIwYXMlMjBBdWd1c3RhJTIwQWRhJTIwS2luZyUyQyUyMENvdW50ZXNzJTIwb2YlMjBMb3ZlbGFjZSUyQyUyMHdhcyUyMGFuJTIwRW5nbGlzaCUyMG1hdGhlbWF0aWNpYW4lMjBhbmQlMjB3cml0ZXIuJTIwQm9ybiUyMG9uJTIwRGVjZW1iZXIlMjAxMCUyQyUyMDE4MTUlMkMlMjBhbmQlMjBwYXNzaW5nJTIwYXdheSUyMG9uJTIwTm92ZW1iZXIlMjAyNyUyQyUyMDE4NTIlMkMlMjBzaGUlMjBpcyUyMHJlbm93bmVkJTIwZm9yJTIwaGVyJTIwd29yayUyMG9uJTIwQ2hhcmxlcyUyMEJhYmJhZ2UncyUyMEFuYWx5dGljYWwlMjBFbmdpbmUlMkMlMjBhJTIwcHJvcG9zZWQlMjBtZWNoYW5pY2FsJTIwZ2VuZXJhbC1wdXJwb3NlJTIwY29tcHV0ZXIuJTIwQWRhJTIwTG92ZWxhY2UlMjBpcyUyMGNlbGVicmF0ZWQlMjBhcyUyMG9uZSUyMG9mJTIwdGhlJTIwZmlyc3QlMjBjb21wdXRlciUyMHByb2dyYW1tZXJzJTIwYmVjYXVzZSUyMHNoZSUyMGNyZWF0ZWQlMjBhJTIwcHJvZ3JhbSUyMGZvciUyMHRoZSUyMEFuYWx5dGljYWwlMjBFbmdpbmUlMjBpbiUyMDE4NDMuJTIwU2hlJTIwcmVjb2duaXplZCUyMHRoYXQlMjB0aGUlMjBtYWNoaW5lJTIwY291bGQlMjBiZSUyMHVzZWQlMjBmb3IlMjBtb3JlJTIwdGhhbiUyMG1lcmUlMjBjYWxjdWxhdGlvbiUyQyUyMGVudmlzaW9uaW5nJTIwaXRzJTIwcG90ZW50aWFsJTIwaW4lMjBhJTIwd2F5JTIwdGhhdCUyMGZldyUyMGRpZCUyMGF0JTIwdGhlJTIwdGltZS4lMjBIZXIlMjBjb250cmlidXRpb25zJTIwdG8lMjB0aGUlMjBmaWVsZCUyMG9mJTIwY29tcHV0ZXIlMjBzY2llbmNlJTIwbGFpZCUyMHRoZSUyMGdyb3VuZHdvcmslMjBmb3IlMjBmdXR1cmUlMjBkZXZlbG9wbWVudHMuJTIwQSUyMGRheSUyMGluJTIwT2N0b2JlciUyQyUyMGRlc2lnbmF0ZWQlMjBhcyUyMEFkYSUyMExvdmVsYWNlJTIwRGF5JTJDJTIwaG9ub3JzJTIwd29tZW4ncyUyMGNvbnRyaWJ1dGlvbnMlMjB0byUyMHNjaWVuY2UlMjBhbmQlMjB0ZWNobm9sb2d5JTJDJTIwaW5zcGlyZWQlMjBieSUyMExvdmVsYWNlJ3MlMjBwaW9uZWVyaW5nJTIwd29yay4=",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
Ada Lovelace, also known <span class="hljs-keyword">as</span> Augusta Ada King, Countess <span class="hljs-keyword">of</span> Lovelace, was an English mathematician <span class="hljs-built_in">and</span> writer. Born <span class="hljs-keyword">on</span> December <span class="hljs-number">10</span>, <span class="hljs-number">1815</span>, <span class="hljs-built_in">and</span> passing away <span class="hljs-keyword">on</span> November <span class="hljs-number">27</span>, <span class="hljs-number">1852</span>, she <span class="hljs-built_in">is</span> renowned <span class="hljs-keyword">for</span> her work <span class="hljs-keyword">on</span> Charles Babbage<span class="hljs-comment">&#x27;s Analytical Engine, a proposed mechanical general-purpose computer. Ada Lovelace is celebrated as one of the first computer programmers because she created a program for the Analytical Engine in 1843. She recognized that the machine could be used for more than mere calculation, envisioning its potential in a way that few did at the time. Her contributions to the field of computer science laid the groundwork for future developments. A day in October, designated as Ada Lovelace Day, honors women&#x27;s contributions to science and technology, inspired by Lovelace&#x27;s pioneering work.</span>`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Gs(U){let t,p,e,m,o,a;return t=new $({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[Zs]},$$scope:{ctx:U}}}),e=new $({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[Bs]},$$scope:{ctx:U}}}),o=new $({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[Is]},$$scope:{ctx:U}}}),{c(){d(t.$$.fragment),p=y(),d(e.$$.fragment),m=y(),d(o.$$.fragment)},l(s){J(t.$$.fragment,s),p=w(s),J(e.$$.fragment,s),m=w(s),J(o.$$.fragment,s)},m(s,l){h(t,s,l),M(s,p,l),h(e,s,l),M(s,m,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),t.$set(i);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),e.$set(G);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),o.$set(I)},i(s){a||(u(t.$$.fragment,s),u(e.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(t.$$.fragment,s),j(e.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(m)),b(t,s),b(e,s),b(o,s)}}}function $s(U){let t,p,e,m="Expected output (will vary due to randomness):",o,a,s;return t=new Z({props:{code:"cXVlcnklMjAlM0QlMjAlMjJXaGF0J3MlMjB0aGUlMjB3ZWF0aGVyJTIwbGlrZSUyMGluJTIwUGFyaXMlMjB0b25pZ2h0JTNGJTIwV2lsbCUyMGl0JTIwYmUlMjBzdWl0YWJsZSUyMGZvciUyMG91ciUyMGZpcmV3b3JrcyUyMGRpc3BsYXklM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGFsZnJlZC5ydW4ocXVlcnkpJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZSk=",highlighted:`query = <span class="hljs-string">&quot;What&#x27;s the weather like in Paris tonight? Will it be suitable for our fireworks display?&quot;</span>
response = alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUkndmUlMjBjaGVja2VkJTIwdGhlJTIwd2VhdGhlciUyMGluJTIwUGFyaXMlMjBmb3IlMjB5b3UuJTIwQ3VycmVudGx5JTJDJTIwaXQncyUyMGNsZWFyJTIwd2l0aCUyMGElMjB0ZW1wZXJhdHVyZSUyMG9mJTIwMjUlQzIlQjBDLiUyMFRoZXNlJTIwY29uZGl0aW9ucyUyMGFyZSUyMHBlcmZlY3QlMjBmb3IlMjB0aGUlMjBmaXJld29ya3MlMjBkaXNwbGF5JTIwdG9uaWdodC4lMjBUaGUlMjBjbGVhciUyMHNraWVzJTIwd2lsbCUyMHByb3ZpZGUlMjBleGNlbGxlbnQlMjB2aXNpYmlsaXR5JTIwZm9yJTIwdGhlJTIwc3BlY3RhY3VsYXIlMjBzaG93JTJDJTIwYW5kJTIwdGhlJTIwY29tZm9ydGFibGUlMjB0ZW1wZXJhdHVyZSUyMHdpbGwlMjBlbnN1cmUlMjB0aGUlMjBndWVzdHMlMjBjYW4lMjBlbmpveSUyMHRoZSUyMG91dGRvb3IlMjBldmVudCUyMHdpdGhvdXQlMjBkaXNjb21mb3J0Lg==",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
I<span class="hljs-comment">&#x27;ve checked the weather in Paris for you. Currently, it&#x27;s clear with a temperature of 25°C. These conditions are perfect for the fireworks display tonight. The clear skies will provide excellent visibility for the spectacular show, and the comfortable temperature will ensure the guests can enjoy the outdoor event without discomfort.</span>`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-13f6273"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function gs(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cXVlcnklMjAlM0QlMjAlMjJXaGF0J3MlMjB0aGUlMjB3ZWF0aGVyJTIwbGlrZSUyMGluJTIwUGFyaXMlMjB0b25pZ2h0JTNGJTIwV2lsbCUyMGl0JTIwYmUlMjBzdWl0YWJsZSUyMGZvciUyMG91ciUyMGZpcmV3b3JrcyUyMGRpc3BsYXklM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGF3YWl0JTIwYWxmcmVkLnJ1bihxdWVyeSklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlKQ==",highlighted:`query = <span class="hljs-string">&quot;What&#x27;s the weather like in Paris tonight? Will it be suitable for our fireworks display?&quot;</span>
response = <span class="hljs-keyword">await</span> alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMHdlYXRoZXIlMjBpbiUyMFBhcmlzJTIwdG9uaWdodCUyMGlzJTIwcmFpbnklMjB3aXRoJTIwYSUyMHRlbXBlcmF0dXJlJTIwb2YlMjAxNSVDMiVCMEMuJTIwR2l2ZW4lMjB0aGUlMjByYWluJTJDJTIwaXQlMjBtYXklMjBub3QlMjBiZSUyMHN1aXRhYmxlJTIwZm9yJTIwYSUyMGZpcmV3b3JrcyUyMGRpc3BsYXku",highlighted:`🎩 Alfred<span class="hljs-symbol">&#x27;s</span> Response:
The weather <span class="hljs-keyword">in</span> Paris tonight <span class="hljs-keyword">is</span> rainy <span class="hljs-keyword">with</span> a temperature <span class="hljs-keyword">of</span> <span class="hljs-number">15</span>°C. Given the rain, it may <span class="hljs-keyword">not</span> be suitable <span class="hljs-keyword">for</span> a fireworks display.`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Ws(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQuaW52b2tlKCU3QiUyMm1lc3NhZ2VzJTIyJTNBJTIwJTIyV2hhdCdzJTIwdGhlJTIwd2VhdGhlciUyMGxpa2UlMjBpbiUyMFBhcmlzJTIwdG9uaWdodCUzRiUyMFdpbGwlMjBpdCUyMGJlJTIwc3VpdGFibGUlMjBmb3IlMjBvdXIlMjBmaXJld29ya3MlMjBkaXNwbGF5JTNGJTIyJTdEKSUwQSUwQXByaW50KCUyMiVGMCU5RiU4RSVBOSUyMEFsZnJlZCdzJTIwUmVzcG9uc2UlM0ElMjIpJTBBcHJpbnQocmVzcG9uc2UlNUInbWVzc2FnZXMnJTVEJTVCLTElNUQuY29udGVudCk=",highlighted:`response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: <span class="hljs-string">&quot;What&#x27;s the weather like in Paris tonight? Will it be suitable for our fireworks display?&quot;</span>})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMHdlYXRoZXIlMjBpbiUyMFBhcmlzJTIwdG9uaWdodCUyMGlzJTIwcmFpbnklMjB3aXRoJTIwYSUyMHRlbXBlcmF0dXJlJTIwb2YlMjAxNSVDMiVCMEMlMkMlMjB3aGljaCUyMG1heSUyMG5vdCUyMGJlJTIwc3VpdGFibGUlMjBmb3IlMjB5b3VyJTIwZmlyZXdvcmtzJTIwZGlzcGxheS4=",highlighted:`🎩 Alfred<span class="hljs-symbol">&#x27;s</span> Response:
The weather <span class="hljs-keyword">in</span> Paris tonight <span class="hljs-keyword">is</span> rainy <span class="hljs-keyword">with</span> a temperature <span class="hljs-keyword">of</span> <span class="hljs-number">15</span>°C, which may <span class="hljs-keyword">not</span> be suitable <span class="hljs-keyword">for</span> your fireworks display.`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function ks(U){let t,p,e,m,o,a;return t=new $({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[$s]},$$scope:{ctx:U}}}),e=new $({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[gs]},$$scope:{ctx:U}}}),o=new $({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[Ws]},$$scope:{ctx:U}}}),{c(){d(t.$$.fragment),p=y(),d(e.$$.fragment),m=y(),d(o.$$.fragment)},l(s){J(t.$$.fragment,s),p=w(s),J(e.$$.fragment,s),m=w(s),J(o.$$.fragment,s)},m(s,l){h(t,s,l),M(s,p,l),h(e,s,l),M(s,m,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),t.$set(i);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),e.$set(G);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),o.$set(I)},i(s){a||(u(t.$$.fragment,s),u(e.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(t.$$.fragment,s),j(e.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(m)),b(t,s),b(e,s),b(o,s)}}}function Vs(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cXVlcnklMjAlM0QlMjAlMjJPbmUlMjBvZiUyMG91ciUyMGd1ZXN0cyUyMGlzJTIwZnJvbSUyMFF3ZW4uJTIwV2hhdCUyMGNhbiUyMHlvdSUyMHRlbGwlMjBtZSUyMGFib3V0JTIwdGhlaXIlMjBtb3N0JTIwcG9wdWxhciUyMG1vZGVsJTNGJTIyJTBBcmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQucnVuKHF1ZXJ5KSUwQSUwQXByaW50KCUyMiVGMCU5RiU4RSVBOSUyMEFsZnJlZCdzJTIwUmVzcG9uc2UlM0ElMjIpJTBBcHJpbnQocmVzcG9uc2Up",highlighted:`query = <span class="hljs-string">&quot;One of our guests is from Qwen. What can you tell me about their most popular model?&quot;</span>
response = alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMG1vc3QlMjBwb3B1bGFyJTIwUXdlbiUyMG1vZGVsJTIwaXMlMjBRd2VuJTJGUXdlbjIuNS1WTC03Qi1JbnN0cnVjdCUyMHdpdGglMjAzJTJDMzEzJTJDMzQ1JTIwZG93bmxvYWRzLg==",highlighted:`🎩 Alfred<span class="hljs-symbol">&#x27;s</span> Response:
The most popular Qwen model <span class="hljs-keyword">is</span> Qwen/Qwen2.<span class="hljs-number">5</span>-VL-<span class="hljs-number">7</span>B-Instruct <span class="hljs-keyword">with</span> <span class="hljs-number">3</span>,<span class="hljs-number">313</span>,<span class="hljs-number">345</span> downloads.`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function vs(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cXVlcnklMjAlM0QlMjAlMjJPbmUlMjBvZiUyMG91ciUyMGd1ZXN0cyUyMGlzJTIwZnJvbSUyMEdvb2dsZS4lMjBXaGF0JTIwY2FuJTIweW91JTIwdGVsbCUyMG1lJTIwYWJvdXQlMjB0aGVpciUyMG1vc3QlMjBwb3B1bGFyJTIwbW9kZWwlM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGF3YWl0JTIwYWxmcmVkLnJ1bihxdWVyeSklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlKQ==",highlighted:`query = <span class="hljs-string">&quot;One of our guests is from Google. What can you tell me about their most popular model?&quot;</span>
response = <span class="hljs-keyword">await</span> alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMG1vc3QlMjBwb3B1bGFyJTIwbW9kZWwlMjBieSUyMEdvb2dsZSUyMG9uJTIwdGhlJTIwSHVnZ2luZyUyMEZhY2UlMjBIdWIlMjBpcyUyMGdvb2dsZSUyRmVsZWN0cmEtYmFzZS1kaXNjcmltaW5hdG9yJTJDJTIwd2l0aCUyMDI4JTJDNTQ2JTJDNzUyJTIwZG93bmxvYWRzLg==",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
The most popular model <span class="hljs-keyword">by</span> Google <span class="hljs-keyword">on</span> the Hugging Face Hub <span class="hljs-built_in">is</span> google/electra-base-discriminator, <span class="hljs-keyword">with</span> <span class="hljs-number">28</span>,<span class="hljs-number">546</span>,<span class="hljs-number">752</span> downloads.`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Xs(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQuaW52b2tlKCU3QiUyMm1lc3NhZ2VzJTIyJTNBJTIwJTIyT25lJTIwb2YlMjBvdXIlMjBndWVzdHMlMjBpcyUyMGZyb20lMjBRd2VuLiUyMFdoYXQlMjBjYW4lMjB5b3UlMjB0ZWxsJTIwbWUlMjBhYm91dCUyMHRoZWlyJTIwbW9zdCUyMHBvcHVsYXIlMjBtb2RlbCUzRiUyMiU3RCklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlJTVCJ21lc3NhZ2VzJyU1RCU1Qi0xJTVELmNvbnRlbnQp",highlighted:`response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: <span class="hljs-string">&quot;One of our guests is from Qwen. What can you tell me about their most popular model?&quot;</span>})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQVRoZSUyMG1vc3QlMjBkb3dubG9hZGVkJTIwbW9kZWwlMjBieSUyMFF3ZW4lMjBpcyUyMFF3ZW4lMkZRd2VuMi41LVZMLTdCLUluc3RydWN0JTIwd2l0aCUyMDMlMkMzMTMlMkMzNDUlMjBkb3dubG9hZHMu",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
The most downloaded model <span class="hljs-keyword">by</span> Qwen <span class="hljs-built_in">is</span> Qwen/Qwen2.<span class="hljs-number">5</span>-VL-<span class="hljs-number">7</span>B-Instruct <span class="hljs-keyword">with</span> <span class="hljs-number">3</span>,<span class="hljs-number">313</span>,<span class="hljs-number">345</span> downloads.`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Cs(U){let t,p,e,m,o,a;return t=new $({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[Vs]},$$scope:{ctx:U}}}),e=new $({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[vs]},$$scope:{ctx:U}}}),o=new $({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[Xs]},$$scope:{ctx:U}}}),{c(){d(t.$$.fragment),p=y(),d(e.$$.fragment),m=y(),d(o.$$.fragment)},l(s){J(t.$$.fragment,s),p=w(s),J(e.$$.fragment,s),m=w(s),J(o.$$.fragment,s)},m(s,l){h(t,s,l),M(s,p,l),h(e,s,l),M(s,m,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),t.$set(i);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),e.$set(G);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),o.$set(I)},i(s){a||(u(t.$$.fragment,s),u(e.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(t.$$.fragment,s),j(e.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(m)),b(t,s),b(e,s),b(o,s)}}}function Rs(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cXVlcnklMjAlM0QlMjAlMjJJJTIwbmVlZCUyMHRvJTIwc3BlYWslMjB3aXRoJTIwRHIuJTIwTmlrb2xhJTIwVGVzbGElMjBhYm91dCUyMHJlY2VudCUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBlbmVyZ3kuJTIwQ2FuJTIweW91JTIwaGVscCUyMG1lJTIwcHJlcGFyZSUyMGZvciUyMHRoaXMlMjBjb252ZXJzYXRpb24lM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGFsZnJlZC5ydW4ocXVlcnkpJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZSk=",highlighted:`query = <span class="hljs-string">&quot;I need to speak with Dr. Nikola Tesla about recent advancements in wireless energy. Can you help me prepare for this conversation?&quot;</span>
response = alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUkndmUlMjBnYXRoZXJlZCUyMGluZm9ybWF0aW9uJTIwdG8lMjBoZWxwJTIweW91JTIwcHJlcGFyZSUyMGZvciUyMHlvdXIlMjBjb252ZXJzYXRpb24lMjB3aXRoJTIwRHIuJTIwTmlrb2xhJTIwVGVzbGEuJTBBJTBBR3Vlc3QlMjBJbmZvcm1hdGlvbiUzQSUwQU5hbWUlM0ElMjBEci4lMjBOaWtvbGElMjBUZXNsYSUwQVJlbGF0aW9uJTNBJTIwb2xkJTIwZnJpZW5kJTIwZnJvbSUyMHVuaXZlcnNpdHklMjBkYXlzJTBBRGVzY3JpcHRpb24lM0ElMjBEci4lMjBOaWtvbGElMjBUZXNsYSUyMGlzJTIwYW4lMjBvbGQlMjBmcmllbmQlMjBmcm9tJTIweW91ciUyMHVuaXZlcnNpdHklMjBkYXlzLiUyMEhlJ3MlMjByZWNlbnRseSUyMHBhdGVudGVkJTIwYSUyMG5ldyUyMHdpcmVsZXNzJTIwZW5lcmd5JTIwdHJhbnNtaXNzaW9uJTIwc3lzdGVtJTIwYW5kJTIwd291bGQlMjBiZSUyMGRlbGlnaHRlZCUyMHRvJTIwZGlzY3VzcyUyMGl0JTIwd2l0aCUyMHlvdS4lMjBKdXN0JTIwcmVtZW1iZXIlMjBoZSdzJTIwcGFzc2lvbmF0ZSUyMGFib3V0JTIwcGlnZW9ucyUyQyUyMHNvJTIwdGhhdCUyMG1pZ2h0JTIwbWFrZSUyMGZvciUyMGdvb2QlMjBzbWFsbCUyMHRhbGsuJTBBRW1haWwlM0ElMjBuaWtvbGEudGVzbGElNDBnbWFpbC5jb20lMEElMEFSZWNlbnQlMjBBZHZhbmNlbWVudHMlMjBpbiUyMFdpcmVsZXNzJTIwRW5lcmd5JTNBJTBBQmFzZWQlMjBvbiUyMG15JTIwd2ViJTIwc2VhcmNoJTJDJTIwaGVyZSUyMGFyZSUyMHNvbWUlMjByZWNlbnQlMjBkZXZlbG9wbWVudHMlMjBpbiUyMHdpcmVsZXNzJTIwZW5lcmd5JTIwdHJhbnNtaXNzaW9uJTNBJTBBMS4lMjBSZXNlYXJjaGVycyUyMGhhdmUlMjBtYWRlJTIwcHJvZ3Jlc3MlMjBpbiUyMGxvbmctcmFuZ2UlMjB3aXJlbGVzcyUyMHBvd2VyJTIwdHJhbnNtaXNzaW9uJTIwdXNpbmclMjBmb2N1c2VkJTIwZWxlY3Ryb21hZ25ldGljJTIwd2F2ZXMlMEEyLiUyMFNldmVyYWwlMjBjb21wYW5pZXMlMjBhcmUlMjBkZXZlbG9waW5nJTIwcmVzb25hbnQlMjBpbmR1Y3RpdmUlMjBjb3VwbGluZyUyMHRlY2hub2xvZ2llcyUyMGZvciUyMGNvbnN1bWVyJTIwZWxlY3Ryb25pY3MlMEEzLiUyMFRoZXJlJTIwYXJlJTIwbmV3JTIwYXBwbGljYXRpb25zJTIwaW4lMjBlbGVjdHJpYyUyMHZlaGljbGUlMjBjaGFyZ2luZyUyMHdpdGhvdXQlMjBwaHlzaWNhbCUyMGNvbm5lY3Rpb25zJTBBJTBBQ29udmVyc2F0aW9uJTIwU3RhcnRlcnMlM0ElMEExLiUyMCUyMkknZCUyMGxvdmUlMjB0byUyMGhlYXIlMjBhYm91dCUyMHlvdXIlMjBuZXclMjBwYXRlbnQlMjBvbiUyMHdpcmVsZXNzJTIwZW5lcmd5JTIwdHJhbnNtaXNzaW9uLiUyMEhvdyUyMGRvZXMlMjBpdCUyMGNvbXBhcmUlMjB0byUyMHlvdXIlMjBvcmlnaW5hbCUyMGNvbmNlcHRzJTIwZnJvbSUyMG91ciUyMHVuaXZlcnNpdHklMjBkYXlzJTNGJTIyJTBBMi4lMjAlMjJIYXZlJTIweW91JTIwc2VlbiUyMHRoZSUyMHJlY2VudCUyMGRldmVsb3BtZW50cyUyMGluJTIwcmVzb25hbnQlMjBpbmR1Y3RpdmUlMjBjb3VwbGluZyUyMGZvciUyMGNvbnN1bWVyJTIwZWxlY3Ryb25pY3MlM0YlMjBXaGF0JTIwZG8lMjB5b3UlMjB0aGluayUyMG9mJTIwdGhlaXIlMjBhcHByb2FjaCUzRiUyMiUwQTMuJTIwJTIySG93JTIwYXJlJTIweW91ciUyMHBpZ2VvbnMlMjBkb2luZyUzRiUyMEklMjByZW1lbWJlciUyMHlvdXIlMjBmYXNjaW5hdGlvbiUyMHdpdGglMjB0aGVtLiUyMiUwQSUwQVRoaXMlMjBzaG91bGQlMjBnaXZlJTIweW91JTIwcGxlbnR5JTIwdG8lMjBkaXNjdXNzJTIwd2l0aCUyMERyLiUyMFRlc2xhJTIwd2hpbGUlMjBkZW1vbnN0cmF0aW5nJTIweW91ciUyMGtub3dsZWRnZSUyMG9mJTIwaGlzJTIwaW50ZXJlc3RzJTIwYW5kJTIwcmVjZW50JTIwZGV2ZWxvcG1lbnRzJTIwaW4lMjBoaXMlMjBmaWVsZC4=",highlighted:`🎩 Alfred<span class="hljs-comment">&#x27;s Response:</span>
I<span class="hljs-comment">&#x27;ve gathered information to help you prepare for your conversation with Dr. Nikola Tesla.</span>

Guest Information:
<span class="hljs-symbol">Name:</span> Dr. Nikola Tesla
<span class="hljs-symbol">Relation:</span> old <span class="hljs-keyword">friend</span> <span class="hljs-keyword">from</span> university days
<span class="hljs-symbol">Description:</span> Dr. Nikola Tesla <span class="hljs-built_in">is</span> an old <span class="hljs-keyword">friend</span> <span class="hljs-keyword">from</span> your university days. He<span class="hljs-comment">&#x27;s recently patented a new wireless energy transmission system and would be delighted to discuss it with you. Just remember he&#x27;s passionate about pigeons, so that might make for good small talk.</span>
<span class="hljs-symbol">Email:</span> nikola.tesla@gmail.com

Recent Advancements <span class="hljs-keyword">in</span> Wireless Energy:
Based <span class="hljs-keyword">on</span> my web search, here are some recent developments <span class="hljs-keyword">in</span> wireless energy transmission:
<span class="hljs-number">1</span>. Researchers have made progress <span class="hljs-keyword">in</span> <span class="hljs-type">long</span>-range wireless power transmission <span class="hljs-keyword">using</span> focused electromagnetic waves
<span class="hljs-number">2</span>. Several companies are developing resonant inductive coupling technologies <span class="hljs-keyword">for</span> consumer electronics
<span class="hljs-number">3</span>. There are <span class="hljs-built_in">new</span> applications <span class="hljs-keyword">in</span> electric vehicle charging without physical connections

Conversation Starters:
<span class="hljs-number">1</span>. <span class="hljs-string">&quot;I&#x27;d love to hear about your new patent on wireless energy transmission. How does it compare to your original concepts from our university days?&quot;</span>
<span class="hljs-number">2</span>. <span class="hljs-string">&quot;Have you seen the recent developments in resonant inductive coupling for consumer electronics? What do you think of their approach?&quot;</span>
<span class="hljs-number">3</span>. <span class="hljs-string">&quot;How are your pigeons doing? I remember your fascination with them.&quot;</span>

This should give you plenty <span class="hljs-keyword">to</span> discuss <span class="hljs-keyword">with</span> Dr. Tesla <span class="hljs-keyword">while</span> demonstrating your knowledge <span class="hljs-keyword">of</span> his interests <span class="hljs-built_in">and</span> recent developments <span class="hljs-keyword">in</span> his field.`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Ns(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cXVlcnklMjAlM0QlMjAlMjJJJTIwbmVlZCUyMHRvJTIwc3BlYWslMjB3aXRoJTIwRHIuJTIwTmlrb2xhJTIwVGVzbGElMjBhYm91dCUyMHJlY2VudCUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBlbmVyZ3kuJTIwQ2FuJTIweW91JTIwaGVscCUyMG1lJTIwcHJlcGFyZSUyMGZvciUyMHRoaXMlMjBjb252ZXJzYXRpb24lM0YlMjIlMEFyZXNwb25zZSUyMCUzRCUyMGF3YWl0JTIwYWxmcmVkLnJ1bihxdWVyeSklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlKQ==",highlighted:`query = <span class="hljs-string">&quot;I need to speak with Dr. Nikola Tesla about recent advancements in wireless energy. Can you help me prepare for this conversation?&quot;</span>
response = <span class="hljs-keyword">await</span> alfred.run(query)

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response)`,wrap:!1}}),a=new Z({props:{code:"JUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUwQUhlcmUlMjBhcmUlMjBzb21lJTIwcmVjZW50JTIwYWR2YW5jZW1lbnRzJTIwaW4lMjB3aXJlbGVzcyUyMGVuZXJneSUyMHRoYXQlMjB5b3UlMjBtaWdodCUyMGZpbmQlMjB1c2VmdWwlMjBmb3IlMjB5b3VyJTIwY29udmVyc2F0aW9uJTIwd2l0aCUyMERyLiUyME5pa29sYSUyMFRlc2xhJTNBJTBBJTBBMS4lMjAqKkFkdmFuY2VtZW50cyUyMGFuZCUyMENoYWxsZW5nZXMlMjBpbiUyMFdpcmVsZXNzJTIwUG93ZXIlMjBUcmFuc2ZlcioqJTNBJTIwVGhpcyUyMGFydGljbGUlMjBkaXNjdXNzZXMlMjB0aGUlMjBldm9sdXRpb24lMjBvZiUyMHdpcmVsZXNzJTIwcG93ZXIlMjB0cmFuc2ZlciUyMChXUFQpJTIwZnJvbSUyMGNvbnZlbnRpb25hbCUyMHdpcmVkJTIwbWV0aG9kcyUyMHRvJTIwbW9kZXJuJTIwYXBwbGljYXRpb25zJTJDJTIwaW5jbHVkaW5nJTIwc29sYXIlMjBzcGFjZSUyMHBvd2VyJTIwc3RhdGlvbnMuJTIwSXQlMjBoaWdobGlnaHRzJTIwdGhlJTIwaW5pdGlhbCUyMGZvY3VzJTIwb24lMjBtaWNyb3dhdmUlMjB0ZWNobm9sb2d5JTIwYW5kJTIwdGhlJTIwY3VycmVudCUyMGRlbWFuZCUyMGZvciUyMFdQVCUyMGR1ZSUyMHRvJTIwdGhlJTIwcmlzZSUyMG9mJTIwZWxlY3RyaWMlMjBkZXZpY2VzLiUwQSUwQTIuJTIwKipSZWNlbnQlMjBBZHZhbmNlcyUyMGluJTIwV2lyZWxlc3MlMjBFbmVyZ3klMjBUcmFuc2ZlciUyMFRlY2hub2xvZ2llcyUyMGZvciUyMEJvZHktSW50ZXJmYWNlZCUyMEVsZWN0cm9uaWNzKiolM0ElMjBUaGlzJTIwYXJ0aWNsZSUyMGV4cGxvcmVzJTIwd2lyZWxlc3MlMjBlbmVyZ3klMjB0cmFuc2ZlciUyMChXRVQpJTIwYXMlMjBhJTIwc29sdXRpb24lMjBmb3IlMjBwb3dlcmluZyUyMGJvZHktaW50ZXJmYWNlZCUyMGVsZWN0cm9uaWNzJTIwd2l0aG91dCUyMHRoZSUyMG5lZWQlMjBmb3IlMjBiYXR0ZXJpZXMlMjBvciUyMGxlYWQlMjB3aXJlcy4lMjBJdCUyMGRpc2N1c3NlcyUyMHRoZSUyMGFkdmFudGFnZXMlMjBhbmQlMjBwb3RlbnRpYWwlMjBhcHBsaWNhdGlvbnMlMjBvZiUyMFdFVCUyMGluJTIwdGhpcyUyMGNvbnRleHQuJTBBJTBBMy4lMjAqKldpcmVsZXNzJTIwUG93ZXIlMjBUcmFuc2ZlciUyMGFuZCUyMEVuZXJneSUyMEhhcnZlc3RpbmclM0ElMjBDdXJyZW50JTIwU3RhdHVzJTIwYW5kJTIwRnV0dXJlJTIwVHJlbmRzKiolM0ElMjBUaGlzJTIwYXJ0aWNsZSUyMHByb3ZpZGVzJTIwYW4lMjBvdmVydmlldyUyMG9mJTIwcmVjZW50JTIwYWR2YW5jZXMlMjBpbiUyMHdpcmVsZXNzJTIwcG93ZXIlMjBzdXBwbHklMjBtZXRob2RzJTJDJTIwaW5jbHVkaW5nJTIwZW5lcmd5JTIwaGFydmVzdGluZyUyMGFuZCUyMHdpcmVsZXNzJTIwcG93ZXIlMjB0cmFuc2Zlci4lMjBJdCUyMHByZXNlbnRzJTIwc2V2ZXJhbCUyMHByb21pc2luZyUyMGFwcGxpY2F0aW9ucyUyMGFuZCUyMGRpc2N1c3NlcyUyMGZ1dHVyZSUyMHRyZW5kcyUyMGluJTIwdGhlJTIwZmllbGQuJTBBJTBBNC4lMjAqKldpcmVsZXNzJTIwUG93ZXIlMjBUcmFuc2ZlciUzQSUyMEFwcGxpY2F0aW9ucyUyQyUyMENoYWxsZW5nZXMlMkMlMjBCYXJyaWVycyUyQyUyMGFuZCUyMHRoZQ==",highlighted:`🎩 Alfred&#x27;s Response:
Here are <span class="hljs-keyword">some</span> recent advancements <span class="hljs-keyword">in</span> wireless energy <span class="hljs-keyword">that</span> you might find useful <span class="hljs-keyword">for</span> your conversation <span class="hljs-keyword">with</span> Dr. Nikola Tesla:

<span class="hljs-number">1.</span> **Advancements <span class="hljs-keyword">and</span> Challenges <span class="hljs-keyword">in</span> Wireless Power Transfer**: This article discusses <span class="hljs-keyword">the</span> evolution <span class="hljs-keyword">of</span> wireless power transfer (WPT) <span class="hljs-keyword">from</span> conventional wired methods <span class="hljs-keyword">to</span> modern applications, including solar <span class="hljs-literal">space</span> power stations. It highlights <span class="hljs-keyword">the</span> initial focus <span class="hljs-keyword">on</span> microwave technology <span class="hljs-keyword">and</span> <span class="hljs-keyword">the</span> current demand <span class="hljs-keyword">for</span> WPT due <span class="hljs-keyword">to</span> <span class="hljs-keyword">the</span> rise <span class="hljs-keyword">of</span> electric devices.

<span class="hljs-number">2.</span> **Recent Advances <span class="hljs-keyword">in</span> Wireless Energy Transfer Technologies <span class="hljs-keyword">for</span> Body-Interfaced Electronics**: This article explores wireless energy transfer (WET) <span class="hljs-keyword">as</span> a solution <span class="hljs-keyword">for</span> powering body-interfaced electronics <span class="hljs-keyword">without</span> <span class="hljs-keyword">the</span> need <span class="hljs-keyword">for</span> batteries <span class="hljs-keyword">or</span> lead wires. It discusses <span class="hljs-keyword">the</span> advantages <span class="hljs-keyword">and</span> potential applications <span class="hljs-keyword">of</span> WET <span class="hljs-keyword">in</span> this context.

<span class="hljs-number">3.</span> **Wireless Power Transfer <span class="hljs-keyword">and</span> Energy Harvesting: Current Status <span class="hljs-keyword">and</span> Future Trends**: This article provides an overview <span class="hljs-keyword">of</span> recent advances <span class="hljs-keyword">in</span> wireless power supply methods, including energy harvesting <span class="hljs-keyword">and</span> wireless power transfer. It presents several promising applications <span class="hljs-keyword">and</span> discusses future trends <span class="hljs-keyword">in</span> <span class="hljs-keyword">the</span> field.

<span class="hljs-number">4.</span> **Wireless Power Transfer: Applications, Challenges, Barriers, <span class="hljs-keyword">and</span> <span class="hljs-keyword">the</span>`,wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Fs(U){let t,p,e,m="Expected output:",o,a,s;return t=new Z({props:{code:"cmVzcG9uc2UlMjAlM0QlMjBhbGZyZWQuaW52b2tlKCU3QiUyMm1lc3NhZ2VzJTIyJTNBJTIySSUyMG5lZWQlMjB0byUyMHNwZWFrJTIwd2l0aCUyMCdEci4lMjBOaWtvbGElMjBUZXNsYSclMjBhYm91dCUyMHJlY2VudCUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBlbmVyZ3kuJTIwQ2FuJTIweW91JTIwaGVscCUyMG1lJTIwcHJlcGFyZSUyMGZvciUyMHRoaXMlMjBjb252ZXJzYXRpb24lM0YlMjIlN0QpJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZSU1QidtZXNzYWdlcyclNUQlNUItMSU1RC5jb250ZW50KQ==",highlighted:`response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>:<span class="hljs-string">&quot;I need to speak with &#x27;Dr. Nikola Tesla&#x27; about recent advancements in wireless energy. Can you help me prepare for this conversation?&quot;</span>})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),a=new Z({props:{code:"QmFzZWQlMjBvbiUyMHRoZSUyMHByb3ZpZGVkJTIwaW5mb3JtYXRpb24lMkMlMjBoZXJlJTIwYXJlJTIwa2V5JTIwcG9pbnRzJTIwdG8lMjBwcmVwYXJlJTIwZm9yJTIwdGhlJTIwY29udmVyc2F0aW9uJTIwd2l0aCUyMCdEci4lMjBOaWtvbGElMjBUZXNsYSclMjBhYm91dCUyMHJlY2VudCUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBlbmVyZ3klM0ElNUNuMS4lMjAqKldpcmVsZXNzJTIwUG93ZXIlMjBUcmFuc21pc3Npb24lMjAoV1BUKSUzQSoqJTIwRGlzY3VzcyUyMGhvdyUyMFdQVCUyMHJldm9sdXRpb25pemVzJTIwZW5lcmd5JTIwdHJhbnNmZXIlMjBieSUyMGVsaW1pbmF0aW5nJTIwdGhlJTIwbmVlZCUyMGZvciUyMGNvcmRzJTIwYW5kJTIwbGV2ZXJhZ2luZyUyMG1lY2hhbmlzbXMlMjBsaWtlJTIwaW5kdWN0aXZlJTIwYW5kJTIwcmVzb25hbnQlMjBjb3VwbGluZy4lNUNuMi4lMjAqKkFkdmFuY2VtZW50cyUyMGluJTIwV2lyZWxlc3MlMjBDaGFyZ2luZyUzQSoqJTIwSGlnaGxpZ2h0JTIwaW1wcm92ZW1lbnRzJTIwaW4lMjBlZmZpY2llbmN5JTJDJTIwZmFzdGVyJTIwY2hhcmdpbmclMjBzcGVlZHMlMkMlMjBhbmQlMjB0aGUlMjByaXNlJTIwb2YlMjBRaSUyRlFpMiUyMGNlcnRpZmllZCUyMHdpcmVsZXNzJTIwY2hhcmdpbmclMjBzb2x1dGlvbnMuJTVDbjMuJTIwKio1Ry1BZHZhbmNlZCUyMElubm92YXRpb25zJTIwYW5kJTIwTmVhckxpbmslMjBXaXJlbGVzcyUyMFByb3RvY29sJTNBKiolMjBNZW50aW9uJTIwdGhlc2UlMjBhcyUyMGRldmVsb3BtZW50cyUyMHRoYXQlMjBlbmhhbmNlJTIwc3BlZWQlMkMlMjBzZWN1cml0eSUyQyUyMGFuZCUyMGVmZmljaWVuY3klMjBpbiUyMHdpcmVsZXNzJTIwbmV0d29ya3MlMkMlMjB3aGljaCUyMGNhbiUyMHN1cHBvcnQlMjBhZHZhbmNlZCUyMHdpcmVsZXNzJTIwZW5lcmd5JTIwdGVjaG5vbG9naWVzLiU1Q240LiUyMCoqQUklMjBhbmQlMjBNTCUyMGF0JTIwdGhlJTIwRWRnZSUzQSoqJTIwVGFsayUyMGFib3V0JTIwaG93JTIwQUklMjBhbmQlMjBtYWNoaW5lJTIwbGVhcm5pbmclMjB3aWxsJTIwcmVseSUyMG9uJTIwd2lyZWxlc3MlMjBuZXR3b3JrcyUyMHRvJTIwYnJpbmclMjBpbnRlbGxpZ2VuY2UlMjB0byUyMHRoZSUyMGVkZ2UlMkMlMjBlbmhhbmNpbmclMjBhdXRvbWF0aW9uJTIwYW5kJTIwaW50ZWxsaWdlbmNlJTIwaW4lMjBzbWFydCUyMGhvbWVzJTIwYW5kJTIwYnVpbGRpbmdzLiU1Q241LiUyMCoqTWF0dGVyJTJDJTIwVGhyZWFkJTJDJTIwYW5kJTIwU2VjdXJpdHklMjBBZHZhbmNlbWVudHMlM0EqKiUyMERpc2N1c3MlMjB0aGVzZSUyMGFzJTIwa2V5JTIwaW5ub3ZhdGlvbnMlMjB0aGF0JTIwZHJpdmUlMjBjb25uZWN0aXZpdHklMkMlMjBlZmZpY2llbmN5JTJDJTIwYW5kJTIwc2VjdXJpdHklMjBpbiUyMElvVCUyMGRldmljZXMlMjBhbmQlMjBzeXN0ZW1zLiU1Q242LiUyMCoqQnJlYWt0aHJvdWdocyUyMGluJTIwV2lyZWxlc3MlMjBDaGFyZ2luZyUyMFRlY2hub2xvZ3klM0EqKiUyMEluY2x1ZGUlMjBhbnklMjByZWNlbnQlMjBicmVha3Rocm91Z2hzJTIwb3IlMjBzdHVkaWVzJTJDJTIwc3VjaCUyMGFzJTIwdGhlJTIwb25lJTIwZnJvbSUyMEluY2hlb24lMjBOYXRpb25hbCUyMFVuaXZlcnNpdHklMkMlMjB0byUyMHN1YnN0YW50aWF0ZSUyMHRoZSUyMGFkdmFuY2VtZW50cyUyMGluJTIwd2lyZWxlc3MlMjBjaGFyZ2luZy4=",highlighted:'Based <span class="hljs-keyword">on</span> the provided information, here are <span class="hljs-keyword">key</span> points <span class="hljs-keyword">to</span> prepare <span class="hljs-keyword">for</span> the conversation <span class="hljs-keyword">with</span> <span class="hljs-comment">&#x27;Dr. Nikola Tesla&#x27; about recent advancements in wireless energy:\\n1. **Wireless Power Transmission (WPT):** Discuss how WPT revolutionizes energy transfer by eliminating the need for cords and leveraging mechanisms like inductive and resonant coupling.\\n2. **Advancements in Wireless Charging:** Highlight improvements in efficiency, faster charging speeds, and the rise of Qi/Qi2 certified wireless charging solutions.\\n3. **5G-Advanced Innovations and NearLink Wireless Protocol:** Mention these as developments that enhance speed, security, and efficiency in wireless networks, which can support advanced wireless energy technologies.\\n4. **AI and ML at the Edge:** Talk about how AI and machine learning will rely on wireless networks to bring intelligence to the edge, enhancing automation and intelligence in smart homes and buildings.\\n5. **Matter, Thread, and Security Advancements:** Discuss these as key innovations that drive connectivity, efficiency, and security in IoT devices and systems.\\n6. **Breakthroughs in Wireless Charging Technology:** Include any recent breakthroughs or studies, such as the one from Incheon National University, to substantiate the advancements in wireless charging.</span>',wrap:!1}}),{c(){d(t.$$.fragment),p=y(),e=T("p"),e.textContent=m,o=y(),d(a.$$.fragment)},l(l){J(t.$$.fragment,l),p=w(l),e=f(l,"P",{"data-svelte-h":!0}),B(e)!=="svelte-15t3xg7"&&(e.textContent=m),o=w(l),J(a.$$.fragment,l)},m(l,i){h(t,l,i),M(l,p,i),M(l,e,i),M(l,o,i),h(a,l,i),s=!0},p:g,i(l){s||(u(t.$$.fragment,l),u(a.$$.fragment,l),s=!0)},o(l){j(t.$$.fragment,l),j(a.$$.fragment,l),s=!1},d(l){l&&(r(p),r(e),r(o)),b(t,l),b(a,l)}}}function Qs(U){let t,p,e,m,o,a;return t=new $({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[Rs]},$$scope:{ctx:U}}}),e=new $({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[Ns]},$$scope:{ctx:U}}}),o=new $({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[Fs]},$$scope:{ctx:U}}}),{c(){d(t.$$.fragment),p=y(),d(e.$$.fragment),m=y(),d(o.$$.fragment)},l(s){J(t.$$.fragment,s),p=w(s),J(e.$$.fragment,s),m=w(s),J(o.$$.fragment,s)},m(s,l){h(t,s,l),M(s,p,l),h(e,s,l),M(s,m,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),t.$set(i);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),e.$set(G);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),o.$set(I)},i(s){a||(u(t.$$.fragment,s),u(e.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(t.$$.fragment,s),j(e.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(m)),b(t,s),b(e,s),b(o,s)}}}function Ys(U){let t,p;return t=new Z({props:{code:"JTIzJTIwQ3JlYXRlJTIwQWxmcmVkJTIwd2l0aCUyMGNvbnZlcnNhdGlvbiUyMG1lbW9yeSUwQWFsZnJlZF93aXRoX21lbW9yeSUyMCUzRCUyMENvZGVBZ2VudCglMEElMjAlMjAlMjAlMjB0b29scyUzRCU1Qmd1ZXN0X2luZm9fdG9vbCUyQyUyMHdlYXRoZXJfaW5mb190b29sJTJDJTIwaHViX3N0YXRzX3Rvb2wlMkMlMjBzZWFyY2hfdG9vbCU1RCUyQyUyMCUwQSUyMCUyMCUyMCUyMG1vZGVsJTNEbW9kZWwlMkMlMEElMjAlMjAlMjAlMjBhZGRfYmFzZV90b29scyUzRFRydWUlMkMlMEElMjAlMjAlMjAlMjBwbGFubmluZ19pbnRlcnZhbCUzRDMlMEEpJTBBJTBBJTIzJTIwRmlyc3QlMjBpbnRlcmFjdGlvbiUwQXJlc3BvbnNlMSUyMCUzRCUyMGFsZnJlZF93aXRoX21lbW9yeS5ydW4oJTIyVGVsbCUyMG1lJTIwYWJvdXQlMjBMYWR5JTIwQWRhJTIwTG92ZWxhY2UuJTIyKSUwQXByaW50KCUyMiVGMCU5RiU4RSVBOSUyMEFsZnJlZCdzJTIwRmlyc3QlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZTEpJTBBJTBBJTIzJTIwU2Vjb25kJTIwaW50ZXJhY3Rpb24lMjAocmVmZXJlbmNpbmclMjB0aGUlMjBmaXJzdCklMEFyZXNwb25zZTIlMjAlM0QlMjBhbGZyZWRfd2l0aF9tZW1vcnkucnVuKCUyMldoYXQlMjBwcm9qZWN0cyUyMGlzJTIwc2hlJTIwY3VycmVudGx5JTIwd29ya2luZyUyMG9uJTNGJTIyJTJDJTIwcmVzZXQlM0RGYWxzZSklMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFNlY29uZCUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlMik=",highlighted:`<span class="hljs-comment"># Create Alfred with conversation memory</span>
alfred_with_memory = CodeAgent(
    tools=[guest_info_tool, weather_info_tool, hub_stats_tool, search_tool], 
    model=model,
    add_base_tools=<span class="hljs-literal">True</span>,
    planning_interval=<span class="hljs-number">3</span>
)

<span class="hljs-comment"># First interaction</span>
response1 = alfred_with_memory.run(<span class="hljs-string">&quot;Tell me about Lady Ada Lovelace.&quot;</span>)
<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s First Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response1)

<span class="hljs-comment"># Second interaction (referencing the first)</span>
response2 = alfred_with_memory.run(<span class="hljs-string">&quot;What projects is she currently working on?&quot;</span>, reset=<span class="hljs-literal">False</span>)
<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Second Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response2)`,wrap:!1}}),{c(){d(t.$$.fragment)},l(e){J(t.$$.fragment,e)},m(e,m){h(t,e,m),p=!0},p:g,i(e){p||(u(t.$$.fragment,e),p=!0)},o(e){j(t.$$.fragment,e),p=!1},d(e){b(t,e)}}}function zs(U){let t,p;return t=new Z({props:{code:"ZnJvbSUyMGxsYW1hX2luZGV4LmNvcmUud29ya2Zsb3clMjBpbXBvcnQlMjBDb250ZXh0JTBBJTBBYWxmcmVkJTIwJTNEJTIwQWdlbnRXb3JrZmxvdy5mcm9tX3Rvb2xzX29yX2Z1bmN0aW9ucyglMEElMjAlMjAlMjAlMjAlNUJndWVzdF9pbmZvX3Rvb2wlMkMlMjBzZWFyY2hfdG9vbCUyQyUyMHdlYXRoZXJfaW5mb190b29sJTJDJTIwaHViX3N0YXRzX3Rvb2wlNUQlMkMlMEElMjAlMjAlMjAlMjBsbG0lM0RsbG0lMEEpJTBBJTBBJTIzJTIwUmVtZW1iZXJpbmclMjBzdGF0ZSUwQWN0eCUyMCUzRCUyMENvbnRleHQoYWxmcmVkKSUwQSUwQSUyMyUyMEZpcnN0JTIwaW50ZXJhY3Rpb24lMEFyZXNwb25zZTElMjAlM0QlMjBhd2FpdCUyMGFsZnJlZC5ydW4oJTIyVGVsbCUyMG1lJTIwYWJvdXQlMjBMYWR5JTIwQWRhJTIwTG92ZWxhY2UuJTIyJTJDJTIwY3R4JTNEY3R4KSUwQXByaW50KCUyMiVGMCU5RiU4RSVBOSUyMEFsZnJlZCdzJTIwRmlyc3QlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZTEpJTBBJTBBJTIzJTIwU2Vjb25kJTIwaW50ZXJhY3Rpb24lMjAocmVmZXJlbmNpbmclMjB0aGUlMjBmaXJzdCklMEFyZXNwb25zZTIlMjAlM0QlMjBhd2FpdCUyMGFsZnJlZC5ydW4oJTIyV2hhdCUyMHByb2plY3RzJTIwaXMlMjBzaGUlMjBjdXJyZW50bHklMjB3b3JraW5nJTIwb24lM0YlMjIlMkMlMjBjdHglM0RjdHgpJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBTZWNvbmQlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZTIp",highlighted:`<span class="hljs-keyword">from</span> llama_index.core.workflow <span class="hljs-keyword">import</span> Context

alfred = AgentWorkflow.from_tools_or_functions(
    [guest_info_tool, search_tool, weather_info_tool, hub_stats_tool],
    llm=llm
)

<span class="hljs-comment"># Remembering state</span>
ctx = Context(alfred)

<span class="hljs-comment"># First interaction</span>
response1 = <span class="hljs-keyword">await</span> alfred.run(<span class="hljs-string">&quot;Tell me about Lady Ada Lovelace.&quot;</span>, ctx=ctx)
<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s First Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response1)

<span class="hljs-comment"># Second interaction (referencing the first)</span>
response2 = <span class="hljs-keyword">await</span> alfred.run(<span class="hljs-string">&quot;What projects is she currently working on?&quot;</span>, ctx=ctx)
<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Second Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response2)`,wrap:!1}}),{c(){d(t.$$.fragment)},l(e){J(t.$$.fragment,e)},m(e,m){h(t,e,m),p=!0},p:g,i(e){p||(u(t.$$.fragment,e),p=!0)},o(e){j(t.$$.fragment,e),p=!1},d(e){b(t,e)}}}function xs(U){let t,p;return t=new Z({props:{code:"JTIzJTIwRmlyc3QlMjBpbnRlcmFjdGlvbiUwQXJlc3BvbnNlJTIwJTNEJTIwYWxmcmVkLmludm9rZSglN0IlMjJtZXNzYWdlcyUyMiUzQSUyMCU1Qkh1bWFuTWVzc2FnZShjb250ZW50JTNEJTIyVGVsbCUyMG1lJTIwYWJvdXQlMjAnTGFkeSUyMEFkYSUyMExvdmVsYWNlJy4lMjBXaGF0J3MlMjBoZXIlMjBiYWNrZ3JvdW5kJTIwYW5kJTIwaG93JTIwaXMlMjBzaGUlMjByZWxhdGVkJTIwdG8lMjBtZSUzRiUyMiklNUQlN0QpJTBBJTBBJTBBcHJpbnQoJTIyJUYwJTlGJThFJUE5JTIwQWxmcmVkJ3MlMjBSZXNwb25zZSUzQSUyMiklMEFwcmludChyZXNwb25zZSU1QidtZXNzYWdlcyclNUQlNUItMSU1RC5jb250ZW50KSUwQXByaW50KCklMEElMEElMjMlMjBTZWNvbmQlMjBpbnRlcmFjdGlvbiUyMChyZWZlcmVuY2luZyUyMHRoZSUyMGZpcnN0KSUwQXJlc3BvbnNlJTIwJTNEJTIwYWxmcmVkLmludm9rZSglN0IlMjJtZXNzYWdlcyUyMiUzQSUyMHJlc3BvbnNlJTVCJTIybWVzc2FnZXMlMjIlNUQlMjAlMkIlMjAlNUJIdW1hbk1lc3NhZ2UoY29udGVudCUzRCUyMldoYXQlMjBwcm9qZWN0cyUyMGlzJTIwc2hlJTIwY3VycmVudGx5JTIwd29ya2luZyUyMG9uJTNGJTIyKSU1RCU3RCklMEElMEFwcmludCglMjIlRjAlOUYlOEUlQTklMjBBbGZyZWQncyUyMFJlc3BvbnNlJTNBJTIyKSUwQXByaW50KHJlc3BvbnNlJTVCJ21lc3NhZ2VzJyU1RCU1Qi0xJTVELmNvbnRlbnQp",highlighted:`<span class="hljs-comment"># First interaction</span>
response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: [HumanMessage(content=<span class="hljs-string">&quot;Tell me about &#x27;Lady Ada Lovelace&#x27;. What&#x27;s her background and how is she related to me?&quot;</span>)]})


<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)
<span class="hljs-built_in">print</span>()

<span class="hljs-comment"># Second interaction (referencing the first)</span>
response = alfred.invoke({<span class="hljs-string">&quot;messages&quot;</span>: response[<span class="hljs-string">&quot;messages&quot;</span>] + [HumanMessage(content=<span class="hljs-string">&quot;What projects is she currently working on?&quot;</span>)]})

<span class="hljs-built_in">print</span>(<span class="hljs-string">&quot;🎩 Alfred&#x27;s Response:&quot;</span>)
<span class="hljs-built_in">print</span>(response[<span class="hljs-string">&#x27;messages&#x27;</span>][-<span class="hljs-number">1</span>].content)`,wrap:!1}}),{c(){d(t.$$.fragment)},l(e){J(t.$$.fragment,e)},m(e,m){h(t,e,m),p=!0},p:g,i(e){p||(u(t.$$.fragment,e),p=!0)},o(e){j(t.$$.fragment,e),p=!1},d(e){b(t,e)}}}function Ss(U){let t,p,e,m,o,a;return t=new $({props:{id:"agents-frameworks",option:"smolagents",$$slots:{default:[Ys]},$$scope:{ctx:U}}}),e=new $({props:{id:"agents-frameworks",option:"llama-index",$$slots:{default:[zs]},$$scope:{ctx:U}}}),o=new $({props:{id:"agents-frameworks",option:"langgraph",$$slots:{default:[xs]},$$scope:{ctx:U}}}),{c(){d(t.$$.fragment),p=y(),d(e.$$.fragment),m=y(),d(o.$$.fragment)},l(s){J(t.$$.fragment,s),p=w(s),J(e.$$.fragment,s),m=w(s),J(o.$$.fragment,s)},m(s,l){h(t,s,l),M(s,p,l),h(e,s,l),M(s,m,l),h(o,s,l),a=!0},p(s,l){const i={};l&2&&(i.$$scope={dirty:l,ctx:s}),t.$set(i);const G={};l&2&&(G.$$scope={dirty:l,ctx:s}),e.$set(G);const I={};l&2&&(I.$$scope={dirty:l,ctx:s}),o.$set(I)},i(s){a||(u(t.$$.fragment,s),u(e.$$.fragment,s),u(o.$$.fragment,s),a=!0)},o(s){j(t.$$.fragment,s),j(e.$$.fragment,s),j(o.$$.fragment,s),a=!1},d(s){s&&(r(p),r(m)),b(t,s),b(e,s),b(o,s)}}}function Es(U){let t,p,e,m,o,a,s,l,i,G="Now that we’ve built all the necessary components for Alfred, it’s time to bring everything together into a complete agent that can help host our extravagant gala.",I,F,Sl="In this section, we’ll combine the guest information retrieval, web search, weather information, and Hub stats tools into a single powerful agent.",Ml,Q,cl,Y,El="Instead of reimplementing all the tools we’ve created in previous sections, we’ll import them from their respective modules which we saved in the <code>tools.py</code> and <code>retriever.py</code> files.",ml,k,Hl='<p>If you haven’t implemented the tools yet, go back to the <a href="./tools">tools</a> and <a href="./invitees">retriever</a> sections to implement them, and add them to the <code>tools.py</code> and <code>retriever.py</code> files.</p>',yl,z,_l="Let’s import the necessary libraries and tools from the previous sections:",wl,V,dl,x,Al="Your agent is now ready to use!",Jl,S,hl,E,ql="Now that Alfred is fully equipped with all the necessary tools, let’s see how he can help with various tasks during the gala.",ul,H,jl,_,Ll="Let’s see how Alfred can help us with our guest information.",bl,v,Ul,A,Tl,q,Dl="Let’s see how Alfred can help us with the weather.",fl,X,Zl,L,Bl,D,Kl="Let’s see how Alfred can help us impress AI researchers.",Il,C,Gl,K,$l,P,Pl="Let’s see how Alfred can help us prepare for a conversation with Dr. Nikola Tesla.",gl,R,Wl,O,kl,ll,Ol="To make Alfred even more helpful during the gala, we can enable conversation memory so he remembers previous interactions:",Vl,N,vl,sl,ls="Notice that none of these three agent approaches directly couple memory with the agent. Is there a specific reason for this design choice 🧐?",Xl,el,ss='<li>smolagents: Memory is not preserved across different execution runs, you must explicitly state it using <code>reset=False</code>.</li> <li>LlamaIndex: Requires explicitly adding a context object for memory management within a run.</li> <li>LangGraph: Offers options to retrieve previous messages or utilize a dedicated <a href="https://langchain-ai.github.io/langgraph/tutorials/introduction/#part-3-adding-memory-to-the-chatbot" rel="nofollow">MemorySaver</a> component.</li>',Cl,tl,Rl,nl,es="Congratulations! You’ve successfully built Alfred, a sophisticated agent equipped with multiple tools to help host the most extravagant gala of the century. Alfred can now:",Nl,al,ts="<li>Retrieve detailed information about guests</li> <li>Check weather conditions for planning outdoor activities</li> <li>Provide insights about influential AI builders and their models</li> <li>Search the web for the latest information</li> <li>Maintain conversation context with memory</li>",Fl,ol,ns="With these capabilities, Alfred is ready to ensure your gala is a resounding success, impressing guests with personalized attention and up-to-date information.",Ql,pl,Yl,il,zl;return o=new us({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),s=new W({props:{title:"Creating Your Gala Agent",local:"creating-your-gala-agent",headingTag:"h1"}}),Q=new W({props:{title:"Assembling Alfred: The Complete Agent",local:"assembling-alfred-the-complete-agent",headingTag:"h2"}}),V=new rl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[fs]},$$scope:{ctx:U}}}),S=new W({props:{title:"Using Alfred: End-to-End Examples",local:"using-alfred-end-to-end-examples",headingTag:"h2"}}),H=new W({props:{title:"Example 1: Finding Guest Information",local:"example-1-finding-guest-information",headingTag:"h3"}}),v=new rl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[Gs]},$$scope:{ctx:U}}}),A=new W({props:{title:"Example 2: Checking the Weather for Fireworks",local:"example-2-checking-the-weather-for-fireworks",headingTag:"h3"}}),X=new rl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[ks]},$$scope:{ctx:U}}}),L=new W({props:{title:"Example 3: Impressing AI Researchers",local:"example-3-impressing-ai-researchers",headingTag:"h3"}}),C=new rl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[Cs]},$$scope:{ctx:U}}}),K=new W({props:{title:"Example 4: Combining Multiple Tools",local:"example-4-combining-multiple-tools",headingTag:"h3"}}),R=new rl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[Qs]},$$scope:{ctx:U}}}),O=new W({props:{title:"Advanced Features: Conversation Memory",local:"advanced-features-conversation-memory",headingTag:"h2"}}),N=new rl({props:{id:"agents-frameworks",options:["smolagents","llama-index","langgraph"],$$slots:{default:[Ss]},$$scope:{ctx:U}}}),tl=new W({props:{title:"Conclusion",local:"conclusion",headingTag:"h2"}}),pl=new js({props:{source:"https://github.com/huggingface/agents-course/blob/main/units/en/unit3/agentic-rag/agent.mdx"}}),{c(){t=T("meta"),p=y(),e=T("p"),m=y(),d(o.$$.fragment),a=y(),d(s.$$.fragment),l=y(),i=T("p"),i.textContent=G,I=y(),F=T("p"),F.textContent=Sl,Ml=y(),d(Q.$$.fragment),cl=y(),Y=T("p"),Y.innerHTML=El,ml=y(),k=T("blockquote"),k.innerHTML=Hl,yl=y(),z=T("p"),z.textContent=_l,wl=y(),d(V.$$.fragment),dl=y(),x=T("p"),x.textContent=Al,Jl=y(),d(S.$$.fragment),hl=y(),E=T("p"),E.textContent=ql,ul=y(),d(H.$$.fragment),jl=y(),_=T("p"),_.textContent=Ll,bl=y(),d(v.$$.fragment),Ul=y(),d(A.$$.fragment),Tl=y(),q=T("p"),q.textContent=Dl,fl=y(),d(X.$$.fragment),Zl=y(),d(L.$$.fragment),Bl=y(),D=T("p"),D.textContent=Kl,Il=y(),d(C.$$.fragment),Gl=y(),d(K.$$.fragment),$l=y(),P=T("p"),P.textContent=Pl,gl=y(),d(R.$$.fragment),Wl=y(),d(O.$$.fragment),kl=y(),ll=T("p"),ll.textContent=Ol,Vl=y(),d(N.$$.fragment),vl=y(),sl=T("p"),sl.textContent=ls,Xl=y(),el=T("ul"),el.innerHTML=ss,Cl=y(),d(tl.$$.fragment),Rl=y(),nl=T("p"),nl.textContent=es,Nl=y(),al=T("ol"),al.innerHTML=ts,Fl=y(),ol=T("p"),ol.textContent=ns,Ql=y(),d(pl.$$.fragment),Yl=y(),il=T("p"),this.h()},l(n){const c=Js("svelte-u9bgzb",document.head);t=f(c,"META",{name:!0,content:!0}),c.forEach(r),p=w(n),e=f(n,"P",{}),cs(e).forEach(r),m=w(n),J(o.$$.fragment,n),a=w(n),J(s.$$.fragment,n),l=w(n),i=f(n,"P",{"data-svelte-h":!0}),B(i)!=="svelte-zy52na"&&(i.textContent=G),I=w(n),F=f(n,"P",{"data-svelte-h":!0}),B(F)!=="svelte-14br3fr"&&(F.textContent=Sl),Ml=w(n),J(Q.$$.fragment,n),cl=w(n),Y=f(n,"P",{"data-svelte-h":!0}),B(Y)!=="svelte-ymwr2s"&&(Y.innerHTML=El),ml=w(n),k=f(n,"BLOCKQUOTE",{class:!0,"data-svelte-h":!0}),B(k)!=="svelte-16ceqps"&&(k.innerHTML=Hl),yl=w(n),z=f(n,"P",{"data-svelte-h":!0}),B(z)!=="svelte-c7rmsv"&&(z.textContent=_l),wl=w(n),J(V.$$.fragment,n),dl=w(n),x=f(n,"P",{"data-svelte-h":!0}),B(x)!=="svelte-14v72pw"&&(x.textContent=Al),Jl=w(n),J(S.$$.fragment,n),hl=w(n),E=f(n,"P",{"data-svelte-h":!0}),B(E)!=="svelte-9tzza2"&&(E.textContent=ql),ul=w(n),J(H.$$.fragment,n),jl=w(n),_=f(n,"P",{"data-svelte-h":!0}),B(_)!=="svelte-q56lz7"&&(_.textContent=Ll),bl=w(n),J(v.$$.fragment,n),Ul=w(n),J(A.$$.fragment,n),Tl=w(n),q=f(n,"P",{"data-svelte-h":!0}),B(q)!=="svelte-hjmcxo"&&(q.textContent=Dl),fl=w(n),J(X.$$.fragment,n),Zl=w(n),J(L.$$.fragment,n),Bl=w(n),D=f(n,"P",{"data-svelte-h":!0}),B(D)!=="svelte-1jt87a9"&&(D.textContent=Kl),Il=w(n),J(C.$$.fragment,n),Gl=w(n),J(K.$$.fragment,n),$l=w(n),P=f(n,"P",{"data-svelte-h":!0}),B(P)!=="svelte-1ke07qy"&&(P.textContent=Pl),gl=w(n),J(R.$$.fragment,n),Wl=w(n),J(O.$$.fragment,n),kl=w(n),ll=f(n,"P",{"data-svelte-h":!0}),B(ll)!=="svelte-litl8p"&&(ll.textContent=Ol),Vl=w(n),J(N.$$.fragment,n),vl=w(n),sl=f(n,"P",{"data-svelte-h":!0}),B(sl)!=="svelte-wb8021"&&(sl.textContent=ls),Xl=w(n),el=f(n,"UL",{"data-svelte-h":!0}),B(el)!=="svelte-nvz4r2"&&(el.innerHTML=ss),Cl=w(n),J(tl.$$.fragment,n),Rl=w(n),nl=f(n,"P",{"data-svelte-h":!0}),B(nl)!=="svelte-dnx784"&&(nl.textContent=es),Nl=w(n),al=f(n,"OL",{"data-svelte-h":!0}),B(al)!=="svelte-1vc8vrh"&&(al.innerHTML=ts),Fl=w(n),ol=f(n,"P",{"data-svelte-h":!0}),B(ol)!=="svelte-kz905k"&&(ol.textContent=ns),Ql=w(n),J(pl.$$.fragment,n),Yl=w(n),il=f(n,"P",{}),cs(il).forEach(r),this.h()},h(){xl(t,"name","hf:doc:metadata"),xl(t,"content",Hs),xl(k,"class","tip")},m(n,c){hs(document.head,t),M(n,p,c),M(n,e,c),M(n,m,c),h(o,n,c),M(n,a,c),h(s,n,c),M(n,l,c),M(n,i,c),M(n,I,c),M(n,F,c),M(n,Ml,c),h(Q,n,c),M(n,cl,c),M(n,Y,c),M(n,ml,c),M(n,k,c),M(n,yl,c),M(n,z,c),M(n,wl,c),h(V,n,c),M(n,dl,c),M(n,x,c),M(n,Jl,c),h(S,n,c),M(n,hl,c),M(n,E,c),M(n,ul,c),h(H,n,c),M(n,jl,c),M(n,_,c),M(n,bl,c),h(v,n,c),M(n,Ul,c),h(A,n,c),M(n,Tl,c),M(n,q,c),M(n,fl,c),h(X,n,c),M(n,Zl,c),h(L,n,c),M(n,Bl,c),M(n,D,c),M(n,Il,c),h(C,n,c),M(n,Gl,c),h(K,n,c),M(n,$l,c),M(n,P,c),M(n,gl,c),h(R,n,c),M(n,Wl,c),h(O,n,c),M(n,kl,c),M(n,ll,c),M(n,Vl,c),h(N,n,c),M(n,vl,c),M(n,sl,c),M(n,Xl,c),M(n,el,c),M(n,Cl,c),h(tl,n,c),M(n,Rl,c),M(n,nl,c),M(n,Nl,c),M(n,al,c),M(n,Fl,c),M(n,ol,c),M(n,Ql,c),h(pl,n,c),M(n,Yl,c),M(n,il,c),zl=!0},p(n,[c]){const as={};c&2&&(as.$$scope={dirty:c,ctx:n}),V.$set(as);const os={};c&2&&(os.$$scope={dirty:c,ctx:n}),v.$set(os);const ps={};c&2&&(ps.$$scope={dirty:c,ctx:n}),X.$set(ps);const rs={};c&2&&(rs.$$scope={dirty:c,ctx:n}),C.$set(rs);const is={};c&2&&(is.$$scope={dirty:c,ctx:n}),R.$set(is);const Ms={};c&2&&(Ms.$$scope={dirty:c,ctx:n}),N.$set(Ms)},i(n){zl||(u(o.$$.fragment,n),u(s.$$.fragment,n),u(Q.$$.fragment,n),u(V.$$.fragment,n),u(S.$$.fragment,n),u(H.$$.fragment,n),u(v.$$.fragment,n),u(A.$$.fragment,n),u(X.$$.fragment,n),u(L.$$.fragment,n),u(C.$$.fragment,n),u(K.$$.fragment,n),u(R.$$.fragment,n),u(O.$$.fragment,n),u(N.$$.fragment,n),u(tl.$$.fragment,n),u(pl.$$.fragment,n),zl=!0)},o(n){j(o.$$.fragment,n),j(s.$$.fragment,n),j(Q.$$.fragment,n),j(V.$$.fragment,n),j(S.$$.fragment,n),j(H.$$.fragment,n),j(v.$$.fragment,n),j(A.$$.fragment,n),j(X.$$.fragment,n),j(L.$$.fragment,n),j(C.$$.fragment,n),j(K.$$.fragment,n),j(R.$$.fragment,n),j(O.$$.fragment,n),j(N.$$.fragment,n),j(tl.$$.fragment,n),j(pl.$$.fragment,n),zl=!1},d(n){n&&(r(p),r(e),r(m),r(a),r(l),r(i),r(I),r(F),r(Ml),r(cl),r(Y),r(ml),r(k),r(yl),r(z),r(wl),r(dl),r(x),r(Jl),r(hl),r(E),r(ul),r(jl),r(_),r(bl),r(Ul),r(Tl),r(q),r(fl),r(Zl),r(Bl),r(D),r(Il),r(Gl),r($l),r(P),r(gl),r(Wl),r(kl),r(ll),r(Vl),r(vl),r(sl),r(Xl),r(el),r(Cl),r(Rl),r(nl),r(Nl),r(al),r(Fl),r(ol),r(Ql),r(Yl),r(il)),r(t),b(o,n),b(s,n),b(Q,n),b(V,n),b(S,n),b(H,n),b(v,n),b(A,n),b(X,n),b(L,n),b(C,n),b(K,n),b(R,n),b(O,n),b(N,n),b(tl,n),b(pl,n)}}}const Hs='{"title":"Creating Your Gala Agent","local":"creating-your-gala-agent","sections":[{"title":"Assembling Alfred: The Complete Agent","local":"assembling-alfred-the-complete-agent","sections":[],"depth":2},{"title":"Using Alfred: End-to-End Examples","local":"using-alfred-end-to-end-examples","sections":[{"title":"Example 1: Finding Guest Information","local":"example-1-finding-guest-information","sections":[],"depth":3},{"title":"Example 2: Checking the Weather for Fireworks","local":"example-2-checking-the-weather-for-fireworks","sections":[],"depth":3},{"title":"Example 3: Impressing AI Researchers","local":"example-3-impressing-ai-researchers","sections":[],"depth":3},{"title":"Example 4: Combining Multiple Tools","local":"example-4-combining-multiple-tools","sections":[],"depth":3}],"depth":2},{"title":"Advanced Features: Conversation Memory","local":"advanced-features-conversation-memory","sections":[],"depth":2},{"title":"Conclusion","local":"conclusion","sections":[],"depth":2}],"depth":1}';function _s(U){return ys(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class le extends ws{constructor(t){super(),ds(this,t,_s,Es,ms,{})}}export{le as component};
