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 H,A as Z,h as s,f as a,c as o,j as z,u as S,x as $,k as K,y as ee,a as n,v as I,d as D,t as R,w as O}from"../chunks/index.aa74147d.js";import{H as j,E as te}from"../chunks/EditOnGithub.4eda6a96.js";function ae(q){let l,w,b,C,u,v,c,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,f,y,m,U="Check out the recently added notebooks:",A,h,B='<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> <li><a href="fine_tuning_detr_custom_dataset">Fine-Tuning Object Detection on a Custom Dataset 🖼, Deployment in Spaces, and Gradio API Integration</a></li>',L,g,J='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,N=`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,G;return u=new j({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),f=new j({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),_=new j({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(),H(u.$$.fragment),v=i(),c=r("p"),c.textContent=F,x=i(),H(f.$$.fragment),y=i(),m=r("p"),m.textContent=U,A=i(),h=r("ul"),h.innerHTML=B,L=i(),g=r("p"),g.innerHTML=J,P=i(),H(_.$$.fragment),T=i(),p=r("p"),p.innerHTML=N,E=i(),H(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",{}),z(b).forEach(a),C=o(e),S(u.$$.fragment,e),v=o(e),c=s(e,"P",{"data-svelte-h":!0}),$(c)!=="svelte-172bkh9"&&(c.textContent=F),x=o(e),S(f.$$.fragment,e),y=o(e),m=s(e,"P",{"data-svelte-h":!0}),$(m)!=="svelte-1ledt9t"&&(m.textContent=U),A=o(e),h=s(e,"UL",{"data-svelte-h":!0}),$(h)!=="svelte-gu2feq"&&(h.innerHTML=B),L=o(e),g=s(e,"P",{"data-svelte-h":!0}),$(g)!=="svelte-rkum7e"&&(g.innerHTML=J),P=o(e),S(_.$$.fragment,e),T=o(e),p=s(e,"P",{"data-svelte-h":!0}),$(p)!=="svelte-1l0twh0"&&(p.innerHTML=N),E=o(e),S(d.$$.fragment,e),M=o(e),k=s(e,"P",{}),z(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),I(u,e,t),n(e,v,t),n(e,c,t),n(e,x,t),I(f,e,t),n(e,y,t),n(e,m,t),n(e,A,t),n(e,h,t),n(e,L,t),n(e,g,t),n(e,P,t),I(_,e,t),n(e,T,t),n(e,p,t),n(e,E,t),I(d,e,t),n(e,M,t),n(e,k,t),G=!0},p:Y,i(e){G||(D(u.$$.fragment,e),D(f.$$.fragment,e),D(_.$$.fragment,e),D(d.$$.fragment,e),G=!0)},o(e){R(u.$$.fragment,e),R(f.$$.fragment,e),R(_.$$.fragment,e),R(d.$$.fragment,e),G=!1},d(e){e&&(a(w),a(b),a(C),a(v),a(c),a(x),a(y),a(m),a(A),a(h),a(L),a(g),a(P),a(T),a(p),a(E),a(M),a(k)),a(l),O(u,e),O(f,e),O(_,e),O(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};
