import{s as V,n as Y,o as K}from"../chunks/scheduler.65852ee5.js";import{S as W,i as X,g as l,s as o,r as S,A as Z,h as s,f as a,c as i,j as N,u as G,x as $,k as z,y as tt,a as n,v as R,d as I,t as O,w as q}from"../chunks/index.aa74147d.js";import{H as D,E as et}from"../chunks/EditOnGithub.4eda6a96.js";function at(F){let r,w,b,C,u,v,c,Q=`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,m,y,f,U="Check out the recently added notebooks:",A,h,j='<li><a href="benchmarking_tgi">Benchmarking TGI</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="code_search">Code Search with Vector Embeddings and Qdrant</a></li> <li><a href="rag_with_sql_reranker">RAG backed by SQL and Jina Reranker</a></li>',L,p,B='You can also check out the notebooks in the cookbook’s <a href="https://github.com/huggingface/cookbook" rel="nofollow">GitHub repo</a>.',T,g,M,_,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”.`,P,d,E,k,H;return u=new D({props:{title:"Open-Source AI Cookbook",local:"open-source-ai-cookbook",headingTag:"h1"}}),m=new D({props:{title:"Latest notebooks",local:"latest-notebooks",headingTag:"h2"}}),g=new D({props:{title:"Contributing",local:"contributing",headingTag:"h2"}}),d=new et({props:{source:"https://github.com/huggingface/cookbook/blob/main/notebooks/en/index.md"}}),{c(){r=l("meta"),w=o(),b=l("p"),C=o(),S(u.$$.fragment),v=o(),c=l("p"),c.textContent=Q,x=o(),S(m.$$.fragment),y=o(),f=l("p"),f.textContent=U,A=o(),h=l("ul"),h.innerHTML=j,L=o(),p=l("p"),p.innerHTML=B,T=o(),S(g.$$.fragment),M=o(),_=l("p"),_.innerHTML=J,P=o(),S(d.$$.fragment),E=o(),k=l("p"),this.h()},l(t){const e=Z("svelte-u9bgzb",document.head);r=s(e,"META",{name:!0,content:!0}),e.forEach(a),w=i(t),b=s(t,"P",{}),N(b).forEach(a),C=i(t),G(u.$$.fragment,t),v=i(t),c=s(t,"P",{"data-svelte-h":!0}),$(c)!=="svelte-172bkh9"&&(c.textContent=Q),x=i(t),G(m.$$.fragment,t),y=i(t),f=s(t,"P",{"data-svelte-h":!0}),$(f)!=="svelte-1ledt9t"&&(f.textContent=U),A=i(t),h=s(t,"UL",{"data-svelte-h":!0}),$(h)!=="svelte-6ert2a"&&(h.innerHTML=j),L=i(t),p=s(t,"P",{"data-svelte-h":!0}),$(p)!=="svelte-rkum7e"&&(p.innerHTML=B),T=i(t),G(g.$$.fragment,t),M=i(t),_=s(t,"P",{"data-svelte-h":!0}),$(_)!=="svelte-1l0twh0"&&(_.innerHTML=J),P=i(t),G(d.$$.fragment,t),E=i(t),k=s(t,"P",{}),N(k).forEach(a),this.h()},h(){z(r,"name","hf:doc:metadata"),z(r,"content",nt)},m(t,e){tt(document.head,r),n(t,w,e),n(t,b,e),n(t,C,e),R(u,t,e),n(t,v,e),n(t,c,e),n(t,x,e),R(m,t,e),n(t,y,e),n(t,f,e),n(t,A,e),n(t,h,e),n(t,L,e),n(t,p,e),n(t,T,e),R(g,t,e),n(t,M,e),n(t,_,e),n(t,P,e),R(d,t,e),n(t,E,e),n(t,k,e),H=!0},p:Y,i(t){H||(I(u.$$.fragment,t),I(m.$$.fragment,t),I(g.$$.fragment,t),I(d.$$.fragment,t),H=!0)},o(t){O(u.$$.fragment,t),O(m.$$.fragment,t),O(g.$$.fragment,t),O(d.$$.fragment,t),H=!1},d(t){t&&(a(w),a(b),a(C),a(v),a(c),a(x),a(y),a(f),a(A),a(h),a(L),a(p),a(T),a(M),a(_),a(P),a(E),a(k)),a(r),q(u,t),q(m,t),q(g,t),q(d,t)}}}const nt='{"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 ot(F){return K(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class st extends W{constructor(r){super(),X(this,r,ot,at,V,{})}}export{st as component};
