import{s as Q,n as Y,o as V}from"../chunks/scheduler.65852ee5.js";import{S as W,i as X,g as r,s as i,r as G,A as Z,h as s,f as a,c as o,j as N,u as S,x as $,k as K,y as ee,a as n,v as R,d as I,t as O,w as j}from"../chunks/index.aa74147d.js";import{H as D,E as te}from"../chunks/EditOnGithub.4eda6a96.js";function ae(q){let l,w,b,C,c,v,u,F=`The Open-Source AI Cookbook is a collection of notebooks illustrating practical aspects of building AI
applications and solving various machine learning tasks using open-source tools and models.`,x,h,y,f,U="Check out the recently added notebooks:",L,m,z='<li><a href="multiagent_web_assistant">Have several agents collaborate in a multi-agent hierarchy 🤖🤝🤖</a></li> <li><a href="semantic_reranking_elasticsearch">Semantic reranking with Elasticsearch</a></li> <li><a href="benchmarking_tgi">Benchmarking TGI</a></li> <li><a href="generate_preference_dataset_distilabel">Generate a Preference Dataset with distilabel</a></li> <li><a href="clean_dataset_judges_distilabel">Clean an Existing Preference Dataset with LLMs as Judges</a></li> <li><a href="rag_with_unstructured_data">Building RAG with Custom Unstructured Data</a></li> <li><a href="agent_rag">Agentic RAG: turbocharge your RAG with query reformulation and self-query! 🚀</a></li> <li><a href="agent_change_llm">Create a Transformers Agent from any LLM inference provider</a></li> <li><a href="fine_tuning_llm_to_generate_persian_product_catalogs_in_json_format">Fine-tuning LLM to Generate Persian Product Catalogs in JSON Format</a></li> <li><a href="agent_text_to_sql">Agent for text-to-SQL with automatic error correction</a></li> <li><a href="information_extraction_haystack_nuextract">Information Extraction with Haystack and NuExtract</a></li> <li><a href="rag_with_hf_and_milvus">RAG with Hugging Face and Milvus</a></li> <li><a href="agent_data_analyst">Data analyst agent: get your data’s insights in the blink of an eye ✨</a></li> <li><a href="rag_with_knowledge_graphs_neo4j">Enhancing RAG Reasoning with Knowledge Graphs</a></li>',A,g,B='You can also check out the notebooks in the cookbook’s <a href="https://github.com/huggingface/cookbook" rel="nofollow">GitHub repo</a>.',P,_,T,p,J=`The Open-Source AI Cookbook is a community effort, and we welcome contributions from everyone!
Check out the cookbook’s <a href="https://github.com/huggingface/cookbook/blob/main/README.md" rel="nofollow">Contribution guide</a> to learn
how you can add your “recipe”.`,E,d,M,k,H;return c=new D({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),h=new D({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),_=new D({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),d=new te({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/en/index.md"}}),{c(){l=r("meta"),w=i(),b=r("p"),C=i(),G(c.$$.fragment),v=i(),u=r("p"),u.textContent=F,x=i(),G(h.$$.fragment),y=i(),f=r("p"),f.textContent=U,L=i(),m=r("ul"),m.innerHTML=z,A=i(),g=r("p"),g.innerHTML=B,P=i(),G(_.$$.fragment),T=i(),p=r("p"),p.innerHTML=J,E=i(),G(d.$$.fragment),M=i(),k=r("p"),this.h()},l(e){const t=Z("svelte-u9bgzb",document.head);l=s(t,"META",{name:!0,content:!0}),t.forEach(a),w=o(e),b=s(e,"P",{}),N(b).forEach(a),C=o(e),S(c.$$.fragment,e),v=o(e),u=s(e,"P",{"data-svelte-h":!0}),$(u)!=="svelte-172bkh9"&&(u.textContent=F),x=o(e),S(h.$$.fragment,e),y=o(e),f=s(e,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1ledt9t"&&(f.textContent=U),L=o(e),m=s(e,"UL",{"data-svelte-h":!0}),$(m)!=="svelte-8nz9jd"&&(m.innerHTML=z),A=o(e),g=s(e,"P",{"data-svelte-h":!0}),$(g)!=="svelte-rkum7e"&&(g.innerHTML=B),P=o(e),S(_.$$.fragment,e),T=o(e),p=s(e,"P",{"data-svelte-h":!0}),$(p)!=="svelte-1l0twh0"&&(p.innerHTML=J),E=o(e),S(d.$$.fragment,e),M=o(e),k=s(e,"P",{}),N(k).forEach(a),this.h()},h(){K(l,"name","hf:doc:metadata"),K(l,"content",ne)},m(e,t){ee(document.head,l),n(e,w,t),n(e,b,t),n(e,C,t),R(c,e,t),n(e,v,t),n(e,u,t),n(e,x,t),R(h,e,t),n(e,y,t),n(e,f,t),n(e,L,t),n(e,m,t),n(e,A,t),n(e,g,t),n(e,P,t),R(_,e,t),n(e,T,t),n(e,p,t),n(e,E,t),R(d,e,t),n(e,M,t),n(e,k,t),H=!0},p:Y,i(e){H||(I(c.$$.fragment,e),I(h.$$.fragment,e),I(_.$$.fragment,e),I(d.$$.fragment,e),H=!0)},o(e){O(c.$$.fragment,e),O(h.$$.fragment,e),O(_.$$.fragment,e),O(d.$$.fragment,e),H=!1},d(e){e&&(a(w),a(b),a(C),a(v),a(u),a(x),a(y),a(f),a(L),a(m),a(A),a(g),a(P),a(T),a(p),a(E),a(M),a(k)),a(l),j(c,e),j(h,e),j(_,e),j(d,e)}}}const ne='{"title":"Open-Source AI Cookbook","local":"open-source-ai-cookbook","sections":[{"title":"Latest notebooks","local":"latest-notebooks","sections":[],"depth":2},{"title":"Contributing","local":"contributing","sections":[],"depth":2}],"depth":1}';function ie(q){return V(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class se extends W{constructor(l){super(),X(this,l,ie,ae,Q,{})}}export{se as component};
