1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="e75b0e07-f7ab-45a2-931e-887f170b593f",e._sentryDebugIdIdentifier="sentry-dbid-e75b0e07-f7ab-45a2-931e-887f170b593f")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8616],{41267:(e,r,t)=>{"use strict";t.d(r,{D:()=>l});var a=t(15383),i=t(96588),n=t(24458),s=t.n(n),_=t(90265),c=t(15060);let l=()=>{let e=(0,c.usePathname)(),r={items:[{header:"AI Studio å
¨ä½è¨å®ã¡ãã¥ã¼",navItems:[{title:"å¾éãã¼ã¿DL",anchor:e=>(0,a.jsx)(s(),{href:_.B.ServiceProvider.BillingAggregation.link(),...e}),active:e===_.B.ServiceProvider.BillingAggregation.link(),hidden:!1},{title:"ã¢ã¯ãã£ãã¢ã«ã¦ã³ãã¹ãããã·ã§ããDL",anchor:e=>(0,a.jsx)(s(),{href:_.B.ServiceProvider.ActiveAccountSnapshot.link(),...e}),active:e===_.B.ServiceProvider.ActiveAccountSnapshot.link(),hidden:!1},{title:"ã¿ã¹ã¯ã©ã¤ãã©ãªãã¬ã¤ã°ã©ã¦ã³ã",anchor:e=>(0,a.jsx)(s(),{href:_.B.ServiceProvider.TaskLibraryPlayground.link(),...e}),active:e===_.B.ServiceProvider.TaskLibraryPlayground.link(),hidden:!1},{title:"ã¿ã¹ã¯ã©ã¤ãã©ãªç®¡ç",anchor:e=>(0,a.jsx)(s(),{href:_.B.ServiceProvider.TaskLibraryManagement.link(),...e}),active:e===_.B.ServiceProvider.TaskLibraryManagement.link(),hidden:!1},{title:"ã¢ãã«æ
å ±ä¸è¦§",anchor:e=>(0,a.jsx)(s(),{href:_.B.ServiceProvider.ModelInfo.link(),...e}),active:e===_.B.ServiceProvider.ModelInfo.link(),hidden:!1}]}]};return(0,a.jsx)("aside",{className:"is-menu-pane aside",children:(0,a.jsx)(i.MenuList,{...r})})}},63076:e=>{e.exports={container:"task-library-create_container___Wj1C","create-container":"task-library-create_create-container__G0XZU",createContainer:"task-library-create_create-container__G0XZU",header:"task-library-create_header__Q0CbY",title:"task-library-create_title__ZEAhg","header-actions":"task-library-create_header-actions__fCRpG",headerActions:"task-library-create_header-actions__fCRpG",content:"task-library-create_content__qawOJ","editor-tab":"task-library-create_editor-tab__cceS8",editorTab:"task-library-create_editor-tab__cceS8","editor-content":"task-library-create_editor-content__1Fyqj",editorContent:"task-library-create_editor-content__1Fyqj","section-title":"task-library-create_section-title__JLqAE",sectionTitle:"task-library-create_section-title__JLqAE",section:"task-library-create_section__o_cjF","metadata-grid":"task-library-create_metadata-grid__eesQF",metadataGrid:"task-library-create_metadata-grid__eesQF","metadata-field":"task-library-create_metadata-field__fuWIk",metadataField:"task-library-create_metadata-field__fuWIk","field-label":"task-library-create_field-label___wG5S",fieldLabel:"task-library-create_field-label___wG5S","text-input":"task-library-create_text-input__7zkoi",textInput:"task-library-create_text-input__7zkoi","textarea-input":"task-library-create_textarea-input__BFx7_",textareaInput:"task-library-create_textarea-input__BFx7_","select-input":"task-library-create_select-input__qWK2r",selectInput:"task-library-create_select-input__qWK2r","checkbox-group":"task-library-create_checkbox-group__hLyeK",checkboxGroup:"task-library-create_checkbox-group__hLyeK","checkbox-item":"task-library-create_checkbox-item___y78A",checkboxItem:"task-library-create_checkbox-item___y78A","prompt-textarea":"task-library-create_prompt-textarea__DJCXW",promptTextarea:"task-library-create_prompt-textarea__DJCXW","form-editor-container":"task-library-create_form-editor-container__oKuxu",formEditorContainer:"task-library-create_form-editor-container__oKuxu","preview-tab":"task-library-create_preview-tab__luaP8",previewTab:"task-library-create_preview-tab__luaP8","preview-content":"task-library-create_preview-content__dk7Mz",previewContent:"task-library-create_preview-content__dk7Mz","preview-title":"task-library-create_preview-title__aSk_D",previewTitle:"task-library-create_preview-title__aSk_D","preview-note":"task-library-create_preview-note__Ci7lS",previewNote:"task-library-create_preview-note__Ci7lS","preview-description":"task-library-create_preview-description__y6iLs",previewDescription:"task-library-create_preview-description__y6iLs","app-content":"task-library-create_app-content___vAXR",appContent:"task-library-create_app-content___vAXR","input-area":"task-library-create_input-area__VqjG8",inputArea:"task-library-create_input-area__VqjG8","form-container":"task-library-create_form-container__ZrcAj",formContainer:"task-library-create_form-container__ZrcAj","submit-container":"task-library-create_submit-container__Tio0g",submitContainer:"task-library-create_submit-container__Tio0g","generation-area":"task-library-create_generation-area__Iz6F0",generationArea:"task-library-create_generation-area__Iz6F0",background:"task-library-create_background__5QB5T","generate-container":"task-library-create_generate-container__iBjmD",generateContainer:"task-library-create_generate-container__iBjmD","generate-result":"task-library-create_generate-result__3M3Nm",generateResult:"task-library-create_generate-result__3M3Nm",tools:"task-library-create_tools__Xuuee","progress-icon":"task-library-create_progress-icon__gHJO9",progressIcon:"task-library-create_progress-icon__gHJO9","empty-result":"task-library-create_empty-result___Hmwg",emptyResult:"task-library-create_empty-result___Hmwg","form-section":"task-library-create_form-section__SlLRQ",formSection:"task-library-create_form-section__SlLRQ","result-section":"task-library-create_result-section__zRRbM",resultSection:"task-library-create_result-section__zRRbM","modal-container":"task-library-create_modal-container__UJPan",modalContainer:"task-library-create_modal-container__UJPan"}},78295:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/sp/task-library-management/new",function(){return t(89295)}])},89295:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>f});var a=t(15383),i=t(97027),n=t(2589),s=t(41267),_=t(14343),c=t(63076),l=t.n(c),o=t(1569),b=t(76324),d=t(98096),p=t(98147),k=t(80063),y=t(31147),u=t(22564);(0,d.J1)`
2 mutation CreateTaskLibrary($input: TaskLibraryInput!) { 3 createTaskLibrary(input: $input) { 4 ...taskLibraryFragment 5 } 6 } 7`;let m={id:"sample-task-library",title:"æ°ããã¿ã¹ã¯ã©ã¤ãã©ãª",description:"ãã¬ã¤ã°ã©ã¦ã³ãã§ä½æãããã¿ã¹ã¯ã©ã¤ãã©ãªã§ãã",occupations:["general"],pattern:"create_text",llm_preset_id:"gpt-4o-mini-2024-07-18-default",prompt:"ã¦ã¼ã¶ã¼ã®å ¥åã«åºã¥ãã¦é©åãªåçãçæãã¦ãã ããã\n\nå ¥å: {input}\n\nåç:",form_schema:{version:"1.0.0",root:[{id:"section1",title:"",elementType:"section",children:[{id:"input",elementType:"input",inputType:"text_area",label:{text:"å ¥åå 容",shouldDisplay:!0},description:{text:"",shouldDisplay:!0},required:!0,hidden:!1,validations:[{keyword:"maxLength",value:1e3}],placeholder:"ããã«å ¥åãã¦ãã ãã...",rows:5}]}],conditionalRuleSet:{conditionalRules:[]}}};var v=t(13338),h=t(90265);let g=()=>{let{isSaving:e,saveTaskLibrary:r,taskLibraryData:t,setTaskLibraryData:i}=(()=>{let e=(0,k.useRouter)(),[r,t]=(0,_.useReducer)(y.h,m),[a,i]=_.useState(!1),[n]=(0,p.n)(b.Ozr,{update:e=>{e.evict({fieldName:"taskLibraryMetadataListAll"})}}),s=_.useCallback(async t=>{let a=(0,u.R)(t,r.form_schema);if(!a.valid)return void o.oR.error(`å¿ é ãªElementIDãããã³ããã«å«ã¾ãã¦ãã¾ãã: ${a.missingIds.map(e=>`{${e}}`).join(", ")}`);i(!0);try{let a={title:r.title,description:r.description,occupations:r.occupations,pattern:r.pattern,prompt:t,formSchema:r.form_schema,llmPresetId:r.llm_preset_id,sample:r.sample??null,sampleFile:null,outputType:r.outputType??null},i=await n({variables:{input:a}});i.data?.createTaskLibrary&&(o.oR.success("ã¿ã¹ã¯ã©ã¤ãã©ãªãä¿åãã¾ããã"),e.push(`/sp/task-library-management/${i.data.createTaskLibrary.metadata.id}`))}catch(e){o.oR.error("ã¿ã¹ã¯ã©ã¤ãã©ãªã®ä¿åã«å¤±æãã¾ããã")}finally{i(!1)}},[r,n,e]);return{isSaving:a,saveTaskLibrary:async()=>{await s(r.prompt)},taskLibraryData:r,setTaskLibraryData:t}})();return(0,a.jsxs)("div",{className:l().container,children:[(0,a.jsx)(v.o,{href:h.B.ServiceProvider.TaskLibraryManagement.link()}),(0,a.jsx)(y.O,{title:"ã¿ã¹ã¯ã©ã¤ãã©ãªæ°è¦ä½æ",isSaving:e,saveTaskLibrary:r,taskLibraryData:t,setTaskLibraryData:i})]})},f=()=>(0,a.jsxs)(i.o,{children:[(0,a.jsx)(n.Xk,{}),(0,a.jsxs)("div",{className:"columns is-desktop m-0",children:[(0,a.jsx)(s.D,{}),(0,a.jsx)("div",{className:"column main min-w-[764px] pr-0",children:(0,a.jsx)(g,{})})]})]})}},e=>{e.O(0,[8534,9482,2180,8479,106,6583,7959,9024,9917,2236,4361,5159,5060,322,9525,6745,2589,7971,7640,636,6593,8792],()=>e(e.s=78295)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.