import{s as Ut,n as zt,o as Qt}from"../chunks/scheduler.9bc65507.js";import{S as Nt,i as Rt,g as o,s as n,r as d,A as Bt,h as s,f as r,c as a,j as v,u as c,x as l,k as $,y as t,a as p,v as u,d as f,t as g,w as h}from"../chunks/index.707bf1b6.js";import{D as _}from"../chunks/Docstring.17db21ae.js";import{H as Ke}from"../chunks/Heading.342b1fa6.js";function Zt(Pt){let w,we,De,Fe,O,Ce,I,Dt="This page lists all the utility functions the library provides for pipelines.",Te,V,yt="Most of those are only useful if you are studying the code of the models in the library.",Le,W,He,F,q,Xe,re,wt='Base interface for handling arguments for each <a href="/docs/transformers/v4.36.1/en/main_classes/pipelines#transformers.Pipeline">Pipeline</a>.',Ee,C,j,Ye,ne,Ft=`Handles arguments for zero-shot for text classification by turning each possible label into an NLI
premise/hypothesis pair.`,ke,P,J,et,ae,Ct=`QuestionAnsweringPipeline requires the user to provide multiple arguments (i.e. question &amp; context) to be mapped to
internal <code>SquadExample</code>.`,tt,oe,Tt=`QuestionAnsweringArgumentHandler manages all the possible to create a <code>SquadExample</code> from the command-line
supplied arguments.`,Me,U,Ae,m,z,rt,se,Lt=`Base class for all the pipeline supported data format both for reading and writing. Supported data formats
currently includes:`,nt,ie,Ht="<li>JSON</li> <li>CSV</li> <li>stdin/stdout (pipe)</li>",at,pe,Et=`<code>PipelineDataFormat</code> also includes some utilities to work with multi-columns like mapping from datasets columns to
pipelines keyword arguments through the <code>dataset_kwarg_1=dataset_column_1</code> format.`,ot,L,Q,st,le,kt='Creates an instance of the right subclass of <a href="/docs/transformers/v4.36.1/en/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a> depending on <code>format</code>.',it,H,N,pt,me,Mt='Save the provided data object with the representation for the current <a href="/docs/transformers/v4.36.1/en/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a>.',lt,E,R,mt,de,At="Save the provided data object as a pickle-formatted binary data on the disk.",Se,D,B,dt,ce,St="Support for pipelines using CSV data format.",ct,k,Z,ut,ue,Ot='Save the provided data object with the representation for the current <a href="/docs/transformers/v4.36.1/en/internal/pipelines_utils#transformers.PipelineDataFormat">PipelineDataFormat</a>.',Oe,y,G,ft,fe,It="Support for pipelines using JSON file format.",gt,M,K,ht,ge,Vt="Save the provided data object in a json file.",Ie,x,X,vt,he,Wt="Read data from piped input to the python process. For multi columns data, columns should separated by",$t,ve,qt="If columns are provided, then the output will be a dictionary with {column_x: value_x}",bt,A,Y,_t,$e,jt="Print the data.",Ve,ee,We,T,te,xt,be,Jt='Raised by a <a href="/docs/transformers/v4.36.1/en/main_classes/pipelines#transformers.Pipeline">Pipeline</a> when handling <strong>call</strong>.',qe,ye,je;return O=new Ke({props:{title:"Utilities for pipelines",local:"utilities-for-pipelines",headingTag:"h1"}}),W=new Ke({props:{title:"Argument handling",local:"transformers.pipelines.ArgumentHandler",headingTag:"h2"}}),q=new _({props:{name:"class transformers.pipelines.ArgumentHandler",anchor:"transformers.pipelines.ArgumentHandler",parameters:[],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L425"}}),j=new _({props:{name:"class transformers.pipelines.ZeroShotClassificationArgumentHandler",anchor:"transformers.pipelines.ZeroShotClassificationArgumentHandler",parameters:[],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/zero_shot_classification.py#L14"}}),J=new _({props:{name:"class transformers.pipelines.QuestionAnsweringArgumentHandler",anchor:"transformers.pipelines.QuestionAnsweringArgumentHandler",parameters:[],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/question_answering.py#L150"}}),U=new Ke({props:{title:"Data format",local:"transformers.PipelineDataFormat",headingTag:"h2"}}),z=new _({props:{name:"class transformers.PipelineDataFormat",anchor:"transformers.PipelineDataFormat",parameters:[{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:": bool = False"}],parametersDescription:[{anchor:"transformers.PipelineDataFormat.output_path",description:"<strong>output_path</strong> (<code>str</code>) &#x2014; Where to save the outgoing data.",name:"output_path"},{anchor:"transformers.PipelineDataFormat.input_path",description:"<strong>input_path</strong> (<code>str</code>) &#x2014; Where to look for the input data.",name:"input_path"},{anchor:"transformers.PipelineDataFormat.column",description:"<strong>column</strong> (<code>str</code>) &#x2014; The column to read.",name:"column"},{anchor:"transformers.PipelineDataFormat.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L435"}}),Q=new _({props:{name:"from_str",anchor:"transformers.PipelineDataFormat.from_str",parameters:[{name:"format",val:": str"},{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:" = False"}],parametersDescription:[{anchor:"transformers.PipelineDataFormat.from_str.format",description:`<strong>format</strong> (<code>str</code>) &#x2014;
The format of the desired pipeline. Acceptable values are <code>&quot;json&quot;</code>, <code>&quot;csv&quot;</code> or <code>&quot;pipe&quot;</code>.`,name:"format"},{anchor:"transformers.PipelineDataFormat.from_str.output_path",description:`<strong>output_path</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Where to save the outgoing data.`,name:"output_path"},{anchor:"transformers.PipelineDataFormat.from_str.input_path",description:`<strong>input_path</strong> (<code>str</code>, <em>optional</em>) &#x2014;
Where to look for the input data.`,name:"input_path"},{anchor:"transformers.PipelineDataFormat.from_str.column",description:`<strong>column</strong> (<code>str</code>, <em>optional</em>) &#x2014;
The column to read.`,name:"column"},{anchor:"transformers.PipelineDataFormat.from_str.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L512",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The proper data format.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><a
  href="/docs/transformers/v4.36.1/en/internal/pipelines_utils#transformers.PipelineDataFormat"
>PipelineDataFormat</a></p>
`}}),N=new _({props:{name:"save",anchor:"transformers.PipelineDataFormat.save",parameters:[{name:"data",val:": typing.Union[dict, typing.List[dict]]"}],parametersDescription:[{anchor:"transformers.PipelineDataFormat.save.data",description:"<strong>data</strong> (<code>dict</code> or list of <code>dict</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L484"}}),R=new _({props:{name:"save_binary",anchor:"transformers.PipelineDataFormat.save_binary",parameters:[{name:"data",val:": typing.Union[dict, typing.List[dict]]"}],parametersDescription:[{anchor:"transformers.PipelineDataFormat.save_binary.data",description:"<strong>data</strong> (<code>dict</code> or list of <code>dict</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L494",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Path where the data has been saved.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p><code>str</code></p>
`}}),B=new _({props:{name:"class transformers.CsvPipelineDataFormat",anchor:"transformers.CsvPipelineDataFormat",parameters:[{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:" = False"}],parametersDescription:[{anchor:"transformers.CsvPipelineDataFormat.output_path",description:"<strong>output_path</strong> (<code>str</code>) &#x2014; Where to save the outgoing data.",name:"output_path"},{anchor:"transformers.CsvPipelineDataFormat.input_path",description:"<strong>input_path</strong> (<code>str</code>) &#x2014; Where to look for the input data.",name:"input_path"},{anchor:"transformers.CsvPipelineDataFormat.column",description:"<strong>column</strong> (<code>str</code>) &#x2014; The column to read.",name:"column"},{anchor:"transformers.CsvPipelineDataFormat.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L548"}}),Z=new _({props:{name:"save",anchor:"transformers.CsvPipelineDataFormat.save",parameters:[{name:"data",val:": typing.List[dict]"}],parametersDescription:[{anchor:"transformers.CsvPipelineDataFormat.save.data",description:"<strong>data</strong> (<code>List[dict]</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L578"}}),G=new _({props:{name:"class transformers.JsonPipelineDataFormat",anchor:"transformers.JsonPipelineDataFormat",parameters:[{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:" = False"}],parametersDescription:[{anchor:"transformers.JsonPipelineDataFormat.output_path",description:"<strong>output_path</strong> (<code>str</code>) &#x2014; Where to save the outgoing data.",name:"output_path"},{anchor:"transformers.JsonPipelineDataFormat.input_path",description:"<strong>input_path</strong> (<code>str</code>) &#x2014; Where to look for the input data.",name:"input_path"},{anchor:"transformers.JsonPipelineDataFormat.column",description:"<strong>column</strong> (<code>str</code>) &#x2014; The column to read.",name:"column"},{anchor:"transformers.JsonPipelineDataFormat.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L592"}}),K=new _({props:{name:"save",anchor:"transformers.JsonPipelineDataFormat.save",parameters:[{name:"data",val:": dict"}],parametersDescription:[{anchor:"transformers.JsonPipelineDataFormat.save.data",description:"<strong>data</strong> (<code>dict</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L623"}}),X=new _({props:{name:"class transformers.PipedPipelineDataFormat",anchor:"transformers.PipedPipelineDataFormat",parameters:[{name:"output_path",val:": typing.Optional[str]"},{name:"input_path",val:": typing.Optional[str]"},{name:"column",val:": typing.Optional[str]"},{name:"overwrite",val:": bool = False"}],parametersDescription:[{anchor:"transformers.PipedPipelineDataFormat.output_path",description:"<strong>output_path</strong> (<code>str</code>) &#x2014; Where to save the outgoing data.",name:"output_path"},{anchor:"transformers.PipedPipelineDataFormat.input_path",description:"<strong>input_path</strong> (<code>str</code>) &#x2014; Where to look for the input data.",name:"input_path"},{anchor:"transformers.PipedPipelineDataFormat.column",description:"<strong>column</strong> (<code>str</code>) &#x2014; The column to read.",name:"column"},{anchor:"transformers.PipedPipelineDataFormat.overwrite",description:`<strong>overwrite</strong> (<code>bool</code>, <em>optional</em>, defaults to <code>False</code>) &#x2014;
Whether or not to overwrite the <code>output_path</code>.`,name:"overwrite"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L634"}}),Y=new _({props:{name:"save",anchor:"transformers.PipedPipelineDataFormat.save",parameters:[{name:"data",val:": dict"}],parametersDescription:[{anchor:"transformers.PipedPipelineDataFormat.save.data",description:"<strong>data</strong> (<code>dict</code>) &#x2014; The data to store.",name:"data"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L663"}}),ee=new Ke({props:{title:"Utilities",local:"transformers.pipelines.PipelineException",headingTag:"h2"}}),te=new _({props:{name:"class transformers.pipelines.PipelineException",anchor:"transformers.pipelines.PipelineException",parameters:[{name:"task",val:": str"},{name:"model",val:": str"},{name:"reason",val:": str"}],parametersDescription:[{anchor:"transformers.pipelines.PipelineException.task",description:"<strong>task</strong> (<code>str</code>) &#x2014; The task of the pipeline.",name:"task"},{anchor:"transformers.pipelines.PipelineException.model",description:"<strong>model</strong> (<code>str</code>) &#x2014; The model used by the pipeline.",name:"model"},{anchor:"transformers.pipelines.PipelineException.reason",description:"<strong>reason</strong> (<code>str</code>) &#x2014; The error message to display.",name:"reason"}],source:"https://github.com/huggingface/transformers/blob/v4.36.1/src/transformers/pipelines/base.py#L408"}}),{c(){w=o("meta"),we=n(),De=o("p"),Fe=n(),d(O.$$.fragment),Ce=n(),I=o("p"),I.textContent=Dt,Te=n(),V=o("p"),V.textContent=yt,Le=n(),d(W.$$.fragment),He=n(),F=o("div"),d(q.$$.fragment),Xe=n(),re=o("p"),re.innerHTML=wt,Ee=n(),C=o("div"),d(j.$$.fragment),Ye=n(),ne=o("p"),ne.textContent=Ft,ke=n(),P=o("div"),d(J.$$.fragment),et=n(),ae=o("p"),ae.innerHTML=Ct,tt=n(),oe=o("p"),oe.innerHTML=Tt,Me=n(),d(U.$$.fragment),Ae=n(),m=o("div"),d(z.$$.fragment),rt=n(),se=o("p"),se.textContent=Lt,nt=n(),ie=o("ul"),ie.innerHTML=Ht,at=n(),pe=o("p"),pe.innerHTML=Et,ot=n(),L=o("div"),d(Q.$$.fragment),st=n(),le=o("p"),le.innerHTML=kt,it=n(),H=o("div"),d(N.$$.fragment),pt=n(),me=o("p"),me.innerHTML=Mt,lt=n(),E=o("div"),d(R.$$.fragment),mt=n(),de=o("p"),de.textContent=At,Se=n(),D=o("div"),d(B.$$.fragment),dt=n(),ce=o("p"),ce.textContent=St,ct=n(),k=o("div"),d(Z.$$.fragment),ut=n(),ue=o("p"),ue.innerHTML=Ot,Oe=n(),y=o("div"),d(G.$$.fragment),ft=n(),fe=o("p"),fe.textContent=It,gt=n(),M=o("div"),d(K.$$.fragment),ht=n(),ge=o("p"),ge.textContent=Vt,Ie=n(),x=o("div"),d(X.$$.fragment),vt=n(),he=o("p"),he.textContent=Wt,$t=n(),ve=o("p"),ve.textContent=qt,bt=n(),A=o("div"),d(Y.$$.fragment),_t=n(),$e=o("p"),$e.textContent=jt,Ve=n(),d(ee.$$.fragment),We=n(),T=o("div"),d(te.$$.fragment),xt=n(),be=o("p"),be.innerHTML=Jt,qe=n(),ye=o("p"),this.h()},l(e){const i=Bt("svelte-u9bgzb",document.head);w=s(i,"META",{name:!0,content:!0}),i.forEach(r),we=a(e),De=s(e,"P",{}),v(De).forEach(r),Fe=a(e),c(O.$$.fragment,e),Ce=a(e),I=s(e,"P",{"data-svelte-h":!0}),l(I)!=="svelte-wr9t4b"&&(I.textContent=Dt),Te=a(e),V=s(e,"P",{"data-svelte-h":!0}),l(V)!=="svelte-1ui7w53"&&(V.textContent=yt),Le=a(e),c(W.$$.fragment,e),He=a(e),F=s(e,"DIV",{class:!0});var Je=v(F);c(q.$$.fragment,Je),Xe=a(Je),re=s(Je,"P",{"data-svelte-h":!0}),l(re)!=="svelte-1f86kvz"&&(re.innerHTML=wt),Je.forEach(r),Ee=a(e),C=s(e,"DIV",{class:!0});var Ue=v(C);c(j.$$.fragment,Ue),Ye=a(Ue),ne=s(Ue,"P",{"data-svelte-h":!0}),l(ne)!=="svelte-1hjf3sf"&&(ne.textContent=Ft),Ue.forEach(r),ke=a(e),P=s(e,"DIV",{class:!0});var _e=v(P);c(J.$$.fragment,_e),et=a(_e),ae=s(_e,"P",{"data-svelte-h":!0}),l(ae)!=="svelte-12i18ng"&&(ae.innerHTML=Ct),tt=a(_e),oe=s(_e,"P",{"data-svelte-h":!0}),l(oe)!=="svelte-z2nze2"&&(oe.innerHTML=Tt),_e.forEach(r),Me=a(e),c(U.$$.fragment,e),Ae=a(e),m=s(e,"DIV",{class:!0});var b=v(m);c(z.$$.fragment,b),rt=a(b),se=s(b,"P",{"data-svelte-h":!0}),l(se)!=="svelte-1mb1edh"&&(se.textContent=Lt),nt=a(b),ie=s(b,"UL",{"data-svelte-h":!0}),l(ie)!=="svelte-1uf4n4e"&&(ie.innerHTML=Ht),at=a(b),pe=s(b,"P",{"data-svelte-h":!0}),l(pe)!=="svelte-u9lis0"&&(pe.innerHTML=Et),ot=a(b),L=s(b,"DIV",{class:!0});var ze=v(L);c(Q.$$.fragment,ze),st=a(ze),le=s(ze,"P",{"data-svelte-h":!0}),l(le)!=="svelte-amxejr"&&(le.innerHTML=kt),ze.forEach(r),it=a(b),H=s(b,"DIV",{class:!0});var Qe=v(H);c(N.$$.fragment,Qe),pt=a(Qe),me=s(Qe,"P",{"data-svelte-h":!0}),l(me)!=="svelte-1oe9ax3"&&(me.innerHTML=Mt),Qe.forEach(r),lt=a(b),E=s(b,"DIV",{class:!0});var Ne=v(E);c(R.$$.fragment,Ne),mt=a(Ne),de=s(Ne,"P",{"data-svelte-h":!0}),l(de)!=="svelte-i36752"&&(de.textContent=At),Ne.forEach(r),b.forEach(r),Se=a(e),D=s(e,"DIV",{class:!0});var xe=v(D);c(B.$$.fragment,xe),dt=a(xe),ce=s(xe,"P",{"data-svelte-h":!0}),l(ce)!=="svelte-jm6p0u"&&(ce.textContent=St),ct=a(xe),k=s(xe,"DIV",{class:!0});var Re=v(k);c(Z.$$.fragment,Re),ut=a(Re),ue=s(Re,"P",{"data-svelte-h":!0}),l(ue)!=="svelte-1oe9ax3"&&(ue.innerHTML=Ot),Re.forEach(r),xe.forEach(r),Oe=a(e),y=s(e,"DIV",{class:!0});var Pe=v(y);c(G.$$.fragment,Pe),ft=a(Pe),fe=s(Pe,"P",{"data-svelte-h":!0}),l(fe)!=="svelte-jpmp8k"&&(fe.textContent=It),gt=a(Pe),M=s(Pe,"DIV",{class:!0});var Be=v(M);c(K.$$.fragment,Be),ht=a(Be),ge=s(Be,"P",{"data-svelte-h":!0}),l(ge)!=="svelte-1ly8fsk"&&(ge.textContent=Vt),Be.forEach(r),Pe.forEach(r),Ie=a(e),x=s(e,"DIV",{class:!0});var S=v(x);c(X.$$.fragment,S),vt=a(S),he=s(S,"P",{"data-svelte-h":!0}),l(he)!=="svelte-vxtild"&&(he.textContent=Wt),$t=a(S),ve=s(S,"P",{"data-svelte-h":!0}),l(ve)!=="svelte-83moxo"&&(ve.textContent=qt),bt=a(S),A=s(S,"DIV",{class:!0});var Ze=v(A);c(Y.$$.fragment,Ze),_t=a(Ze),$e=s(Ze,"P",{"data-svelte-h":!0}),l($e)!=="svelte-v6konq"&&($e.textContent=jt),Ze.forEach(r),S.forEach(r),Ve=a(e),c(ee.$$.fragment,e),We=a(e),T=s(e,"DIV",{class:!0});var Ge=v(T);c(te.$$.fragment,Ge),xt=a(Ge),be=s(Ge,"P",{"data-svelte-h":!0}),l(be)!=="svelte-w8ze4d"&&(be.innerHTML=Jt),Ge.forEach(r),qe=a(e),ye=s(e,"P",{}),v(ye).forEach(r),this.h()},h(){$(w,"name","hf:doc:metadata"),$(w,"content",Gt),$(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(E,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(m,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),$(T,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,i){t(document.head,w),p(e,we,i),p(e,De,i),p(e,Fe,i),u(O,e,i),p(e,Ce,i),p(e,I,i),p(e,Te,i),p(e,V,i),p(e,Le,i),u(W,e,i),p(e,He,i),p(e,F,i),u(q,F,null),t(F,Xe),t(F,re),p(e,Ee,i),p(e,C,i),u(j,C,null),t(C,Ye),t(C,ne),p(e,ke,i),p(e,P,i),u(J,P,null),t(P,et),t(P,ae),t(P,tt),t(P,oe),p(e,Me,i),u(U,e,i),p(e,Ae,i),p(e,m,i),u(z,m,null),t(m,rt),t(m,se),t(m,nt),t(m,ie),t(m,at),t(m,pe),t(m,ot),t(m,L),u(Q,L,null),t(L,st),t(L,le),t(m,it),t(m,H),u(N,H,null),t(H,pt),t(H,me),t(m,lt),t(m,E),u(R,E,null),t(E,mt),t(E,de),p(e,Se,i),p(e,D,i),u(B,D,null),t(D,dt),t(D,ce),t(D,ct),t(D,k),u(Z,k,null),t(k,ut),t(k,ue),p(e,Oe,i),p(e,y,i),u(G,y,null),t(y,ft),t(y,fe),t(y,gt),t(y,M),u(K,M,null),t(M,ht),t(M,ge),p(e,Ie,i),p(e,x,i),u(X,x,null),t(x,vt),t(x,he),t(x,$t),t(x,ve),t(x,bt),t(x,A),u(Y,A,null),t(A,_t),t(A,$e),p(e,Ve,i),u(ee,e,i),p(e,We,i),p(e,T,i),u(te,T,null),t(T,xt),t(T,be),p(e,qe,i),p(e,ye,i),je=!0},p:zt,i(e){je||(f(O.$$.fragment,e),f(W.$$.fragment,e),f(q.$$.fragment,e),f(j.$$.fragment,e),f(J.$$.fragment,e),f(U.$$.fragment,e),f(z.$$.fragment,e),f(Q.$$.fragment,e),f(N.$$.fragment,e),f(R.$$.fragment,e),f(B.$$.fragment,e),f(Z.$$.fragment,e),f(G.$$.fragment,e),f(K.$$.fragment,e),f(X.$$.fragment,e),f(Y.$$.fragment,e),f(ee.$$.fragment,e),f(te.$$.fragment,e),je=!0)},o(e){g(O.$$.fragment,e),g(W.$$.fragment,e),g(q.$$.fragment,e),g(j.$$.fragment,e),g(J.$$.fragment,e),g(U.$$.fragment,e),g(z.$$.fragment,e),g(Q.$$.fragment,e),g(N.$$.fragment,e),g(R.$$.fragment,e),g(B.$$.fragment,e),g(Z.$$.fragment,e),g(G.$$.fragment,e),g(K.$$.fragment,e),g(X.$$.fragment,e),g(Y.$$.fragment,e),g(ee.$$.fragment,e),g(te.$$.fragment,e),je=!1},d(e){e&&(r(we),r(De),r(Fe),r(Ce),r(I),r(Te),r(V),r(Le),r(He),r(F),r(Ee),r(C),r(ke),r(P),r(Me),r(Ae),r(m),r(Se),r(D),r(Oe),r(y),r(Ie),r(x),r(Ve),r(We),r(T),r(qe),r(ye)),r(w),h(O,e),h(W,e),h(q),h(j),h(J),h(U,e),h(z),h(Q),h(N),h(R),h(B),h(Z),h(G),h(K),h(X),h(Y),h(ee,e),h(te)}}}const Gt='{"title":"Utilities for pipelines","local":"utilities-for-pipelines","sections":[{"title":"Argument handling","local":"transformers.pipelines.ArgumentHandler","sections":[],"depth":2},{"title":"Data format","local":"transformers.PipelineDataFormat","sections":[],"depth":2},{"title":"Utilities","local":"transformers.pipelines.PipelineException","sections":[],"depth":2}],"depth":1}';function Kt(Pt){return Qt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rr extends Nt{constructor(w){super(),Rt(this,w,Kt,Zt,Ut,{})}}export{rr as component};
