import{s as ge,n as oe,o as ue}from"../chunks/scheduler.ea9963d4.js";import{S as de,i as xe,e as s,s as a,c as r,h as ce,a as f,d as n,b as l,f as me,g as m,j as G,k as $e,l as he,m as i,n as $,t as g,o,p as u}from"../chunks/index.2ecb6441.js";import{C as _e,H as O,E as Te}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.b27212aa.js";function be(ne){let p,D,j,I,d,q,x,S,c,ie="Text Generation Output.",z,h,ae=`Auto-generated from TGI specs.
For more details, check out
<a href="https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts" rel="nofollow">https://github.com/huggingface/huggingface.js/blob/main/packages/tasks/scripts/inference-tgi-import.ts</a>.`,A,_,R,T,le="▪ [property: <code>string</code>]: <code>unknown</code>",F,b,U,v,B,w,se="• <code>Optional</code> <strong>details</strong>: <code>TextGenerationOutputDetails</code>",J,C,K,P,fe="tasks/dist/esm/tasks/text-generation/inference.d.ts:121",N,Q,V,k,W,M,pe="• <strong>generated_text</strong>: <code>string</code>",X,H,Y,L,re="tasks/dist/esm/tasks/text-generation/inference.d.ts:122",Z,y,ee,E,te;return d=new _e({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),x=new O({props:{title:"Interface: TextGenerationOutput",local:"interface-textgenerationoutput",headingTag:"h1"}}),_=new O({props:{title:"Indexable",local:"indexable",headingTag:"h2"}}),b=new O({props:{title:"Properties",local:"properties",headingTag:"h2"}}),v=new O({props:{title:"details",local:"details",headingTag:"h3"}}),C=new O({props:{title:"Defined in",local:"details.defined-in",headingTag:"h4"}}),k=new O({props:{title:"generated _ text",local:"generated--text",headingTag:"h3"}}),H=new O({props:{title:"Defined in",local:"generatedtext.defined-in",headingTag:"h4"}}),y=new Te({props:{source:"https://github.com/huggingface/huggingface.js/blob/main/docs/inference/interfaces/TextGenerationOutput.md"}}),{c(){p=s("meta"),D=a(),j=s("p"),I=a(),r(d.$$.fragment),q=a(),r(x.$$.fragment),S=a(),c=s("p"),c.textContent=ie,z=a(),h=s("p"),h.innerHTML=ae,A=a(),r(_.$$.fragment),R=a(),T=s("p"),T.innerHTML=le,F=a(),r(b.$$.fragment),U=a(),r(v.$$.fragment),B=a(),w=s("p"),w.innerHTML=se,J=a(),r(C.$$.fragment),K=a(),P=s("p"),P.textContent=fe,N=a(),Q=s("hr"),V=a(),r(k.$$.fragment),W=a(),M=s("p"),M.innerHTML=pe,X=a(),r(H.$$.fragment),Y=a(),L=s("p"),L.textContent=re,Z=a(),r(y.$$.fragment),ee=a(),E=s("p"),this.h()},l(e){const t=ce("svelte-u9bgzb",document.head);p=f(t,"META",{name:!0,content:!0}),t.forEach(n),D=l(e),j=f(e,"P",{}),me(j).forEach(n),I=l(e),m(d.$$.fragment,e),q=l(e),m(x.$$.fragment,e),S=l(e),c=f(e,"P",{"data-svelte-h":!0}),G(c)!=="svelte-q084zq"&&(c.textContent=ie),z=l(e),h=f(e,"P",{"data-svelte-h":!0}),G(h)!=="svelte-5y841m"&&(h.innerHTML=ae),A=l(e),m(_.$$.fragment,e),R=l(e),T=f(e,"P",{"data-svelte-h":!0}),G(T)!=="svelte-c6if36"&&(T.innerHTML=le),F=l(e),m(b.$$.fragment,e),U=l(e),m(v.$$.fragment,e),B=l(e),w=f(e,"P",{"data-svelte-h":!0}),G(w)!=="svelte-v9h3h1"&&(w.innerHTML=se),J=l(e),m(C.$$.fragment,e),K=l(e),P=f(e,"P",{"data-svelte-h":!0}),G(P)!=="svelte-1946qh2"&&(P.textContent=fe),N=l(e),Q=f(e,"HR",{}),V=l(e),m(k.$$.fragment,e),W=l(e),M=f(e,"P",{"data-svelte-h":!0}),G(M)!=="svelte-k6afj8"&&(M.innerHTML=pe),X=l(e),m(H.$$.fragment,e),Y=l(e),L=f(e,"P",{"data-svelte-h":!0}),G(L)!=="svelte-1b0twjf"&&(L.textContent=re),Z=l(e),m(y.$$.fragment,e),ee=l(e),E=f(e,"P",{}),me(E).forEach(n),this.h()},h(){$e(p,"name","hf:doc:metadata"),$e(p,"content",ve)},m(e,t){he(document.head,p),i(e,D,t),i(e,j,t),i(e,I,t),$(d,e,t),i(e,q,t),$(x,e,t),i(e,S,t),i(e,c,t),i(e,z,t),i(e,h,t),i(e,A,t),$(_,e,t),i(e,R,t),i(e,T,t),i(e,F,t),$(b,e,t),i(e,U,t),$(v,e,t),i(e,B,t),i(e,w,t),i(e,J,t),$(C,e,t),i(e,K,t),i(e,P,t),i(e,N,t),i(e,Q,t),i(e,V,t),$(k,e,t),i(e,W,t),i(e,M,t),i(e,X,t),$(H,e,t),i(e,Y,t),i(e,L,t),i(e,Z,t),$(y,e,t),i(e,ee,t),i(e,E,t),te=!0},p:oe,i(e){te||(g(d.$$.fragment,e),g(x.$$.fragment,e),g(_.$$.fragment,e),g(b.$$.fragment,e),g(v.$$.fragment,e),g(C.$$.fragment,e),g(k.$$.fragment,e),g(H.$$.fragment,e),g(y.$$.fragment,e),te=!0)},o(e){o(d.$$.fragment,e),o(x.$$.fragment,e),o(_.$$.fragment,e),o(b.$$.fragment,e),o(v.$$.fragment,e),o(C.$$.fragment,e),o(k.$$.fragment,e),o(H.$$.fragment,e),o(y.$$.fragment,e),te=!1},d(e){e&&(n(D),n(j),n(I),n(q),n(S),n(c),n(z),n(h),n(A),n(R),n(T),n(F),n(U),n(B),n(w),n(J),n(K),n(P),n(N),n(Q),n(V),n(W),n(M),n(X),n(Y),n(L),n(Z),n(ee),n(E)),n(p),u(d,e),u(x,e),u(_,e),u(b,e),u(v,e),u(C,e),u(k,e),u(H,e),u(y,e)}}}const ve='{"title":"Interface: TextGenerationOutput","local":"interface-textgenerationoutput","sections":[{"title":"Indexable","local":"indexable","sections":[],"depth":2},{"title":"Properties","local":"properties","sections":[{"title":"details","local":"details","sections":[{"title":"Defined in","local":"details.defined-in","sections":[],"depth":4}],"depth":3},{"title":"generated _ text","local":"generated--text","sections":[{"title":"Defined in","local":"generatedtext.defined-in","sections":[],"depth":4}],"depth":3}],"depth":2}],"depth":1}';function we(ne){return ue(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Me extends de{constructor(p){super(),xe(this,p,we,be,ge,{})}}export{Me as component};
