@vertesia/common 0.64.0 → 0.65.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- var e,t,n,i,r;!function(e){e.int_read="interaction:read",e.int_write="interaction:write",e.int_delete="interaction:delete",e.int_execute="interaction:execute",e.run_read="run:read",e.run_write="run:write",e.env_manage="environment:manage",e.project_manage="project:manage",e.api_key_create="api_key:create",e.api_key_read="api_key:read",e.account_read="account:read",e.account_manage="account:manage",e.manage_billing="account:billing",e.account_member="account:member",e.content_read="content:read",e.content_create="content:create",e.content_update="content:update",e.content_delete="content:delete",e.content_admin="content:admin",e.workflow_run="workflow:run"}(e||(e={})),function(e){e.project="project",e.environment="environment",e.account="account",e.interaction="interaction"}(t||(t={})),function(e){e.public="pk",e.secret="sk"}(n||(n={})),function(e){e.User="user",e.ApiKey="apikey",e.ServiceAccount="service_account"}(i||(i={})),function(e){e.openai="openai",e.azure_openai="azure_openai",e.huggingface_ie="huggingface_ie",e.replicate="replicate",e.bedrock="bedrock",e.vertexai="vertexai",e.togetherai="togetherai",e.mistralai="mistralai",e.groq="groq",e.watsonx="watsonx",e.virtual_lb="virtual_lb",e.virtual_mediator="virtual_mediator",e.test="test"}(r||(r={}));const a={openai:{id:r.openai,name:"OpenAI",requiresApiKey:!0,requiresEndpointUrl:!1,supportSearch:!1},azure_openai:{id:r.azure_openai,name:"Azure OpenAI",requiresApiKey:!1,requiresEndpointUrl:!0,supportSearch:!1},huggingface_ie:{id:r.huggingface_ie,name:"HuggingFace Inference Endpoint",requiresApiKey:!0,requiresEndpointUrl:!0},replicate:{id:r.replicate,name:"Repicate",requiresApiKey:!0,requiresEndpointUrl:!1,supportSearch:!0},bedrock:{id:r.bedrock,name:"AWS Bedrock",requiresApiKey:!1,requiresEndpointUrl:!1,endpointPlaceholder:"region name (eg. us-east-1)",supportSearch:!1},vertexai:{id:r.vertexai,name:"Google Vertex AI",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},togetherai:{id:r.togetherai,name:"Together AI",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},mistralai:{id:r.mistralai,name:"Mistral AI",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},groq:{id:r.groq,name:"Groq Cloud",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},watsonx:{id:r.watsonx,name:"IBM WatsonX",requiresApiKey:!0,requiresEndpointUrl:!0,supportSearch:!1},virtual_lb:{id:r.virtual_lb,name:"Virtual - Load Balancer",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},virtual_mediator:{id:r.virtual_mediator,name:"Virtual - Mediator",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},test:{id:r.test,name:"Test LLM",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1}},o="id name provider enabled_models default_model endpoint_url allowed_projects account created_at updated_at";var s;!function(e){e.gladia="gladia",e.github="github",e.aws="aws",e.magic_pdf="magic_pdf",e.serper="serper"}(s||(s={}));const c="id name endpoint parent description status version visibility tags updated_at prompts",u=`${c} result_schema`;var p,d,l,_;!function(e){e.draft="draft",e.published="published",e.archived="archived"}(p||(p={})),function(e){e.created="created",e.processing="processing",e.completed="completed",e.failed="failed"}(d||(d={})),function(e){e.STANDARD="STANDARD",e.RESTRICTED="RESTRICTED",e.DEBUG="DEBUG"}(l||(l={})),function(e){e.STANDARD="Run data is stored for both the model inputs and output.",e.RESTRICTED="No run data is stored for the model inputs — only the model output.",e.DEBUG="Run data is stored for the model inputs and output, schema, and final prompt."}(_||(_={}));const h={[l.STANDARD]:_.STANDARD,[l.RESTRICTED]:_.RESTRICTED,[l.DEBUG]:_.DEBUG};var m;!function(e){e.api="api",e.cli="cli",e.ui="ui",e.webhook="webhook",e.test="test-data",e.system="system"}(m||(m={}));const E="-result -parameters -result_schema -prompt";var N,g;!function(e){e.RUN_AND_INTERACTION_CONFIG="RUN_AND_INTERACTION_CONFIG",e.RUN_CONFIG_ONLY="RUN_CONFIG_ONLY",e.INTERACTION_CONFIG_ONLY="INTERACTION_CONFIG_ONLY"}(N||(N={})),function(e){e.RUN_AND_INTERACTION_CONFIG="This run configuration is used. Undefined options are filled with interaction configuration.",e.RUN_CONFIG_ONLY="Only this run configuration is used. Undefined options remain undefined.",e.INTERACTION_CONFIG_ONLY="Only interaction configuration is used."}(g||(g={}));const T={[N.RUN_AND_INTERACTION_CONFIG]:g.RUN_AND_INTERACTION_CONFIG,[N.RUN_CONFIG_ONLY]:g.RUN_CONFIG_ONLY,[N.INTERACTION_CONFIG_ONLY]:g.INTERACTION_CONFIG_ONLY};var f,I,O,A;!function(e){e.analyzed_pages="analyzed_pages",e.extracted_tables="extracted_tables",e.analyzed_images="analyzed_images",e.input_token_used="input_token_used",e.output_token_used="output_token_used",e.task_run="task_run"}(f||(f={}));class D{constructor(e,t,n){this.parent=e,this.parentUnits=t,this.spanUnits=n,this.unitsDone=0}done(e){const t=this.spanUnits-this.unitsDone;t&&((!e||e>t)&&(e=t),this.unitsDone+=e,this.parent.done(e*this.parentUnits/this.spanUnits))}get parentUnitsDone(){return Math.round(this.unitsDone*this.parentUnits/this.spanUnits)}get isDone(){return this.unitsDone>=this.spanUnits}}class b{constructor(e){this.total=e,this.unitsDone=0}get fraction(){return this.unitsDone/this.total}get percent(){return Math.round(100*this.fraction)}get isDone(){return this.unitsDone>=this.total}done(e){const t=this.total-this.unitsDone;t&&((!e||e>t)&&(e=t),this.unitsDone+=e)}span(e,t){return new D(this,e,t||e)}}function U(e,t){switch(t){case I.owner:return!0;case I.admin:return e!==I.billing&&e!==I.owner;case I.developer:return e===I.developer;case I.billing:return e===I.billing;default:return!1}}!function(e){e.owner="owner",e.admin="admin",e.project_admin="project_admin",e.developer="developer",e.application="application",e.executor="executor",e.reader="reader",e.billing="billing",e.member="member"}(I||(I={})),function(e){e.public="public",e.account="account",e.project="project"}(O||(O={})),function(e){e.text="text",e.image="image",e.properties="properties"}(A||(A={}));const y="id name account";var R,C,S,v,M;!function(e){e.draft="draft",e.published="published",e.archived="archived"}(R||(R={})),function(e){e.chat="chat",e.template="template"}(C||(C={})),function(e){e.text="text",e.js="js",e.jst="jst"}(S||(S={})),function(e){e.project="Project",e.environment="Environment",e.user="User",e.account="Account",e.interaction="Interaction"}(v||(v={})),function(e){e.active="active",e.archived="archived"}(M||(M={}));const q="id name description tags created_at updated_at",w={type:"object",description:"Represent a rendition of a file stored in an object. It will be stored as a separate object in the database.",properties:{mime_type:{type:"string",description:"The format of the rendition. This is a MIME type."},source_etag:{type:"string",description:"The ETag of the file used for the rendition.",nullable:!0},height:{type:"integer",description:"The height of the rendition",nullable:!0},width:{type:"integer",description:"The width of the rendition",nullable:!0},multipart:{type:"boolean",description:"If the rendition is a multi-part rendition",nullable:!0,default:!1},total_parts:{type:"integer",description:"The total number of parts in the rendition",nullable:!0}},required:["mime_type"]},k={type:"object",description:"Represent a semantic chunk of a document",properties:{source_etag:{type:"string",description:"The ETag of the file used for the rendition.",nullable:!0},part_number:{type:"integer",description:"The part number of the chunk"},title:{type:"string",description:"The title of the chunk",nullable:!0},source_line_start:{type:"integer",description:"The line number where the chunk starts",nullable:!0},source_line_end:{type:"integer",description:"The line number where the chunk ends",nullable:!0},type:{type:"string",description:"The type of the chunk",enum:["text","image","table","chart","diagram","code","other"],nullable:!0},page_number:{type:"integer",description:"The page number of the document part",nullable:!0},description:{type:"string",description:"The description of the document part, if it's an image, the exhaustive description of the image",nullable:!0},height:{type:"integer",description:"The height of the rendition",nullable:!0},width:{type:"integer",description:"The width of the rendition",nullable:!0}},required:["part_number"]};var L,G,x,j;!function(e){e.created="created",e.processing="processing",e.completed="completed",e.failed="failed",e.archived="archived"}(L||(L={})),function(e){e.single="single",e.multiple="multiple",e.none="none"}(G||(G={})),function(e){e.jpeg="jpeg",e.png="png",e.webp="webp"}(x||(x={})),function(e){e.docx="docx",e.pdf="pdf"}(j||(j={}));const P={TERMINATE:"TERMINATE",ABANDON:"ABANDON",REQUEST_CANCEL:"REQUEST_CANCEL",PARENT_CLOSE_POLICY_UNSPECIFIED:void 0,PARENT_CLOSE_POLICY_TERMINATE:"TERMINATE",PARENT_CLOSE_POLICY_ABANDON:"ABANDON",PARENT_CLOSE_POLICY_REQUEST_CANCEL:"REQUEST_CANCEL"};var K,F,B,Y,z;function W(e){return"objectIds"in e?e.objectIds:[]}!function(e){e.create="create",e.change_type="change_type",e.update="update",e.revision_created="revision_created",e.delete="delete",e.workflow_finished="workflow_finished",e.workflow_execution_request="workflow_execution_request",e.api_request="api_request"}(K||(K={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.RUNNING=1]="RUNNING",e[e.COMPLETED=2]="COMPLETED",e[e.FAILED=3]="FAILED",e[e.CANCELED=4]="CANCELED",e[e.TERMINATED=5]="TERMINATED",e[e.CONTINUED_AS_NEW=6]="CONTINUED_AS_NEW",e[e.TIMED_OUT=7]="TIMED_OUT"}(F||(F={})),function(e){e.SYSTEM="system",e.THOUGHT="thought",e.PLAN="plan",e.UPDATE="update",e.COMPLETE="complete",e.WARNING="warning",e.ERROR="error",e.ANSWER="answer",e.QUESTION="question",e.REQUEST_INPUT="request_input",e.IDLE="idle"}(B||(B={})),function(e){e.created="created",e.building="building",e.prepared="prepared",e.processing="processing",e.completed="completed",e.cancelled="cancelled",e.failed="failed"}(Y||(Y={})),function(e){e.userInvite="user-invite",e.migration="migration"}(z||(z={}));const V="id name email picture";var Z,Q;!function(e){e.aws="aws",e.gcp="gcp",e.azure="azure"}(Z||(Z={})),function(e){e.stripe="stripe",e.invoice="invoice"}(Q||(Q={}));const H="id name";function X(e,t){return e.slice(-6)+"_"+t.slice(-6)}function J(e){return X(e.account,e.id)}var $,ee,te,ne,ie,re,ae,oe,se;function ce(e){const t={};let n=[];for(const i of e)if(i.properties){if(i.required)for(const e of i.required)n.includes(e)||n.push(e);Object.assign(t,i.properties)}return Object.keys(t).length>0?{properties:t,required:n,type:"object"}:null}function ue(e){const t={};let n=[];for(const i of e)if(i.template?.inputSchema?.properties){const e=i.template?.inputSchema;if(e.required)for(const t of e.required)n.includes(t)||n.push(t);Object.assign(t,e.properties)}else i.type===C.chat&&(Object.assign(t,{chat:{type:"array",items:{type:"object",properties:{role:{type:"string",enum:[te.assistant,te.user]},content:{type:"string"}},required:["role","content"]}}}),n.push("chat"));return Object.keys(t).length>0?{properties:t,required:n}:null}function pe(e){return e.prompts?ue(e.prompts):null}!function(e){e.max_tokens="max_tokens",e.temperature="temperature",e.top_p="top_p",e.top_k="top_k",e.presence_penalty="presence_penalty",e.frequency_penalty="frequency_penalty",e.stop_sequence="stop_sequence",e.seed="seed",e.number_of_images="number_of_images"}($||($={})),function(e){e.numeric="numeric",e.enum="enum",e.boolean="boolean",e.string_list="string_list"}(ee||(ee={})),function(e){e.safety="safety",e.system="system",e.user="user",e.assistant="assistant",e.negative="negative",e.mask="mask",e.tool="tool"}(te||(te={})),function(e){e.text="text",e.image="image"}(ne||(ne={})),function(e){e.Available="available",e.Pending="pending",e.Stopped="stopped",e.Unavailable="unavailable",e.Unknown="unknown",e.Legacy="legacy"}(ie||(ie={})),function(e){e.Classifier="classifier",e.Regressor="regressor",e.Clustering="clustering",e.AnomalyDetection="anomaly-detection",e.TimeSeries="time-series",e.Text="text",e.Image="image",e.Audio="audio",e.Video="video",e.Embedding="embedding",e.Chat="chat",e.Code="code",e.NLP="nlp",e.MultiModal="multi-modal",e.Test="test",e.Other="other",e.Unknown="unknown"}(re||(re={})),function(e){e.running="running",e.succeeded="succeeded",e.failed="failed",e.cancelled="cancelled"}(ae||(ae={})),$.max_tokens,ee.numeric,$.temperature,ee.numeric,$.top_p,ee.numeric,$.top_k,ee.numeric,$.presence_penalty,ee.numeric,$.frequency_penalty,ee.numeric,$.stop_sequence,ee.string_list,function(e){e.TEXT_IMAGE="TEXT_IMAGE",e.EDIT_MODE_INPAINT_REMOVAL="EDIT_MODE_INPAINT_REMOVAL",e.EDIT_MODE_INPAINT_INSERTION="EDIT_MODE_INPAINT_INSERTION",e.EDIT_MODE_BGSWAP="EDIT_MODE_BGSWAP",e.EDIT_MODE_OUTPAINT="EDIT_MODE_OUTPAINT",e.CUSTOMIZATION_SUBJECT="CUSTOMIZATION_SUBJECT",e.CUSTOMIZATION_STYLE="CUSTOMIZATION_STYLE",e.CUSTOMIZATION_CONTROLLED="CUSTOMIZATION_CONTROLLED",e.CUSTOMIZATION_INSTRUCT="CUSTOMIZATION_INSTRUCT"}(oe||(oe={})),function(e){e.MASK_MODE_USER_PROVIDED="MASK_MODE_USER_PROVIDED",e.MASK_MODE_BACKGROUND="MASK_MODE_BACKGROUND",e.MASK_MODE_FOREGROUND="MASK_MODE_FOREGROUND",e.MASK_MODE_SEMANTIC="MASK_MODE_SEMANTIC"}(se||(se={}));export{t as AccessControlledResource,H as AccountRefPopulate,B as AgentMessageType,n as ApiKeyTypes,Q as BillingMethod,M as CollectionStatus,N as ConfigModes,g as ConfigModesDescription,T as ConfigModesOptions,K as ContentEventName,L as ContentObjectStatus,Z as Datacenters,k as DocumentPartSchema,o as ExecutionEnvironmentRefPopulate,E as ExecutionRunRefSelect,d as ExecutionRunStatus,x as ImageRenditionFormat,c as InteractionRefPopulate,u as InteractionRefWithSchemaPopulate,p as InteractionStatus,j as MarkdownRenditionFormat,f as MeterNames,P as ParentClosePolicy,e as Permission,i as PrincipalType,b as Progress,y as ProjectRefPopulate,I as ProjectRoles,C as PromptSegmentDefType,R as PromptStatus,w as RenditionSchema,v as ResolvableRefType,O as ResourceVisibility,_ as RunDataStorageDescription,l as RunDataStorageLevel,h as RunDataStorageOptions,m as RunSourceTypes,A as SupportedEmbeddingTypes,s as SupportedIntegrations,r as SupportedProviders,a as SupportedProvidersList,S as TemplateType,Y as TrainingSessionStatus,z as TransientTokenType,V as UserRefPopulate,q as WorkflowDefinitionRefPopulate,F as WorkflowExecutionStatus,G as WorkflowRuleInputType,ue as _mergePromptsSchema,W as getDocumentIds,X as getTenantId,J as getTenantIdFromProject,U as isRoleIncludedIn,ce as mergeJSONSchemas,pe as mergePromptsSchema};
1
+ var e,t,o,i,u;!function(e){e.int_read="interaction:read",e.int_write="interaction:write",e.int_delete="interaction:delete",e.int_execute="interaction:execute",e.run_read="run:read",e.run_write="run:write",e.env_manage="environment:manage",e.project_manage="project:manage",e.api_key_create="api_key:create",e.api_key_read="api_key:read",e.account_read="account:read",e.account_manage="account:manage",e.manage_billing="account:billing",e.account_member="account:member",e.content_read="content:read",e.content_create="content:create",e.content_update="content:update",e.content_delete="content:delete",e.content_admin="content:admin",e.workflow_run="workflow:run"}(e||(e={})),function(e){e.project="project",e.environment="environment",e.account="account",e.interaction="interaction"}(t||(t={})),function(e){e.public="pk",e.secret="sk"}(o||(o={})),function(e){e.User="user",e.ApiKey="apikey",e.ServiceAccount="service_account"}(i||(i={})),function(e){e.openai="openai",e.azure_openai="azure_openai",e.huggingface_ie="huggingface_ie",e.replicate="replicate",e.bedrock="bedrock",e.vertexai="vertexai",e.togetherai="togetherai",e.mistralai="mistralai",e.groq="groq",e.watsonx="watsonx",e.virtual_lb="virtual_lb",e.virtual_mediator="virtual_mediator",e.test="test"}(u||(u={}));const a={openai:{id:u.openai,name:"OpenAI",requiresApiKey:!0,requiresEndpointUrl:!1,supportSearch:!1},azure_openai:{id:u.azure_openai,name:"Azure OpenAI",requiresApiKey:!1,requiresEndpointUrl:!0,supportSearch:!1},huggingface_ie:{id:u.huggingface_ie,name:"HuggingFace Inference Endpoint",requiresApiKey:!0,requiresEndpointUrl:!0},replicate:{id:u.replicate,name:"Repicate",requiresApiKey:!0,requiresEndpointUrl:!1,supportSearch:!0},bedrock:{id:u.bedrock,name:"AWS Bedrock",requiresApiKey:!1,requiresEndpointUrl:!1,endpointPlaceholder:"region name (eg. us-east-1)",supportSearch:!1},vertexai:{id:u.vertexai,name:"Google Vertex AI",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},togetherai:{id:u.togetherai,name:"Together AI",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},mistralai:{id:u.mistralai,name:"Mistral AI",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},groq:{id:u.groq,name:"Groq Cloud",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},watsonx:{id:u.watsonx,name:"IBM WatsonX",requiresApiKey:!0,requiresEndpointUrl:!0,supportSearch:!1},virtual_lb:{id:u.virtual_lb,name:"Virtual - Load Balancer",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},virtual_mediator:{id:u.virtual_mediator,name:"Virtual - Mediator",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1},test:{id:u.test,name:"Test LLM",requiresApiKey:!1,requiresEndpointUrl:!1,supportSearch:!1}},d="id name provider enabled_models default_model endpoint_url allowed_projects account created_at updated_at";var n;!function(e){e.gladia="gladia",e.github="github",e.aws="aws",e.magic_pdf="magic_pdf",e.serper="serper"}(n||(n={}));const p="id name endpoint parent description status version visibility tags updated_at prompts",r=`${p} result_schema`;var m,s,l,g;!function(e){e.draft="draft",e.published="published",e.archived="archived"}(m||(m={})),function(e){e.created="created",e.processing="processing",e.completed="completed",e.failed="failed"}(s||(s={})),function(e){e.STANDARD="STANDARD",e.RESTRICTED="RESTRICTED",e.DEBUG="DEBUG"}(l||(l={})),function(e){e.STANDARD="Run data is stored for both the model inputs and output.",e.RESTRICTED="No run data is stored for the model inputs — only the model output.",e.DEBUG="Run data is stored for the model inputs and output, schema, and final prompt."}(g||(g={}));const _={[l.STANDARD]:g.STANDARD,[l.RESTRICTED]:g.RESTRICTED,[l.DEBUG]:g.DEBUG};var c;!function(e){e.api="api",e.cli="cli",e.ui="ui",e.webhook="webhook",e.test="test-data",e.system="system"}(c||(c={}));const v="-result -parameters -result_schema -prompt";var b,x;!function(e){e.RUN_AND_INTERACTION_CONFIG="RUN_AND_INTERACTION_CONFIG",e.RUN_CONFIG_ONLY="RUN_CONFIG_ONLY",e.INTERACTION_CONFIG_ONLY="INTERACTION_CONFIG_ONLY"}(b||(b={})),function(e){e.RUN_AND_INTERACTION_CONFIG="This run configuration is used. Undefined options are filled with interaction configuration.",e.RUN_CONFIG_ONLY="Only this run configuration is used. Undefined options remain undefined.",e.INTERACTION_CONFIG_ONLY="Only interaction configuration is used."}(x||(x={}));const f={[b.RUN_AND_INTERACTION_CONFIG]:x.RUN_AND_INTERACTION_CONFIG,[b.RUN_CONFIG_ONLY]:x.RUN_CONFIG_ONLY,[b.INTERACTION_CONFIG_ONLY]:x.INTERACTION_CONFIG_ONLY};var h,E,N,T;!function(e){e.analyzed_pages="analyzed_pages",e.extracted_tables="extracted_tables",e.analyzed_images="analyzed_images",e.input_token_used="input_token_used",e.output_token_used="output_token_used",e.task_run="task_run"}(h||(h={}));class I{constructor(e,t,o){this.parent=e,this.parentUnits=t,this.spanUnits=o,this.unitsDone=0}done(e){const t=this.spanUnits-this.unitsDone;t&&((!e||e>t)&&(e=t),this.unitsDone+=e,this.parent.done(e*this.parentUnits/this.spanUnits))}get parentUnitsDone(){return Math.round(this.unitsDone*this.parentUnits/this.spanUnits)}get isDone(){return this.unitsDone>=this.spanUnits}}class O{constructor(e){this.total=e,this.unitsDone=0}get fraction(){return this.unitsDone/this.total}get percent(){return Math.round(100*this.fraction)}get isDone(){return this.unitsDone>=this.total}done(e){const t=this.total-this.unitsDone;t&&((!e||e>t)&&(e=t),this.unitsDone+=e)}span(e,t){return new I(this,e,t||e)}}function A(e,t){switch(t){case E.owner:return!0;case E.admin:return e!==E.billing&&e!==E.owner;case E.developer:return e===E.developer;case E.billing:return e===E.billing;default:return!1}}!function(e){e.owner="owner",e.admin="admin",e.project_admin="project_admin",e.developer="developer",e.application="application",e.executor="executor",e.reader="reader",e.billing="billing",e.member="member"}(E||(E={})),function(e){e.public="public",e.account="account",e.project="project"}(N||(N={})),function(e){e.text="text",e.image="image",e.properties="properties"}(T||(T={}));const D="id name account";var y,C,U,R,S;!function(e){e.draft="draft",e.published="published",e.archived="archived"}(y||(y={})),function(e){e.chat="chat",e.template="template"}(C||(C={})),function(e){e.text="text",e.js="js",e.jst="jst"}(U||(U={})),function(e){e.project="Project",e.environment="Environment",e.user="User",e.account="Account",e.interaction="Interaction"}(R||(R={})),function(e){e.active="active",e.archived="archived"}(S||(S={}));const w="id name description tags created_at updated_at",k={type:"object",description:"Represent a rendition of a file stored in an object. It will be stored as a separate object in the database.",properties:{mime_type:{type:"string",description:"The format of the rendition. This is a MIME type."},source_etag:{type:"string",description:"The ETag of the file used for the rendition.",nullable:!0},height:{type:"integer",description:"The height of the rendition",nullable:!0},width:{type:"integer",description:"The width of the rendition",nullable:!0},multipart:{type:"boolean",description:"If the rendition is a multi-part rendition",nullable:!0,default:!1},total_parts:{type:"integer",description:"The total number of parts in the rendition",nullable:!0}},required:["mime_type"]},M={type:"object",description:"Represent a semantic chunk of a document",properties:{source_etag:{type:"string",description:"The ETag of the file used for the rendition.",nullable:!0},part_number:{type:"integer",description:"The part number of the chunk"},title:{type:"string",description:"The title of the chunk",nullable:!0},source_line_start:{type:"integer",description:"The line number where the chunk starts",nullable:!0},source_line_end:{type:"integer",description:"The line number where the chunk ends",nullable:!0},type:{type:"string",description:"The type of the chunk",enum:["text","image","table","chart","diagram","code","other"],nullable:!0},page_number:{type:"integer",description:"The page number of the document part",nullable:!0},description:{type:"string",description:"The description of the document part, if it's an image, the exhaustive description of the image",nullable:!0},height:{type:"integer",description:"The height of the rendition",nullable:!0},width:{type:"integer",description:"The width of the rendition",nullable:!0}},required:["part_number"]};var q,L,j,G;!function(e){e.created="created",e.processing="processing",e.completed="completed",e.failed="failed",e.archived="archived"}(q||(q={})),function(e){e.single="single",e.multiple="multiple",e.none="none"}(L||(L={})),function(e){e.jpeg="jpeg",e.png="png",e.webp="webp"}(j||(j={})),function(e){e.docx="docx",e.pdf="pdf"}(G||(G={}));const P={TERMINATE:"TERMINATE",ABANDON:"ABANDON",REQUEST_CANCEL:"REQUEST_CANCEL",PARENT_CLOSE_POLICY_UNSPECIFIED:void 0,PARENT_CLOSE_POLICY_TERMINATE:"TERMINATE",PARENT_CLOSE_POLICY_ABANDON:"ABANDON",PARENT_CLOSE_POLICY_REQUEST_CANCEL:"REQUEST_CANCEL"};var K,z,F,B,W;function Y(e){return"objectIds"in e?e.objectIds:[]}!function(e){e.create="create",e.change_type="change_type",e.update="update",e.revision_created="revision_created",e.delete="delete",e.workflow_finished="workflow_finished",e.workflow_execution_request="workflow_execution_request",e.api_request="api_request"}(K||(K={})),function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.RUNNING=1]="RUNNING",e[e.COMPLETED=2]="COMPLETED",e[e.FAILED=3]="FAILED",e[e.CANCELED=4]="CANCELED",e[e.TERMINATED=5]="TERMINATED",e[e.CONTINUED_AS_NEW=6]="CONTINUED_AS_NEW",e[e.TIMED_OUT=7]="TIMED_OUT"}(z||(z={})),function(e){e.SYSTEM="system",e.THOUGHT="thought",e.PLAN="plan",e.UPDATE="update",e.COMPLETE="complete",e.WARNING="warning",e.ERROR="error",e.ANSWER="answer",e.QUESTION="question",e.REQUEST_INPUT="request_input",e.IDLE="idle"}(F||(F={})),function(e){e.created="created",e.building="building",e.prepared="prepared",e.processing="processing",e.completed="completed",e.cancelled="cancelled",e.failed="failed"}(B||(B={})),function(e){e.userInvite="user-invite",e.migration="migration"}(W||(W={}));const V="id name email picture";var Z,Q;!function(e){e.aws="aws",e.gcp="gcp",e.azure="azure"}(Z||(Z={})),function(e){e.stripe="stripe",e.invoice="invoice"}(Q||(Q={}));const H="id name";function X(e,t){return e.slice(-6)+"_"+t.slice(-6)}function J(e){return X(e.account,e.id)}var $,ee,te,oe,ie,ue,ae;!function(e){e.max_tokens="max_tokens",e.temperature="temperature",e.top_p="top_p",e.top_k="top_k",e.presence_penalty="presence_penalty",e.frequency_penalty="frequency_penalty",e.stop_sequence="stop_sequence",e.seed="seed",e.number_of_images="number_of_images"}($||($={})),function(e){e.numeric="numeric",e.enum="enum",e.boolean="boolean",e.string_list="string_list"}(ee||(ee={})),function(e){e.safety="safety",e.system="system",e.user="user",e.assistant="assistant",e.negative="negative",e.mask="mask",e.tool="tool"}(te||(te={})),function(e){e.text="text",e.image="image"}(oe||(oe={})),function(e){e.Available="available",e.Pending="pending",e.Stopped="stopped",e.Unavailable="unavailable",e.Unknown="unknown",e.Legacy="legacy"}(ie||(ie={})),function(e){e.Classifier="classifier",e.Regressor="regressor",e.Clustering="clustering",e.AnomalyDetection="anomaly-detection",e.TimeSeries="time-series",e.Text="text",e.Image="image",e.Audio="audio",e.Video="video",e.Embedding="embedding",e.Chat="chat",e.Code="code",e.NLP="nlp",e.MultiModal="multi-modal",e.Test="test",e.Other="other",e.Unknown="unknown"}(ue||(ue={})),function(e){e.running="running",e.succeeded="succeeded",e.failed="failed",e.cancelled="cancelled"}(ae||(ae={}));const de={"foundation-model/ai21.jamba-1-5-large-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/ai21.jamba-1-5-mini-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/ai21.jamba-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/amazon.nova-canvas-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{image:!0,text:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/amazon.nova-lite-v1:0":{input:{text:!0,image:!0,video:!0,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/amazon.nova-micro-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/amazon.nova-pro-v1:0":{input:{text:!0,image:!0,video:!0,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/amazon.titan-text-express-v1":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/amazon.titan-text-lite-v1":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/amazon.titan-text-premier-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/amazon.titan-tg1-large":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/anthropic.claude-3-5-haiku-20241022-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/anthropic.claude-3-5-sonnet-20240620-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/anthropic.claude-3-5-sonnet-20241022-v2:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/anthropic.claude-3-haiku-20240307-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/anthropic.claude-3-opus-20240229-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/anthropic.claude-3-sonnet-20240229-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/anthropic.claude-instant-v1":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/anthropic.claude-v2":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/anthropic.claude-v2:1":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/cohere.command-light-text-v14":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/cohere.command-r-plus-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/cohere.command-r-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/cohere.command-text-v14":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/meta.llama3-1-405b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/meta.llama3-1-70b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/meta.llama3-1-8b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/meta.llama3-70b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/meta.llama3-8b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/mistral.mixtral-8x7b-instruct-v0:1":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/mistral.mistral-7b-instruct-v0:2":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/mistral.mistral-large-2402-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/mistral.mistral-large-2407-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/mistral.mistral-small-2402-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.amazon.nova-lite-v1:0":{input:{text:!0,image:!0,video:!0,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"inference-profile/us.amazon.nova-micro-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"inference-profile/us.amazon.nova-premier-v1:0":{input:{text:!0,image:!0,video:!0,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"inference-profile/us.amazon.nova-pro-v1:0":{input:{text:!0,image:!0,video:!0,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"inference-profile/us.anthropic.claude-3-5-haiku-20241022-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.anthropic.claude-3-5-sonnet-20240620-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"inference-profile/us.anthropic.claude-3-5-sonnet-20241022-v2:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"inference-profile/us.anthropic.claude-3-7-sonnet-20250219-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"inference-profile/us.anthropic.claude-3-haiku-20240307-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.anthropic.claude-3-opus-20240229-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.anthropic.claude-3-sonnet-20240229-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.anthropic.claude-opus-4-20250514-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.anthropic.claude-sonnet-4-20250514-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.deepseek.r1-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama3-1-70b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama3-1-8b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama3-2-1b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama3-2-11b-instruct-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.meta.llama3-2-3b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama3-2-90b-instruct-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.meta.llama3-3-70b-instruct-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama4-maverick-17b-instruct-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama4-scout-17b-instruct-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.mistral.pixtral-large-2502-v1:0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.writer.palmyra-x4-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.writer.palmyra-x5-v1:0":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1}},ne={"foundation-model/ai21.jamba":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/amazon.nova":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!1,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/amazon.titan":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/anthropic.claude":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/anthropic.claude-3":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/anthropic.claude-3-5":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/anthropic.claude-3-7":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"foundation-model/cohere.command":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/meta.llama3":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/mistral.mistral":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"foundation-model/mistral.mistral-large":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"foundation-model/mistral.mixtral":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.anthropic.claude-3-haiku":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.anthropic.claude-3-5-sonnet":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!0},"inference-profile/us.anthropic.claude-3-opus":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.anthropic.claude-3-sonnet":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.anthropic.claude":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.deepseek.r1":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama3":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama4-maverick-17b":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.meta.llama4-scout-17b":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1,tool_support_streaming:!1},"inference-profile/us.mistral.pixtral":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1},"inference-profile/us.writer.palmyra":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0,tool_support_streaming:!1}};const pe=["image"],re=["video"],me=["audio"],se=["text"],le=["image"],ge=["video"],_e=["audio"],ce=["text"],ve=["embed"],be=["tool","sonnet","opus","nova","palmyra","command-r","mistral-large","pixtral"];function xe(e,t){return t.some((t=>e.includes(t)))}function fe(e){let t=e;if(/^arn:aws:bedrock:[^:]+:[^:]*:(inference-profile|foundation-model)\/.+/i.test(e)){const o=e.lastIndexOf("foundation-model/"),i=e.lastIndexOf("inference-profile/");-1!==o?t=e.substring(o):-1!==i&&(t=e.substring(i))}t.startsWith("inference-profile/")&&(t=t.replace(/^inference-profile\/[^.]+\./,"inference-profile/us."));const o=de[t];if(o)return o;let i,u=0;for(const e of Object.keys(ne))t.startsWith(e)&&e.length>u&&(i=e,u=e.length);if(i)return ne[i];t=function(e){const t=e.toLowerCase();if(t.includes("inference-profile")){const e=t.split("/");if(e.length>1){const t=e[e.length-1],o=t.split(".");return o.length>1&&"deepseek"===o[1]?`deepseek-${o.slice(2).join(".")}`:o.length>2?o.slice(2).join("."):t}}return t}(t);return{input:{text:xe(t,se)||void 0,image:xe(t,pe)||void 0,video:xe(t,re)||void 0,audio:xe(t,me)||void 0,embed:!1},output:{text:xe(t,ce)||void 0,image:xe(t,le)||void 0,video:xe(t,ge)||void 0,audio:xe(t,_e)||void 0,embed:xe(t,ve)||void 0},tool_support:xe(t,be)||void 0}}const he={"chatgpt-4o-latest":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-3.5-turbo":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-3.5-turbo-0125":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-3.5-turbo-1106":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-3.5-turbo-16k":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-3.5-turbo-instruct":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-3.5-turbo-instruct-0914":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4-0125-preview":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4-0613":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4-1106-preview":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4-turbo":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4-turbo-2024-04-09":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4-turbo-preview":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4.1":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4.1-2025-04-14":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4.1-mini":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4.1-mini-2025-04-14":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4.1-nano":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4.1-nano-2025-04-14":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4.5-preview":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4.5-preview-2025-02-27":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o-2024-05-13":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o-2024-08-06":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o-2024-11-20":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o-mini":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o-mini-2024-07-18":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o-mini-search-preview":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o-mini-search-preview-2025-03-11":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o-search-preview":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o-search-preview-2025-03-11":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-image-1":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!1,image:!0,video:!1,audio:!1,embed:!1},tool_support:!1},o1:{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o1-2024-12-17":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o1-mini":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"o1-mini-2024-09-12":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"o1-preview":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o1-preview-2024-09-12":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o1-pro":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o1-pro-2025-03-19":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},o3:{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o3-2025-04-16":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o3-mini":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o3-mini-2025-01-31":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o4-mini":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o4-mini-2025-04-16":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0}},Ee={"gpt-3.5-turbo":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gpt-4.1":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4.5":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gpt-4o":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},o1:{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o1-mini":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"o1-pro":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},o3:{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o3-mini":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"o4-mini":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0}},Ne=["image"],Te=["video"],Ie=["audio"],Oe=["text"],Ae=["image"],De=["video"],ye=["audio"],Ce=["text"],Ue=["embed"],Re=["tool","o1","o3","o4","gpt-4.1","gpt-4o"];function Se(e,t){return t.some((t=>e.includes(t)))}function we(e){const t=e.toLowerCase();const o=he[t];if(o)return o;let i,u=0;for(const e of Object.keys(Ee))t.startsWith(e)&&e.length>u&&(i=e,u=e.length);if(i)return Ee[i];return{input:{text:Se(t,Oe)||void 0,image:Se(t,Ne)||void 0,video:Se(t,Te)||void 0,audio:Se(t,Ie)||void 0,embed:!1},output:{text:Se(t,Ce)||void 0,image:Se(t,Ae)||void 0,video:Se(t,De)||void 0,audio:Se(t,ye)||void 0,embed:Se(t,Ue)||void 0},tool_support:Se(t,Re)||void 0}}const ke={"imagen-3.0-generate-002":{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!1,image:!0,video:!1,audio:!1,embed:!1},tool_support:!1},"imagen-3.0-capability-001":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!1,image:!0,video:!1,audio:!1,embed:!1},tool_support:!1},"gemini-1.5-flash-002":{input:{text:!0,image:!0,video:!0,audio:!0,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gemini-1.5-pro-002":{input:{text:!0,image:!0,video:!0,audio:!0,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gemini-2.0-flash-001":{input:{text:!0,image:!0,video:!0,audio:!0,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gemini-2.0-flash-lite-001":{input:{text:!0,image:!0,video:!0,audio:!0,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1},"gemini-2.5-flash-preview-04-17":{input:{text:!0,image:!0,video:!0,audio:!0,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gemini-2.5-pro-preview-05-06":{input:{text:!0,image:!0,video:!0,audio:!0,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-3-opus":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-3-haiku":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-3-5-sonnet":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-3-5-haiku":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-3-5-sonnet-v2":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-3-7-sonnet":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-opus-4":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-sonnet-4":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0}},Me={"gemini-1.5":{input:{text:!0,image:!0,video:!0,audio:!0,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gemini-2.0":{input:{text:!0,image:!0,video:!0,audio:!0,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"gemini-2.5":{input:{text:!0,image:!0,video:!0,audio:!0,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"imagen-3.0":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!1,image:!0,video:!1,audio:!1,embed:!1},tool_support:!1},"claude-3-5":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-3-7":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},"claude-3":{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},claude:{input:{text:!0,image:!0,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!0},llama:{input:{text:!0,image:!1,video:!1,audio:!1,embed:!1},output:{text:!0,image:!1,video:!1,audio:!1,embed:!1},tool_support:!1}},qe=["image"],Le=["video"],je=["audio"],Ge=["text"],Pe=["image"],Ke=["video"],ze=["audio"],Fe=["text"],Be=["embed"],We=["tool","sonnet","opus","gemini","claude-3-5","claude-3-7"];function Ye(e,t){return t.some((t=>e.includes(t)))}function Ve(e){const t=function(e){const t=e.toLowerCase().split("/");return t[t.length-1]}(e),o=ke[t];if(o)return o;let i,u=0;for(const e of Object.keys(Me))t.startsWith(e)&&e.length>u&&(i=e,u=e.length);if(i)return Me[i];return{input:{text:Ye(t,Ge)||void 0,image:Ye(t,qe)||void 0,video:Ye(t,Le)||void 0,audio:Ye(t,je)||void 0,embed:!1},output:{text:Ye(t,Fe)||void 0,image:Ye(t,Pe)||void 0,video:Ye(t,Ke)||void 0,audio:Ye(t,ze)||void 0,embed:Ye(t,Be)||void 0},tool_support:Ye(t,We)||void 0}}function Ze(e,t){const o=function(e,t){switch(t?.toLowerCase()){case"vertexai":return Ve(e);case"openai":return we(e);case"bedrock":return fe(e);default:return e.startsWith("gpt")?we(e):e.startsWith("publishers/")?Ve(e):e.startsWith("arn:aws")?fe(e):{input:{},output:{}}}}(e,t);return o.input.audio=!1,o.output.audio=!1,o.output.video=!1,o.tool_support_streaming=!1,o}function Qe(e,t,o=!1){const i=Ze(e,t);return o?!!i.tool_support_streaming:!!i.tool_support}var He,Xe;function Je(e){const t={};let o=[];for(const i of e)if(i.properties){if(i.required)for(const e of i.required)o.includes(e)||o.push(e);Object.assign(t,i.properties)}return Object.keys(t).length>0?{properties:t,required:o,type:"object"}:null}function $e(e){const t={};let o=[];for(const i of e)if(i.template?.inputSchema?.properties){const e=i.template?.inputSchema;if(e.required)for(const t of e.required)o.includes(t)||o.push(t);Object.assign(t,e.properties)}else i.type===C.chat&&(Object.assign(t,{chat:{type:"array",items:{type:"object",properties:{role:{type:"string",enum:[te.assistant,te.user]},content:{type:"string"}},required:["role","content"]}}}),o.push("chat"));return Object.keys(t).length>0?{properties:t,required:o}:null}function et(e){return e.prompts?$e(e.prompts):null}$.max_tokens,ee.numeric,$.temperature,ee.numeric,$.top_p,ee.numeric,$.top_k,ee.numeric,$.presence_penalty,ee.numeric,$.frequency_penalty,ee.numeric,$.stop_sequence,ee.string_list,function(e){e.TEXT_IMAGE="TEXT_IMAGE",e.EDIT_MODE_INPAINT_REMOVAL="EDIT_MODE_INPAINT_REMOVAL",e.EDIT_MODE_INPAINT_INSERTION="EDIT_MODE_INPAINT_INSERTION",e.EDIT_MODE_BGSWAP="EDIT_MODE_BGSWAP",e.EDIT_MODE_OUTPAINT="EDIT_MODE_OUTPAINT",e.CUSTOMIZATION_SUBJECT="CUSTOMIZATION_SUBJECT",e.CUSTOMIZATION_STYLE="CUSTOMIZATION_STYLE",e.CUSTOMIZATION_CONTROLLED="CUSTOMIZATION_CONTROLLED",e.CUSTOMIZATION_INSTRUCT="CUSTOMIZATION_INSTRUCT"}(He||(He={})),function(e){e.MASK_MODE_USER_PROVIDED="MASK_MODE_USER_PROVIDED",e.MASK_MODE_BACKGROUND="MASK_MODE_BACKGROUND",e.MASK_MODE_FOREGROUND="MASK_MODE_FOREGROUND",e.MASK_MODE_SEMANTIC="MASK_MODE_SEMANTIC"}(Xe||(Xe={}));export{t as AccessControlledResource,H as AccountRefPopulate,F as AgentMessageType,o as ApiKeyTypes,Q as BillingMethod,S as CollectionStatus,b as ConfigModes,x as ConfigModesDescription,f as ConfigModesOptions,K as ContentEventName,q as ContentObjectStatus,Z as Datacenters,M as DocumentPartSchema,d as ExecutionEnvironmentRefPopulate,v as ExecutionRunRefSelect,s as ExecutionRunStatus,j as ImageRenditionFormat,p as InteractionRefPopulate,r as InteractionRefWithSchemaPopulate,m as InteractionStatus,G as MarkdownRenditionFormat,h as MeterNames,P as ParentClosePolicy,e as Permission,i as PrincipalType,O as Progress,D as ProjectRefPopulate,E as ProjectRoles,C as PromptSegmentDefType,y as PromptStatus,k as RenditionSchema,R as ResolvableRefType,N as ResourceVisibility,g as RunDataStorageDescription,l as RunDataStorageLevel,_ as RunDataStorageOptions,c as RunSourceTypes,T as SupportedEmbeddingTypes,n as SupportedIntegrations,u as SupportedProviders,a as SupportedProvidersList,U as TemplateType,B as TrainingSessionStatus,W as TransientTokenType,V as UserRefPopulate,w as WorkflowDefinitionRefPopulate,z as WorkflowExecutionStatus,L as WorkflowRuleInputType,$e as _mergePromptsSchema,Y as getDocumentIds,X as getTenantId,J as getTenantIdFromProject,A as isRoleIncludedIn,Je as mergeJSONSchemas,et as mergePromptsSchema,Qe as supportsToolUse};
2
2
  //# sourceMappingURL=vertesia-common.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vertesia-common.js","sources":["../src/access-control.ts","../src/apikey.ts","../src/environment.ts","../src/integrations.ts","../src/interaction.ts","../src/meters.ts","../src/project.ts","../src/Progress.ts","../src/prompt.ts","../src/refs.ts","../src/store/collections.ts","../src/store/dsl-workflow.ts","../src/store/object-types.ts","../src/store/store.ts","../src/store/temporalio.ts","../src/store/workflow.ts","../src/training.ts","../src/transient-tokens.ts","../src/user.ts","../src/utils/auth.ts","../../../llumiverse/common/lib/esm/types.js","../../../llumiverse/common/lib/esm/options/vertexai.js","../src/utils/schemas.ts","../../../llumiverse/common/lib/esm/options/fallback.js"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"//Common names to share between different models\nexport var SharedOptions;\n(function (SharedOptions) {\n //Text\n SharedOptions[\"max_tokens\"] = \"max_tokens\";\n SharedOptions[\"temperature\"] = \"temperature\";\n SharedOptions[\"top_p\"] = \"top_p\";\n SharedOptions[\"top_k\"] = \"top_k\";\n SharedOptions[\"presence_penalty\"] = \"presence_penalty\";\n SharedOptions[\"frequency_penalty\"] = \"frequency_penalty\";\n SharedOptions[\"stop_sequence\"] = \"stop_sequence\";\n //Image\n SharedOptions[\"seed\"] = \"seed\";\n SharedOptions[\"number_of_images\"] = \"number_of_images\";\n})(SharedOptions || (SharedOptions = {}));\nexport var OptionType;\n(function (OptionType) {\n OptionType[\"numeric\"] = \"numeric\";\n OptionType[\"enum\"] = \"enum\";\n OptionType[\"boolean\"] = \"boolean\";\n OptionType[\"string_list\"] = \"string_list\";\n})(OptionType || (OptionType = {}));\n// ============== Prompts ===============\nexport var PromptRole;\n(function (PromptRole) {\n PromptRole[\"safety\"] = \"safety\";\n PromptRole[\"system\"] = \"system\";\n PromptRole[\"user\"] = \"user\";\n PromptRole[\"assistant\"] = \"assistant\";\n PromptRole[\"negative\"] = \"negative\";\n PromptRole[\"mask\"] = \"mask\";\n /**\n * Used to send the response of a tool\n */\n PromptRole[\"tool\"] = \"tool\";\n})(PromptRole || (PromptRole = {}));\nexport var Modalities;\n(function (Modalities) {\n Modalities[\"text\"] = \"text\";\n Modalities[\"image\"] = \"image\";\n})(Modalities || (Modalities = {}));\nexport var AIModelStatus;\n(function (AIModelStatus) {\n AIModelStatus[\"Available\"] = \"available\";\n AIModelStatus[\"Pending\"] = \"pending\";\n AIModelStatus[\"Stopped\"] = \"stopped\";\n AIModelStatus[\"Unavailable\"] = \"unavailable\";\n AIModelStatus[\"Unknown\"] = \"unknown\";\n AIModelStatus[\"Legacy\"] = \"legacy\";\n})(AIModelStatus || (AIModelStatus = {}));\nexport var ModelType;\n(function (ModelType) {\n ModelType[\"Classifier\"] = \"classifier\";\n ModelType[\"Regressor\"] = \"regressor\";\n ModelType[\"Clustering\"] = \"clustering\";\n ModelType[\"AnomalyDetection\"] = \"anomaly-detection\";\n ModelType[\"TimeSeries\"] = \"time-series\";\n ModelType[\"Text\"] = \"text\";\n ModelType[\"Image\"] = \"image\";\n ModelType[\"Audio\"] = \"audio\";\n ModelType[\"Video\"] = \"video\";\n ModelType[\"Embedding\"] = \"embedding\";\n ModelType[\"Chat\"] = \"chat\";\n ModelType[\"Code\"] = \"code\";\n ModelType[\"NLP\"] = \"nlp\";\n ModelType[\"MultiModal\"] = \"multi-modal\";\n ModelType[\"Test\"] = \"test\";\n ModelType[\"Other\"] = \"other\";\n ModelType[\"Unknown\"] = \"unknown\";\n})(ModelType || (ModelType = {}));\nexport var TrainingJobStatus;\n(function (TrainingJobStatus) {\n TrainingJobStatus[\"running\"] = \"running\";\n TrainingJobStatus[\"succeeded\"] = \"succeeded\";\n TrainingJobStatus[\"failed\"] = \"failed\";\n TrainingJobStatus[\"cancelled\"] = \"cancelled\";\n})(TrainingJobStatus || (TrainingJobStatus = {}));\n//# sourceMappingURL=types.js.map","import { OptionType, SharedOptions } from \"../types.js\";\nimport { textOptionsFallback } from \"./fallback.js\";\nexport var ImagenTaskType;\n(function (ImagenTaskType) {\n ImagenTaskType[\"TEXT_IMAGE\"] = \"TEXT_IMAGE\";\n ImagenTaskType[\"EDIT_MODE_INPAINT_REMOVAL\"] = \"EDIT_MODE_INPAINT_REMOVAL\";\n ImagenTaskType[\"EDIT_MODE_INPAINT_INSERTION\"] = \"EDIT_MODE_INPAINT_INSERTION\";\n ImagenTaskType[\"EDIT_MODE_BGSWAP\"] = \"EDIT_MODE_BGSWAP\";\n ImagenTaskType[\"EDIT_MODE_OUTPAINT\"] = \"EDIT_MODE_OUTPAINT\";\n ImagenTaskType[\"CUSTOMIZATION_SUBJECT\"] = \"CUSTOMIZATION_SUBJECT\";\n ImagenTaskType[\"CUSTOMIZATION_STYLE\"] = \"CUSTOMIZATION_STYLE\";\n ImagenTaskType[\"CUSTOMIZATION_CONTROLLED\"] = \"CUSTOMIZATION_CONTROLLED\";\n ImagenTaskType[\"CUSTOMIZATION_INSTRUCT\"] = \"CUSTOMIZATION_INSTRUCT\";\n})(ImagenTaskType || (ImagenTaskType = {}));\nexport var ImagenMaskMode;\n(function (ImagenMaskMode) {\n ImagenMaskMode[\"MASK_MODE_USER_PROVIDED\"] = \"MASK_MODE_USER_PROVIDED\";\n ImagenMaskMode[\"MASK_MODE_BACKGROUND\"] = \"MASK_MODE_BACKGROUND\";\n ImagenMaskMode[\"MASK_MODE_FOREGROUND\"] = \"MASK_MODE_FOREGROUND\";\n ImagenMaskMode[\"MASK_MODE_SEMANTIC\"] = \"MASK_MODE_SEMANTIC\";\n})(ImagenMaskMode || (ImagenMaskMode = {}));\nexport function getVertexAiOptions(model, option) {\n if (model.includes(\"imagen-3.0\")) {\n const commonOptions = [\n {\n name: SharedOptions.number_of_images, type: OptionType.numeric, min: 1, max: 4, default: 1,\n integer: true, description: \"Number of Images to generate\",\n },\n {\n name: SharedOptions.seed, type: OptionType.numeric, min: 0, max: 4294967295, default: 12,\n integer: true, description: \"The seed of the generated image\"\n },\n {\n name: \"person_generation\", type: OptionType.enum, enum: { \"Disallow the inclusion of people or faces in images\": \"dont_allow\", \"Allow generation of adults only\": \"allow_adult\", \"Allow generation of people of all ages\": \"allow_all\" },\n default: \"allow_adult\", description: \"The safety setting for allowing the generation of people in the image\"\n },\n {\n name: \"safety_setting\", type: OptionType.enum, enum: { \"Block very few problematic prompts and responses\": \"block_none\", \"Block only few problematic prompts and responses\": \"block_only_high\", \"Block some problematic prompts and responses\": \"block_medium_and_above\", \"Strictest filtering\": \"block_low_and_above\" },\n default: \"block_medium_and_above\", description: \"The overall safety setting\"\n },\n ];\n const outputOptions = [\n {\n name: \"image_file_type\", type: OptionType.enum, enum: { \"JPEG\": \"image/jpeg\", \"PNG\": \"image/png\" },\n default: \"image/png\", description: \"The file type of the generated image\",\n refresh: true,\n },\n ];\n const jpegQuality = {\n name: \"jpeg_compression_quality\", type: OptionType.numeric, min: 0, max: 100, default: 75,\n integer: true, description: \"The compression quality of the JPEG image\",\n };\n if (option?.image_file_type === \"image/jpeg\") {\n outputOptions.push(jpegQuality);\n }\n if (model.includes(\"generate\")) {\n //Generate models\n const modeOptions = [\n {\n name: \"aspect_ratio\", type: OptionType.enum, enum: { \"1:1\": \"1:1\", \"4:3\": \"4:3\", \"3:4\": \"3:4\", \"16:9\": \"16:9\", \"9:16\": \"9:16\" },\n default: \"1:1\", description: \"The aspect ratio of the generated image\"\n },\n {\n name: \"add_watermark\", type: OptionType.boolean, default: false, description: \"Add an invisible watermark to the generated image, useful for detection of AI images\"\n },\n ];\n const enhanceOptions = !model.includes(\"generate-001\") ? [\n {\n name: \"enhance_prompt\", type: OptionType.boolean, default: true, description: \"VertexAI automatically rewrites the prompt to better reflect the prompt's intent.\"\n },\n ] : [];\n return {\n _option_id: \"vertexai-imagen\",\n options: [\n ...commonOptions,\n ...modeOptions,\n ...outputOptions,\n ...enhanceOptions,\n ]\n };\n }\n if (model.includes(\"capability\")) {\n //Edit models\n let guidanceScaleDefault = 75;\n if (option?.edit_mode === ImagenTaskType.EDIT_MODE_INPAINT_INSERTION) {\n guidanceScaleDefault = 60;\n }\n const modeOptions = [\n {\n name: \"edit_mode\", type: OptionType.enum,\n enum: {\n \"EDIT_MODE_INPAINT_REMOVAL\": \"EDIT_MODE_INPAINT_REMOVAL\",\n \"EDIT_MODE_INPAINT_INSERTION\": \"EDIT_MODE_INPAINT_INSERTION\",\n \"EDIT_MODE_BGSWAP\": \"EDIT_MODE_BGSWAP\",\n \"EDIT_MODE_OUTPAINT\": \"EDIT_MODE_OUTPAINT\",\n \"CUSTOMIZATION_SUBJECT\": \"CUSTOMIZATION_SUBJECT\",\n \"CUSTOMIZATION_STYLE\": \"CUSTOMIZATION_STYLE\",\n \"CUSTOMIZATION_CONTROLLED\": \"CUSTOMIZATION_CONTROLLED\",\n \"CUSTOMIZATION_INSTRUCT\": \"CUSTOMIZATION_INSTRUCT\",\n },\n description: \"The editing mode. CUSTOMIZATION options use few-shot learning to generate images based on a few examples.\"\n },\n {\n name: \"guidance_scale\", type: OptionType.numeric, min: 0, max: 500, default: guidanceScaleDefault,\n integer: true, description: \"How closely the generation follows the prompt\"\n }\n ];\n const maskOptions = (option?.edit_mode?.includes(\"EDIT\")) ? [\n {\n name: \"mask_mode\", type: OptionType.enum,\n enum: {\n \"MASK_MODE_USER_PROVIDED\": \"MASK_MODE_USER_PROVIDED\",\n \"MASK_MODE_BACKGROUND\": \"MASK_MODE_BACKGROUND\",\n \"MASK_MODE_FOREGROUND\": \"MASK_MODE_FOREGROUND\",\n \"MASK_MODE_SEMANTIC\": \"MASK_MODE_SEMANTIC\",\n },\n default: \"MASK_MODE_USER_PROVIDED\",\n description: \"How should the mask for the generation be provided\"\n },\n {\n name: \"mask_dilation\", type: OptionType.numeric, min: 0, max: 1,\n integer: true, description: \"The mask dilation, grows the mask by a percentage of image width to compensate for imprecise masks.\"\n },\n ] : [];\n const maskClassOptions = (option?.mask_mode === ImagenMaskMode.MASK_MODE_SEMANTIC) ? [\n {\n name: \"mask_class\", type: OptionType.string_list, default: [],\n description: \"Input Class IDs. Create a mask based on image class, based on https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api-customization#segment-ids\"\n }\n ] : [];\n const editOptions = option?.edit_mode?.includes(\"EDIT\") ? [\n {\n name: \"edit_steps\", type: OptionType.numeric, default: 75,\n integer: true, description: \"The number of steps for the base image generation, more steps means more time and better quality\"\n },\n ] : [];\n const customizationOptions = option?.edit_mode === ImagenTaskType.CUSTOMIZATION_CONTROLLED\n || option?.edit_mode === ImagenTaskType.CUSTOMIZATION_SUBJECT ? [\n {\n name: \"controlType\", type: OptionType.enum, enum: { \"Face Mesh\": \"CONTROL_TYPE_FACE_MESH\", \"Canny\": \"CONTROL_TYPE_CANNY\", \"Scribble\": \"CONTROL_TYPE_SCRIBBLE\" },\n default: \"CONTROL_TYPE_CANNY\", description: \"Method used to generate the control image\"\n },\n {\n name: \"controlImageComputation\", type: OptionType.boolean, default: true, description: \"Should the control image be computed from the input image, or is it provided\"\n }\n ] : [];\n return {\n _option_id: \"vertexai-imagen\",\n options: [\n ...modeOptions,\n ...commonOptions,\n ...maskOptions,\n ...maskClassOptions,\n ...editOptions,\n ...customizationOptions,\n ...outputOptions,\n ]\n };\n }\n }\n else if (model.includes(\"gemini\")) {\n const max_tokens_limit = getGeminiMaxTokensLimit(model);\n const excludeOptions = [\"max_tokens\", \"presence_penalty\"];\n let commonOptions = textOptionsFallback.options.filter((option) => !excludeOptions.includes(option.name));\n if (model.includes(\"1.5\")) {\n commonOptions = commonOptions.filter((option) => option.name !== \"frequency_penalty\");\n }\n const max_tokens = [{\n name: SharedOptions.max_tokens, type: OptionType.numeric, min: 1, max: max_tokens_limit,\n integer: true, step: 200, description: \"The maximum number of tokens to generate\"\n }];\n return {\n _option_id: \"text-fallback\",\n options: [\n ...max_tokens,\n ...commonOptions,\n ]\n };\n }\n else if (model.includes(\"claude\")) {\n const max_tokens_limit = getClaudeMaxTokensLimit(model, option);\n const excludeOptions = [\"max_tokens\", \"presence_penalty\", \"frequency_penalty\"];\n let commonOptions = textOptionsFallback.options.filter((option) => !excludeOptions.includes(option.name));\n const max_tokens = [{\n name: SharedOptions.max_tokens, type: OptionType.numeric, min: 1, max: max_tokens_limit,\n integer: true, step: 200, description: \"The maximum number of tokens to generate\"\n }];\n if (model.includes(\"-3-7\") || model.includes(\"-4\")) {\n const claudeModeOptions = [\n {\n name: \"thinking_mode\",\n type: OptionType.boolean,\n default: false,\n description: \"If true, use the extended reasoning mode\"\n },\n ];\n const claudeThinkingOptions = option?.thinking_mode ? [\n {\n name: \"thinking_budget_tokens\",\n type: OptionType.numeric,\n min: 1024,\n default: 4000,\n integer: true,\n step: 100,\n description: \"The target number of tokens to use for reasoning, not a hard limit.\"\n },\n ] : [];\n return {\n _option_id: \"vertexai-claude\",\n options: [\n ...max_tokens,\n ...commonOptions,\n ...claudeModeOptions,\n ...claudeThinkingOptions,\n ]\n };\n }\n return {\n _option_id: \"vertexai-claude\",\n options: [\n ...max_tokens,\n ...commonOptions,\n ]\n };\n }\n else if (model.includes(\"llama\")) {\n const max_tokens_limit = getLlamaMaxTokensLimit(model);\n const excludeOptions = [\"max_tokens\", \"presence_penalty\", \"frequency_penalty\", \"stop_sequence\"];\n let commonOptions = textOptionsFallback.options.filter((option) => !excludeOptions.includes(option.name));\n const max_tokens = [{\n name: SharedOptions.max_tokens, type: OptionType.numeric, min: 1, max: max_tokens_limit,\n integer: true, step: 200, description: \"The maximum number of tokens to generate\"\n }];\n //Set max temperature to 1.0 for Llama models\n commonOptions = commonOptions.map((option) => {\n if (option.name === SharedOptions.temperature &&\n option.type === OptionType.numeric) {\n return {\n ...option,\n max: 1.0,\n };\n }\n return option;\n });\n return {\n _option_id: \"text-fallback\",\n options: [\n ...max_tokens,\n ...commonOptions,\n ]\n };\n }\n return textOptionsFallback;\n}\nfunction getGeminiMaxTokensLimit(model) {\n if (model.includes(\"thinking\") || model.includes(\"-2.5-\")) {\n return 65536;\n }\n if (model.includes(\"ultra\") || model.includes(\"vision\")) {\n return 2048;\n }\n return 8192;\n}\nfunction getClaudeMaxTokensLimit(model, option) {\n if (model.includes(\"-4-\")) {\n if (model.includes(\"opus-\")) {\n return 32768;\n }\n return 65536;\n }\n else if (model.includes(\"-3-7-\")) {\n if (option && option?.thinking_mode) {\n return 131072;\n }\n else {\n return 8192;\n }\n }\n else if (model.includes(\"-3-5-\")) {\n return 8192;\n }\n else {\n return 4096;\n }\n}\nfunction getLlamaMaxTokensLimit(_model) {\n return 8192;\n}\n//# sourceMappingURL=vertexai.js.map",null,"import { OptionType, SharedOptions } from \"../types.js\";\nexport const textOptionsFallback = {\n _option_id: \"text-fallback\",\n options: [\n {\n name: SharedOptions.max_tokens, type: OptionType.numeric, min: 1,\n integer: true, step: 200, description: \"The maximum number of tokens to generate\"\n },\n {\n name: SharedOptions.temperature, type: OptionType.numeric, min: 0.0, default: 0.7,\n integer: false, step: 0.1, description: \"A higher temperature biases toward less likely tokens, making the model more creative\"\n },\n {\n name: SharedOptions.top_p, type: OptionType.numeric, min: 0, max: 1,\n integer: false, step: 0.1, description: \"Limits token sampling to the cumulative probability of the top p tokens\"\n },\n {\n name: SharedOptions.top_k, type: OptionType.numeric, min: 1,\n integer: true, step: 1, description: \"Limits token sampling to the top k tokens\"\n },\n {\n name: SharedOptions.presence_penalty, type: OptionType.numeric, min: -2.0, max: 2.0,\n integer: false, step: 0.1, description: \"Penalise tokens if they appear at least once in the text\"\n },\n {\n name: SharedOptions.frequency_penalty, type: OptionType.numeric, min: -2.0, max: 2.0,\n integer: false, step: 0.1, description: \"Penalise tokens based on their frequency in the text\"\n },\n { name: SharedOptions.stop_sequence, type: OptionType.string_list, value: [], description: \"The generation will halt if one of the stop sequences is output\" },\n ]\n};\n//# sourceMappingURL=fallback.js.map"],"names":["Permission","AccessControlledResource","ApiKeyTypes","PrincipalType","SupportedProviders","SupportedProvidersList","openai","id","name","requiresApiKey","requiresEndpointUrl","supportSearch","azure_openai","huggingface_ie","replicate","bedrock","endpointPlaceholder","vertexai","togetherai","mistralai","groq","watsonx","virtual_lb","virtual_mediator","test","ExecutionEnvironmentRefPopulate","SupportedIntegrations","InteractionRefPopulate","InteractionRefWithSchemaPopulate","InteractionStatus","ExecutionRunStatus","RunDataStorageLevel","RunDataStorageDescription","RunDataStorageOptions","STANDARD","RESTRICTED","DEBUG","RunSourceTypes","ExecutionRunRefSelect","ConfigModes","ConfigModesDescription","ConfigModesOptions","RUN_AND_INTERACTION_CONFIG","RUN_CONFIG_ONLY","INTERACTION_CONFIG_ONLY","MeterNames","ProjectRoles","ResourceVisibility","SupportedEmbeddingTypes","ProgressSpan","constructor","parent","parentUnits","spanUnits","this","unitsDone","done","units","remaining","parentUnitsDone","Math","round","isDone","Progress","total","fraction","percent","span","isRoleIncludedIn","role","includingRole","owner","admin","billing","developer","ProjectRefPopulate","PromptStatus","PromptSegmentDefType","TemplateType","ResolvableRefType","CollectionStatus","WorkflowDefinitionRefPopulate","RenditionSchema","type","description","properties","mime_type","source_etag","nullable","height","width","multipart","default","total_parts","required","DocumentPartSchema","part_number","title","source_line_start","source_line_end","enum","page_number","ContentObjectStatus","WorkflowRuleInputType","ImageRenditionFormat","MarkdownRenditionFormat","ParentClosePolicy","TERMINATE","ABANDON","REQUEST_CANCEL","PARENT_CLOSE_POLICY_UNSPECIFIED","undefined","PARENT_CLOSE_POLICY_TERMINATE","PARENT_CLOSE_POLICY_ABANDON","PARENT_CLOSE_POLICY_REQUEST_CANCEL","ContentEventName","WorkflowExecutionStatus","AgentMessageType","TrainingSessionStatus","TransientTokenType","getDocumentIds","payload","objectIds","UserRefPopulate","Datacenters","BillingMethod","AccountRefPopulate","getTenantId","accountId","projectId","slice","getTenantIdFromProject","project","account","SharedOptions","OptionType","PromptRole","Modalities","AIModelStatus","ModelType","TrainingJobStatus","ImagenTaskType","ImagenMaskMode","mergeJSONSchemas","schemas","props","schema","prop","includes","push","Object","assign","keys","length","_mergePromptsSchema","prompts","prompt","template","inputSchema","chat","items","assistant","user","content","mergePromptsSchema","interaction","max_tokens","numeric","temperature","top_p","top_k","presence_penalty","frequency_penalty","stop_sequence","string_list"],"mappings":"IAQYA,EAgCAC,ECpCAC,EA2DAC,EC5DAC,GFKZ,SAAYJ,GACRA,EAAA,SAAA,mBACAA,EAAA,UAAA,oBACAA,EAAA,WAAA,qBAEAA,EAAA,YAAA,sBACAA,EAAA,SAAA,WACAA,EAAA,UAAA,YAEAA,EAAA,WAAA,qBAEAA,EAAA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GAAiB,CAAA"}
1
+ {"version":3,"file":"vertesia-common.js","sources":["../src/access-control.ts","../src/apikey.ts","../src/environment.ts","../src/integrations.ts","../src/interaction.ts","../src/meters.ts","../src/project.ts","../src/Progress.ts","../src/prompt.ts","../src/refs.ts","../src/store/collections.ts","../src/store/dsl-workflow.ts","../src/store/object-types.ts","../src/store/store.ts","../src/store/temporalio.ts","../src/store/workflow.ts","../src/training.ts","../src/transient-tokens.ts","../src/user.ts","../src/utils/auth.ts","../../../llumiverse/common/lib/esm/types.js","../../../llumiverse/common/lib/esm/capability/bedrock.js","../../../llumiverse/common/lib/esm/capability/openai.js","../../../llumiverse/common/lib/esm/capability/vertexai.js","../../../llumiverse/common/lib/esm/capability.js","../../../llumiverse/common/lib/esm/options/vertexai.js","../src/utils/schemas.ts","../../../llumiverse/common/lib/esm/options/fallback.js"],"sourcesContent":[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"//Common names to share between different models\nexport var SharedOptions;\n(function (SharedOptions) {\n //Text\n SharedOptions[\"max_tokens\"] = \"max_tokens\";\n SharedOptions[\"temperature\"] = \"temperature\";\n SharedOptions[\"top_p\"] = \"top_p\";\n SharedOptions[\"top_k\"] = \"top_k\";\n SharedOptions[\"presence_penalty\"] = \"presence_penalty\";\n SharedOptions[\"frequency_penalty\"] = \"frequency_penalty\";\n SharedOptions[\"stop_sequence\"] = \"stop_sequence\";\n //Image\n SharedOptions[\"seed\"] = \"seed\";\n SharedOptions[\"number_of_images\"] = \"number_of_images\";\n})(SharedOptions || (SharedOptions = {}));\nexport var OptionType;\n(function (OptionType) {\n OptionType[\"numeric\"] = \"numeric\";\n OptionType[\"enum\"] = \"enum\";\n OptionType[\"boolean\"] = \"boolean\";\n OptionType[\"string_list\"] = \"string_list\";\n})(OptionType || (OptionType = {}));\n// ============== Prompts ===============\nexport var PromptRole;\n(function (PromptRole) {\n PromptRole[\"safety\"] = \"safety\";\n PromptRole[\"system\"] = \"system\";\n PromptRole[\"user\"] = \"user\";\n PromptRole[\"assistant\"] = \"assistant\";\n PromptRole[\"negative\"] = \"negative\";\n PromptRole[\"mask\"] = \"mask\";\n /**\n * Used to send the response of a tool\n */\n PromptRole[\"tool\"] = \"tool\";\n})(PromptRole || (PromptRole = {}));\nexport var Modalities;\n(function (Modalities) {\n Modalities[\"text\"] = \"text\";\n Modalities[\"image\"] = \"image\";\n})(Modalities || (Modalities = {}));\nexport var AIModelStatus;\n(function (AIModelStatus) {\n AIModelStatus[\"Available\"] = \"available\";\n AIModelStatus[\"Pending\"] = \"pending\";\n AIModelStatus[\"Stopped\"] = \"stopped\";\n AIModelStatus[\"Unavailable\"] = \"unavailable\";\n AIModelStatus[\"Unknown\"] = \"unknown\";\n AIModelStatus[\"Legacy\"] = \"legacy\";\n})(AIModelStatus || (AIModelStatus = {}));\nexport var ModelType;\n(function (ModelType) {\n ModelType[\"Classifier\"] = \"classifier\";\n ModelType[\"Regressor\"] = \"regressor\";\n ModelType[\"Clustering\"] = \"clustering\";\n ModelType[\"AnomalyDetection\"] = \"anomaly-detection\";\n ModelType[\"TimeSeries\"] = \"time-series\";\n ModelType[\"Text\"] = \"text\";\n ModelType[\"Image\"] = \"image\";\n ModelType[\"Audio\"] = \"audio\";\n ModelType[\"Video\"] = \"video\";\n ModelType[\"Embedding\"] = \"embedding\";\n ModelType[\"Chat\"] = \"chat\";\n ModelType[\"Code\"] = \"code\";\n ModelType[\"NLP\"] = \"nlp\";\n ModelType[\"MultiModal\"] = \"multi-modal\";\n ModelType[\"Test\"] = \"test\";\n ModelType[\"Other\"] = \"other\";\n ModelType[\"Unknown\"] = \"unknown\";\n})(ModelType || (ModelType = {}));\nexport var TrainingJobStatus;\n(function (TrainingJobStatus) {\n TrainingJobStatus[\"running\"] = \"running\";\n TrainingJobStatus[\"succeeded\"] = \"succeeded\";\n TrainingJobStatus[\"failed\"] = \"failed\";\n TrainingJobStatus[\"cancelled\"] = \"cancelled\";\n})(TrainingJobStatus || (TrainingJobStatus = {}));\n//# sourceMappingURL=types.js.map","// Record of Bedrock model capabilities keyed by model ID.\nconst RECORD_MODEL_CAPABILITIES = {\n \"foundation-model/ai21.jamba-1-5-large-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/ai21.jamba-1-5-mini-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/ai21.jamba-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/amazon.nova-canvas-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { image: true, text: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/amazon.nova-lite-v1:0\": { input: { text: true, image: true, video: true, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/amazon.nova-micro-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/amazon.nova-pro-v1:0\": { input: { text: true, image: true, video: true, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/amazon.titan-text-express-v1\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/amazon.titan-text-lite-v1\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/amazon.titan-text-premier-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/amazon.titan-tg1-large\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/anthropic.claude-3-5-haiku-20241022-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/anthropic.claude-3-5-sonnet-20240620-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/anthropic.claude-3-5-sonnet-20241022-v2:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/anthropic.claude-3-haiku-20240307-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/anthropic.claude-3-opus-20240229-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/anthropic.claude-3-sonnet-20240229-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/anthropic.claude-instant-v1\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/anthropic.claude-v2\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/anthropic.claude-v2:1\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/cohere.command-light-text-v14\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/cohere.command-r-plus-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/cohere.command-r-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/cohere.command-text-v14\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/meta.llama3-1-405b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/meta.llama3-1-70b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/meta.llama3-1-8b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/meta.llama3-70b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/meta.llama3-8b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/mistral.mixtral-8x7b-instruct-v0:1\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/mistral.mistral-7b-instruct-v0:2\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/mistral.mistral-large-2402-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/mistral.mistral-large-2407-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/mistral.mistral-small-2402-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.amazon.nova-lite-v1:0\": { input: { text: true, image: true, video: true, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"inference-profile/us.amazon.nova-micro-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"inference-profile/us.amazon.nova-premier-v1:0\": { input: { text: true, image: true, video: true, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"inference-profile/us.amazon.nova-pro-v1:0\": { input: { text: true, image: true, video: true, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"inference-profile/us.anthropic.claude-3-5-haiku-20241022-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.anthropic.claude-3-5-sonnet-20240620-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"inference-profile/us.anthropic.claude-3-5-sonnet-20241022-v2:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"inference-profile/us.anthropic.claude-3-7-sonnet-20250219-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"inference-profile/us.anthropic.claude-3-haiku-20240307-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.anthropic.claude-3-opus-20240229-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.anthropic.claude-3-sonnet-20240229-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.anthropic.claude-opus-4-20250514-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.anthropic.claude-sonnet-4-20250514-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.deepseek.r1-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama3-1-70b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama3-1-8b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama3-2-1b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama3-2-11b-instruct-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.meta.llama3-2-3b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama3-2-90b-instruct-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.meta.llama3-3-70b-instruct-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama4-maverick-17b-instruct-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama4-scout-17b-instruct-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.mistral.pixtral-large-2502-v1:0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.writer.palmyra-x4-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.writer.palmyra-x5-v1:0\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false }\n};\n// Populate RECORD_FAMILY_CAPABILITIES as a const record (lowest common denominator for each family)\nconst RECORD_FAMILY_CAPABILITIES = {\n \"foundation-model/ai21.jamba\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/amazon.nova\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: false, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/amazon.titan\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/anthropic.claude\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/anthropic.claude-3\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/anthropic.claude-3-5\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/anthropic.claude-3-7\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"foundation-model/cohere.command\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/meta.llama3\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/mistral.mistral\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"foundation-model/mistral.mistral-large\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"foundation-model/mistral.mixtral\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.anthropic.claude-3-haiku\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.anthropic.claude-3-5-sonnet\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: true },\n \"inference-profile/us.anthropic.claude-3-opus\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.anthropic.claude-3-sonnet\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.anthropic.claude\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.deepseek.r1\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama3\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama4-maverick-17b\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.meta.llama4-scout-17b\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false, tool_support_streaming: false },\n \"inference-profile/us.mistral.pixtral\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false },\n \"inference-profile/us.writer.palmyra\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true, tool_support_streaming: false }\n};\n/**\n * Extract the model identifier from an ARN or inference profile\n * @param modelName The full model ARN or name\n * @returns The normalized model identifier\n */\nfunction normalizeModelName(modelName) {\n const modelLower = modelName.toLowerCase();\n if (modelLower.includes(\"inference-profile\")) {\n const parts = modelLower.split(\"/\");\n if (parts.length > 1) {\n const providerModel = parts[parts.length - 1];\n const modelParts = providerModel.split(\".\");\n if (modelParts.length > 1 && modelParts[1] === \"deepseek\") {\n return `deepseek-${modelParts.slice(2).join(\".\")}`;\n }\n return modelParts.length > 2 ? modelParts.slice(2).join(\".\") : providerModel;\n }\n }\n return modelLower;\n}\n// Fallback pattern lists for inferring modalities and tool support\nconst IMAGE_INPUT_MODELS = [\"image\"]; // fallback: if model id contains 'image', supports image input\nconst VIDEO_INPUT_MODELS = [\"video\"];\nconst AUDIO_INPUT_MODELS = [\"audio\"];\nconst TEXT_INPUT_MODELS = [\"text\"];\nconst IMAGE_OUTPUT_MODELS = [\"image\"];\nconst VIDEO_OUTPUT_MODELS = [\"video\"];\nconst AUDIO_OUTPUT_MODELS = [\"audio\"];\nconst TEXT_OUTPUT_MODELS = [\"text\"];\nconst EMBEDDING_OUTPUT_MODELS = [\"embed\"];\nconst TOOL_SUPPORT_MODELS = [\"tool\", \"sonnet\", \"opus\", \"nova\", \"palmyra\", \"command-r\", \"mistral-large\", \"pixtral\"];\nfunction modelMatches(modelName, patterns) {\n return patterns.some(pattern => modelName.includes(pattern));\n}\n/**\n * Get the full ModelCapabilities for a Bedrock model.\n * Checks RECORD_MODEL_CAPABILITIES first, then falls back to pattern-based inference.\n */\nexport function getModelCapabilitiesBedrock(model) {\n // Normalize ARN or inference-profile to model ID\n let normalized = model;\n const arnPattern = /^arn:aws:bedrock:[^:]+:[^:]*:(inference-profile|foundation-model)\\/.+/i;\n if (arnPattern.test(model)) {\n // Extract after last occurrence of 'foundation-model/' or 'inference-profile/'\n const foundationIdx = model.lastIndexOf('foundation-model/');\n const inferenceIdx = model.lastIndexOf('inference-profile/');\n if (foundationIdx !== -1) {\n normalized = model.substring(foundationIdx);\n }\n else if (inferenceIdx !== -1) {\n normalized = model.substring(inferenceIdx);\n }\n }\n // Standardize region for inference-profile to 'us' for record lookup\n // This allows support for different AWS regions by mapping all to 'us'\n if (normalized.startsWith(\"inference-profile/\")) {\n normalized = normalized.replace(/^inference-profile\\/[^.]+\\./, \"inference-profile/us.\");\n }\n // 1. Exact match in record\n const record = RECORD_MODEL_CAPABILITIES[normalized];\n if (record)\n return record;\n // 2. Fallback: find the longest matching family prefix in RECORD_FAMILY_CAPABILITIES\n let bestFamilyKey = undefined;\n let bestFamilyLength = 0;\n for (const key of Object.keys(RECORD_FAMILY_CAPABILITIES)) {\n if (normalized.startsWith(key) && key.length > bestFamilyLength) {\n bestFamilyKey = key;\n bestFamilyLength = key.length;\n }\n }\n if (bestFamilyKey) {\n return RECORD_FAMILY_CAPABILITIES[bestFamilyKey];\n }\n // 3. Fallback: infer from normalized name\n normalized = normalizeModelName(normalized);\n const input = {\n text: modelMatches(normalized, TEXT_INPUT_MODELS) || undefined,\n image: modelMatches(normalized, IMAGE_INPUT_MODELS) || undefined,\n video: modelMatches(normalized, VIDEO_INPUT_MODELS) || undefined,\n audio: modelMatches(normalized, AUDIO_INPUT_MODELS) || undefined,\n embed: false\n };\n const output = {\n text: modelMatches(normalized, TEXT_OUTPUT_MODELS) || undefined,\n image: modelMatches(normalized, IMAGE_OUTPUT_MODELS) || undefined,\n video: modelMatches(normalized, VIDEO_OUTPUT_MODELS) || undefined,\n audio: modelMatches(normalized, AUDIO_OUTPUT_MODELS) || undefined,\n embed: modelMatches(normalized, EMBEDDING_OUTPUT_MODELS) || undefined\n };\n const tool_support = modelMatches(normalized, TOOL_SUPPORT_MODELS) || undefined;\n return { input, output, tool_support };\n}\n//# sourceMappingURL=bedrock.js.map","// Record of OpenAI model capabilities keyed by model ID (lowercased)\nconst RECORD_MODEL_CAPABILITIES = {\n \"chatgpt-4o-latest\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-3.5-turbo\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-3.5-turbo-0125\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-3.5-turbo-1106\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-3.5-turbo-16k\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-3.5-turbo-instruct\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-3.5-turbo-instruct-0914\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4-0125-preview\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4-0613\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4-1106-preview\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4-turbo\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4-turbo-2024-04-09\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4-turbo-preview\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4.1\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4.1-2025-04-14\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4.1-mini\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4.1-mini-2025-04-14\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4.1-nano\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4.1-nano-2025-04-14\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4.5-preview\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4.5-preview-2025-02-27\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o-2024-05-13\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o-2024-08-06\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o-2024-11-20\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o-mini\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o-mini-2024-07-18\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o-mini-search-preview\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o-mini-search-preview-2025-03-11\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o-search-preview\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o-search-preview-2025-03-11\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-image-1\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: false, image: true, video: false, audio: false, embed: false }, tool_support: false },\n \"o1\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o1-2024-12-17\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o1-mini\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"o1-mini-2024-09-12\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"o1-preview\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o1-preview-2024-09-12\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o1-pro\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o1-pro-2025-03-19\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o3\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o3-2025-04-16\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o3-mini\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o3-mini-2025-01-31\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o4-mini\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o4-mini-2025-04-16\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true }\n};\n// Populate RECORD_FAMILY_CAPABILITIES as a const record (lowest common denominator for each family)\nconst RECORD_FAMILY_CAPABILITIES = {\n \"gpt-3.5-turbo\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gpt-4.1\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4.5\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gpt-4o\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o1\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o1-mini\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"o1-pro\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o3\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o3-mini\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"o4-mini\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true }\n};\n// Fallback pattern lists for inferring modalities and tool support\nconst IMAGE_INPUT_MODELS = [\"image\"];\nconst VIDEO_INPUT_MODELS = [\"video\"];\nconst AUDIO_INPUT_MODELS = [\"audio\"];\nconst TEXT_INPUT_MODELS = [\"text\"];\nconst IMAGE_OUTPUT_MODELS = [\"image\"];\nconst VIDEO_OUTPUT_MODELS = [\"video\"];\nconst AUDIO_OUTPUT_MODELS = [\"audio\"];\nconst TEXT_OUTPUT_MODELS = [\"text\"];\nconst EMBEDDING_OUTPUT_MODELS = [\"embed\"];\nconst TOOL_SUPPORT_MODELS = [\"tool\", \"o1\", \"o3\", \"o4\", \"gpt-4.1\", \"gpt-4o\"];\nfunction modelMatches(modelName, patterns) {\n return patterns.some(pattern => modelName.includes(pattern));\n}\nfunction normalizeOpenAIModelName(modelName) {\n return modelName.toLowerCase();\n}\n/**\n * Get the full ModelCapabilities for an OpenAI model.\n * Checks RECORD_MODEL_CAPABILITIES first, then falls back to pattern-based inference.\n */\nexport function getModelCapabilitiesOpenAI(model) {\n const normalized = normalizeOpenAIModelName(model);\n const record = RECORD_MODEL_CAPABILITIES[normalized];\n if (record)\n return record;\n let bestFamilyKey = undefined;\n let bestFamilyLength = 0;\n for (const key of Object.keys(RECORD_FAMILY_CAPABILITIES)) {\n if (normalized.startsWith(key) && key.length > bestFamilyLength) {\n bestFamilyKey = key;\n bestFamilyLength = key.length;\n }\n }\n if (bestFamilyKey) {\n return RECORD_FAMILY_CAPABILITIES[bestFamilyKey];\n }\n const input = {\n text: modelMatches(normalized, TEXT_INPUT_MODELS) || undefined,\n image: modelMatches(normalized, IMAGE_INPUT_MODELS) || undefined,\n video: modelMatches(normalized, VIDEO_INPUT_MODELS) || undefined,\n audio: modelMatches(normalized, AUDIO_INPUT_MODELS) || undefined,\n embed: false\n };\n const output = {\n text: modelMatches(normalized, TEXT_OUTPUT_MODELS) || undefined,\n image: modelMatches(normalized, IMAGE_OUTPUT_MODELS) || undefined,\n video: modelMatches(normalized, VIDEO_OUTPUT_MODELS) || undefined,\n audio: modelMatches(normalized, AUDIO_OUTPUT_MODELS) || undefined,\n embed: modelMatches(normalized, EMBEDDING_OUTPUT_MODELS) || undefined\n };\n const tool_support = modelMatches(normalized, TOOL_SUPPORT_MODELS) || undefined;\n return { input, output, tool_support };\n}\n//# sourceMappingURL=openai.js.map","// Record of Vertex AI model capabilities keyed by model ID (last path segment, lowercased)\nconst RECORD_MODEL_CAPABILITIES = {\n \"imagen-3.0-generate-002\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: false, image: true, video: false, audio: false, embed: false }, tool_support: false },\n \"imagen-3.0-capability-001\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: false, image: true, video: false, audio: false, embed: false }, tool_support: false },\n \"gemini-1.5-flash-002\": { input: { text: true, image: true, video: true, audio: true, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gemini-1.5-pro-002\": { input: { text: true, image: true, video: true, audio: true, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gemini-2.0-flash-001\": { input: { text: true, image: true, video: true, audio: true, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gemini-2.0-flash-lite-001\": { input: { text: true, image: true, video: true, audio: true, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n \"gemini-2.5-flash-preview-04-17\": { input: { text: true, image: true, video: true, audio: true, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gemini-2.5-pro-preview-05-06\": { input: { text: true, image: true, video: true, audio: true, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-3-opus\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-3-haiku\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-3-5-sonnet\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-3-5-haiku\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-3-5-sonnet-v2\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-3-7-sonnet\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-opus-4\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-sonnet-4\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n};\n// Populate RECORD_FAMILY_CAPABILITIES as a const record (lowest common denominator for each family)\nconst RECORD_FAMILY_CAPABILITIES = {\n \"gemini-1.5\": { input: { text: true, image: true, video: true, audio: true, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gemini-2.0\": { input: { text: true, image: true, video: true, audio: true, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"gemini-2.5\": { input: { text: true, image: true, video: true, audio: true, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"imagen-3.0\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: false, image: true, video: false, audio: false, embed: false }, tool_support: false },\n \"claude-3-5\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-3-7\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude-3\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"claude\": { input: { text: true, image: true, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: true },\n \"llama\": { input: { text: true, image: false, video: false, audio: false, embed: false }, output: { text: true, image: false, video: false, audio: false, embed: false }, tool_support: false },\n};\n// Fallback pattern lists for inferring modalities and tool support\nconst IMAGE_INPUT_MODELS = [\"image\"];\nconst VIDEO_INPUT_MODELS = [\"video\"];\nconst AUDIO_INPUT_MODELS = [\"audio\"];\nconst TEXT_INPUT_MODELS = [\"text\"];\nconst IMAGE_OUTPUT_MODELS = [\"image\"];\nconst VIDEO_OUTPUT_MODELS = [\"video\"];\nconst AUDIO_OUTPUT_MODELS = [\"audio\"];\nconst TEXT_OUTPUT_MODELS = [\"text\"];\nconst EMBEDDING_OUTPUT_MODELS = [\"embed\"];\nconst TOOL_SUPPORT_MODELS = [\"tool\", \"sonnet\", \"opus\", \"gemini\", \"claude-3-5\", \"claude-3-7\"];\nfunction modelMatches(modelName, patterns) {\n return patterns.some(pattern => modelName.includes(pattern));\n}\nfunction normalizeVertexAIModelName(modelName) {\n const segments = modelName.toLowerCase().split(\"/\");\n return segments[segments.length - 1];\n}\n/**\n * Get the full ModelCapabilities for a Vertex AI model.\n * Checks RECORD_MODEL_CAPABILITIES first, then falls back to pattern-based inference.\n */\nexport function getModelCapabilitiesVertexAI(model) {\n const normalized = normalizeVertexAIModelName(model);\n const record = RECORD_MODEL_CAPABILITIES[normalized];\n if (record)\n return record;\n let bestFamilyKey = undefined;\n let bestFamilyLength = 0;\n for (const key of Object.keys(RECORD_FAMILY_CAPABILITIES)) {\n if (normalized.startsWith(key) && key.length > bestFamilyLength) {\n bestFamilyKey = key;\n bestFamilyLength = key.length;\n }\n }\n if (bestFamilyKey) {\n return RECORD_FAMILY_CAPABILITIES[bestFamilyKey];\n }\n const input = {\n text: modelMatches(normalized, TEXT_INPUT_MODELS) || undefined,\n image: modelMatches(normalized, IMAGE_INPUT_MODELS) || undefined,\n video: modelMatches(normalized, VIDEO_INPUT_MODELS) || undefined,\n audio: modelMatches(normalized, AUDIO_INPUT_MODELS) || undefined,\n embed: false\n };\n const output = {\n text: modelMatches(normalized, TEXT_OUTPUT_MODELS) || undefined,\n image: modelMatches(normalized, IMAGE_OUTPUT_MODELS) || undefined,\n video: modelMatches(normalized, VIDEO_OUTPUT_MODELS) || undefined,\n audio: modelMatches(normalized, AUDIO_OUTPUT_MODELS) || undefined,\n embed: modelMatches(normalized, EMBEDDING_OUTPUT_MODELS) || undefined\n };\n const tool_support = modelMatches(normalized, TOOL_SUPPORT_MODELS) || undefined;\n return { input, output, tool_support };\n}\n//# sourceMappingURL=vertexai.js.map","import { getModelCapabilitiesBedrock } from \"./capability/bedrock.js\";\nimport { getModelCapabilitiesOpenAI } from \"./capability/openai.js\";\nimport { getModelCapabilitiesVertexAI } from \"./capability/vertexai.js\";\nexport function getModelCapabilities(model, provider) {\n const capabilities = _getModelCapabilities(model, provider);\n // Globally disable audio and video for all models, as we don't support them yet\n // We also do not support tool use while streaming\n // TODO: Remove this when we add support.\n capabilities.input.audio = false;\n capabilities.output.audio = false;\n capabilities.output.video = false;\n capabilities.tool_support_streaming = false;\n return capabilities;\n}\nfunction _getModelCapabilities(model, provider) {\n switch (provider?.toLowerCase()) {\n case \"vertexai\":\n return getModelCapabilitiesVertexAI(model);\n case \"openai\":\n return getModelCapabilitiesOpenAI(model);\n case \"bedrock\":\n return getModelCapabilitiesBedrock(model);\n default:\n // Guess the provider based on the model name\n if (model.startsWith(\"gpt\")) {\n return getModelCapabilitiesOpenAI(model);\n }\n else if (model.startsWith(\"publishers/\")) {\n return getModelCapabilitiesVertexAI(model);\n }\n else if (model.startsWith(\"arn:aws\")) {\n return getModelCapabilitiesBedrock(model);\n }\n // Fallback to a generic model with no capabilities\n return { input: {}, output: {} };\n }\n}\nexport function supportsToolUse(model, provider, streaming = false) {\n const capabilities = getModelCapabilities(model, provider);\n return streaming ? !!capabilities.tool_support_streaming : !!capabilities.tool_support;\n}\nexport function modelModalitiesToArray(modalities) {\n return Object.entries(modalities)\n .filter(([_, isSupported]) => isSupported)\n .map(([modality]) => modality);\n}\n//# sourceMappingURL=capability.js.map","import { OptionType, SharedOptions } from \"../types.js\";\nimport { textOptionsFallback } from \"./fallback.js\";\nexport var ImagenTaskType;\n(function (ImagenTaskType) {\n ImagenTaskType[\"TEXT_IMAGE\"] = \"TEXT_IMAGE\";\n ImagenTaskType[\"EDIT_MODE_INPAINT_REMOVAL\"] = \"EDIT_MODE_INPAINT_REMOVAL\";\n ImagenTaskType[\"EDIT_MODE_INPAINT_INSERTION\"] = \"EDIT_MODE_INPAINT_INSERTION\";\n ImagenTaskType[\"EDIT_MODE_BGSWAP\"] = \"EDIT_MODE_BGSWAP\";\n ImagenTaskType[\"EDIT_MODE_OUTPAINT\"] = \"EDIT_MODE_OUTPAINT\";\n ImagenTaskType[\"CUSTOMIZATION_SUBJECT\"] = \"CUSTOMIZATION_SUBJECT\";\n ImagenTaskType[\"CUSTOMIZATION_STYLE\"] = \"CUSTOMIZATION_STYLE\";\n ImagenTaskType[\"CUSTOMIZATION_CONTROLLED\"] = \"CUSTOMIZATION_CONTROLLED\";\n ImagenTaskType[\"CUSTOMIZATION_INSTRUCT\"] = \"CUSTOMIZATION_INSTRUCT\";\n})(ImagenTaskType || (ImagenTaskType = {}));\nexport var ImagenMaskMode;\n(function (ImagenMaskMode) {\n ImagenMaskMode[\"MASK_MODE_USER_PROVIDED\"] = \"MASK_MODE_USER_PROVIDED\";\n ImagenMaskMode[\"MASK_MODE_BACKGROUND\"] = \"MASK_MODE_BACKGROUND\";\n ImagenMaskMode[\"MASK_MODE_FOREGROUND\"] = \"MASK_MODE_FOREGROUND\";\n ImagenMaskMode[\"MASK_MODE_SEMANTIC\"] = \"MASK_MODE_SEMANTIC\";\n})(ImagenMaskMode || (ImagenMaskMode = {}));\nexport function getVertexAiOptions(model, option) {\n if (model.includes(\"imagen-3.0\")) {\n const commonOptions = [\n {\n name: SharedOptions.number_of_images, type: OptionType.numeric, min: 1, max: 4, default: 1,\n integer: true, description: \"Number of Images to generate\",\n },\n {\n name: SharedOptions.seed, type: OptionType.numeric, min: 0, max: 4294967295, default: 12,\n integer: true, description: \"The seed of the generated image\"\n },\n {\n name: \"person_generation\", type: OptionType.enum, enum: { \"Disallow the inclusion of people or faces in images\": \"dont_allow\", \"Allow generation of adults only\": \"allow_adult\", \"Allow generation of people of all ages\": \"allow_all\" },\n default: \"allow_adult\", description: \"The safety setting for allowing the generation of people in the image\"\n },\n {\n name: \"safety_setting\", type: OptionType.enum, enum: { \"Block very few problematic prompts and responses\": \"block_none\", \"Block only few problematic prompts and responses\": \"block_only_high\", \"Block some problematic prompts and responses\": \"block_medium_and_above\", \"Strictest filtering\": \"block_low_and_above\" },\n default: \"block_medium_and_above\", description: \"The overall safety setting\"\n },\n ];\n const outputOptions = [\n {\n name: \"image_file_type\", type: OptionType.enum, enum: { \"JPEG\": \"image/jpeg\", \"PNG\": \"image/png\" },\n default: \"image/png\", description: \"The file type of the generated image\",\n refresh: true,\n },\n ];\n const jpegQuality = {\n name: \"jpeg_compression_quality\", type: OptionType.numeric, min: 0, max: 100, default: 75,\n integer: true, description: \"The compression quality of the JPEG image\",\n };\n if (option?.image_file_type === \"image/jpeg\") {\n outputOptions.push(jpegQuality);\n }\n if (model.includes(\"generate\")) {\n //Generate models\n const modeOptions = [\n {\n name: \"aspect_ratio\", type: OptionType.enum, enum: { \"1:1\": \"1:1\", \"4:3\": \"4:3\", \"3:4\": \"3:4\", \"16:9\": \"16:9\", \"9:16\": \"9:16\" },\n default: \"1:1\", description: \"The aspect ratio of the generated image\"\n },\n {\n name: \"add_watermark\", type: OptionType.boolean, default: false, description: \"Add an invisible watermark to the generated image, useful for detection of AI images\"\n },\n ];\n const enhanceOptions = !model.includes(\"generate-001\") ? [\n {\n name: \"enhance_prompt\", type: OptionType.boolean, default: true, description: \"VertexAI automatically rewrites the prompt to better reflect the prompt's intent.\"\n },\n ] : [];\n return {\n _option_id: \"vertexai-imagen\",\n options: [\n ...commonOptions,\n ...modeOptions,\n ...outputOptions,\n ...enhanceOptions,\n ]\n };\n }\n if (model.includes(\"capability\")) {\n //Edit models\n let guidanceScaleDefault = 75;\n if (option?.edit_mode === ImagenTaskType.EDIT_MODE_INPAINT_INSERTION) {\n guidanceScaleDefault = 60;\n }\n const modeOptions = [\n {\n name: \"edit_mode\", type: OptionType.enum,\n enum: {\n \"EDIT_MODE_INPAINT_REMOVAL\": \"EDIT_MODE_INPAINT_REMOVAL\",\n \"EDIT_MODE_INPAINT_INSERTION\": \"EDIT_MODE_INPAINT_INSERTION\",\n \"EDIT_MODE_BGSWAP\": \"EDIT_MODE_BGSWAP\",\n \"EDIT_MODE_OUTPAINT\": \"EDIT_MODE_OUTPAINT\",\n \"CUSTOMIZATION_SUBJECT\": \"CUSTOMIZATION_SUBJECT\",\n \"CUSTOMIZATION_STYLE\": \"CUSTOMIZATION_STYLE\",\n \"CUSTOMIZATION_CONTROLLED\": \"CUSTOMIZATION_CONTROLLED\",\n \"CUSTOMIZATION_INSTRUCT\": \"CUSTOMIZATION_INSTRUCT\",\n },\n description: \"The editing mode. CUSTOMIZATION options use few-shot learning to generate images based on a few examples.\"\n },\n {\n name: \"guidance_scale\", type: OptionType.numeric, min: 0, max: 500, default: guidanceScaleDefault,\n integer: true, description: \"How closely the generation follows the prompt\"\n }\n ];\n const maskOptions = (option?.edit_mode?.includes(\"EDIT\")) ? [\n {\n name: \"mask_mode\", type: OptionType.enum,\n enum: {\n \"MASK_MODE_USER_PROVIDED\": \"MASK_MODE_USER_PROVIDED\",\n \"MASK_MODE_BACKGROUND\": \"MASK_MODE_BACKGROUND\",\n \"MASK_MODE_FOREGROUND\": \"MASK_MODE_FOREGROUND\",\n \"MASK_MODE_SEMANTIC\": \"MASK_MODE_SEMANTIC\",\n },\n default: \"MASK_MODE_USER_PROVIDED\",\n description: \"How should the mask for the generation be provided\"\n },\n {\n name: \"mask_dilation\", type: OptionType.numeric, min: 0, max: 1,\n integer: true, description: \"The mask dilation, grows the mask by a percentage of image width to compensate for imprecise masks.\"\n },\n ] : [];\n const maskClassOptions = (option?.mask_mode === ImagenMaskMode.MASK_MODE_SEMANTIC) ? [\n {\n name: \"mask_class\", type: OptionType.string_list, default: [],\n description: \"Input Class IDs. Create a mask based on image class, based on https://cloud.google.com/vertex-ai/generative-ai/docs/model-reference/imagen-api-customization#segment-ids\"\n }\n ] : [];\n const editOptions = option?.edit_mode?.includes(\"EDIT\") ? [\n {\n name: \"edit_steps\", type: OptionType.numeric, default: 75,\n integer: true, description: \"The number of steps for the base image generation, more steps means more time and better quality\"\n },\n ] : [];\n const customizationOptions = option?.edit_mode === ImagenTaskType.CUSTOMIZATION_CONTROLLED\n || option?.edit_mode === ImagenTaskType.CUSTOMIZATION_SUBJECT ? [\n {\n name: \"controlType\", type: OptionType.enum, enum: { \"Face Mesh\": \"CONTROL_TYPE_FACE_MESH\", \"Canny\": \"CONTROL_TYPE_CANNY\", \"Scribble\": \"CONTROL_TYPE_SCRIBBLE\" },\n default: \"CONTROL_TYPE_CANNY\", description: \"Method used to generate the control image\"\n },\n {\n name: \"controlImageComputation\", type: OptionType.boolean, default: true, description: \"Should the control image be computed from the input image, or is it provided\"\n }\n ] : [];\n return {\n _option_id: \"vertexai-imagen\",\n options: [\n ...modeOptions,\n ...commonOptions,\n ...maskOptions,\n ...maskClassOptions,\n ...editOptions,\n ...customizationOptions,\n ...outputOptions,\n ]\n };\n }\n }\n else if (model.includes(\"gemini\")) {\n const max_tokens_limit = getGeminiMaxTokensLimit(model);\n const excludeOptions = [\"max_tokens\", \"presence_penalty\"];\n let commonOptions = textOptionsFallback.options.filter((option) => !excludeOptions.includes(option.name));\n if (model.includes(\"1.5\")) {\n commonOptions = commonOptions.filter((option) => option.name !== \"frequency_penalty\");\n }\n const max_tokens = [{\n name: SharedOptions.max_tokens, type: OptionType.numeric, min: 1, max: max_tokens_limit,\n integer: true, step: 200, description: \"The maximum number of tokens to generate\"\n }];\n return {\n _option_id: \"text-fallback\",\n options: [\n ...max_tokens,\n ...commonOptions,\n ]\n };\n }\n else if (model.includes(\"claude\")) {\n const max_tokens_limit = getClaudeMaxTokensLimit(model, option);\n const excludeOptions = [\"max_tokens\", \"presence_penalty\", \"frequency_penalty\"];\n let commonOptions = textOptionsFallback.options.filter((option) => !excludeOptions.includes(option.name));\n const max_tokens = [{\n name: SharedOptions.max_tokens, type: OptionType.numeric, min: 1, max: max_tokens_limit,\n integer: true, step: 200, description: \"The maximum number of tokens to generate\"\n }];\n if (model.includes(\"-3-7\") || model.includes(\"-4\")) {\n const claudeModeOptions = [\n {\n name: \"thinking_mode\",\n type: OptionType.boolean,\n default: false,\n description: \"If true, use the extended reasoning mode\"\n },\n ];\n const claudeThinkingOptions = option?.thinking_mode ? [\n {\n name: \"thinking_budget_tokens\",\n type: OptionType.numeric,\n min: 1024,\n default: 4000,\n integer: true,\n step: 100,\n description: \"The target number of tokens to use for reasoning, not a hard limit.\"\n },\n ] : [];\n return {\n _option_id: \"vertexai-claude\",\n options: [\n ...max_tokens,\n ...commonOptions,\n ...claudeModeOptions,\n ...claudeThinkingOptions,\n ]\n };\n }\n return {\n _option_id: \"vertexai-claude\",\n options: [\n ...max_tokens,\n ...commonOptions,\n ]\n };\n }\n else if (model.includes(\"llama\")) {\n const max_tokens_limit = getLlamaMaxTokensLimit(model);\n const excludeOptions = [\"max_tokens\", \"presence_penalty\", \"frequency_penalty\", \"stop_sequence\"];\n let commonOptions = textOptionsFallback.options.filter((option) => !excludeOptions.includes(option.name));\n const max_tokens = [{\n name: SharedOptions.max_tokens, type: OptionType.numeric, min: 1, max: max_tokens_limit,\n integer: true, step: 200, description: \"The maximum number of tokens to generate\"\n }];\n //Set max temperature to 1.0 for Llama models\n commonOptions = commonOptions.map((option) => {\n if (option.name === SharedOptions.temperature &&\n option.type === OptionType.numeric) {\n return {\n ...option,\n max: 1.0,\n };\n }\n return option;\n });\n return {\n _option_id: \"text-fallback\",\n options: [\n ...max_tokens,\n ...commonOptions,\n ]\n };\n }\n return textOptionsFallback;\n}\nfunction getGeminiMaxTokensLimit(model) {\n if (model.includes(\"thinking\") || model.includes(\"-2.5-\")) {\n return 65536;\n }\n if (model.includes(\"ultra\") || model.includes(\"vision\")) {\n return 2048;\n }\n return 8192;\n}\nfunction getClaudeMaxTokensLimit(model, option) {\n if (model.includes(\"-4-\")) {\n if (model.includes(\"opus-\")) {\n return 32768;\n }\n return 65536;\n }\n else if (model.includes(\"-3-7-\")) {\n if (option && option?.thinking_mode) {\n return 131072;\n }\n else {\n return 8192;\n }\n }\n else if (model.includes(\"-3-5-\")) {\n return 8192;\n }\n else {\n return 4096;\n }\n}\nfunction getLlamaMaxTokensLimit(_model) {\n return 8192;\n}\n//# sourceMappingURL=vertexai.js.map",null,"import { OptionType, SharedOptions } from \"../types.js\";\nexport const textOptionsFallback = {\n _option_id: \"text-fallback\",\n options: [\n {\n name: SharedOptions.max_tokens, type: OptionType.numeric, min: 1,\n integer: true, step: 200, description: \"The maximum number of tokens to generate\"\n },\n {\n name: SharedOptions.temperature, type: OptionType.numeric, min: 0.0, default: 0.7,\n integer: false, step: 0.1, description: \"A higher temperature biases toward less likely tokens, making the model more creative\"\n },\n {\n name: SharedOptions.top_p, type: OptionType.numeric, min: 0, max: 1,\n integer: false, step: 0.1, description: \"Limits token sampling to the cumulative probability of the top p tokens\"\n },\n {\n name: SharedOptions.top_k, type: OptionType.numeric, min: 1,\n integer: true, step: 1, description: \"Limits token sampling to the top k tokens\"\n },\n {\n name: SharedOptions.presence_penalty, type: OptionType.numeric, min: -2.0, max: 2.0,\n integer: false, step: 0.1, description: \"Penalise tokens if they appear at least once in the text\"\n },\n {\n name: SharedOptions.frequency_penalty, type: OptionType.numeric, min: -2.0, max: 2.0,\n integer: false, step: 0.1, description: \"Penalise tokens based on their frequency in the text\"\n },\n { name: SharedOptions.stop_sequence, type: OptionType.string_list, value: [], description: \"The generation will halt if one of the stop sequences is output\" },\n ]\n};\n//# sourceMappingURL=fallback.js.map"],"names":["Permission","AccessControlledResource","ApiKeyTypes","PrincipalType","SupportedProviders","SupportedProvidersList","openai","id","name","requiresApiKey","requiresEndpointUrl","supportSearch","azure_openai","huggingface_ie","replicate","bedrock","endpointPlaceholder","vertexai","togetherai","mistralai","groq","watsonx","virtual_lb","virtual_mediator","test","ExecutionEnvironmentRefPopulate","SupportedIntegrations","InteractionRefPopulate","InteractionRefWithSchemaPopulate","InteractionStatus","ExecutionRunStatus","RunDataStorageLevel","RunDataStorageDescription","RunDataStorageOptions","STANDARD","RESTRICTED","DEBUG","RunSourceTypes","ExecutionRunRefSelect","ConfigModes","ConfigModesDescription","ConfigModesOptions","RUN_AND_INTERACTION_CONFIG","RUN_CONFIG_ONLY","INTERACTION_CONFIG_ONLY","MeterNames","ProjectRoles","ResourceVisibility","SupportedEmbeddingTypes","ProgressSpan","constructor","parent","parentUnits","spanUnits","this","unitsDone","done","units","remaining","parentUnitsDone","Math","round","isDone","Progress","total","fraction","percent","span","isRoleIncludedIn","role","includingRole","owner","admin","billing","developer","ProjectRefPopulate","PromptStatus","PromptSegmentDefType","TemplateType","ResolvableRefType","CollectionStatus","WorkflowDefinitionRefPopulate","RenditionSchema","type","description","properties","mime_type","source_etag","nullable","height","width","multipart","default","total_parts","required","DocumentPartSchema","part_number","title","source_line_start","source_line_end","enum","page_number","ContentObjectStatus","WorkflowRuleInputType","ImageRenditionFormat","MarkdownRenditionFormat","ParentClosePolicy","TERMINATE","ABANDON","REQUEST_CANCEL","PARENT_CLOSE_POLICY_UNSPECIFIED","undefined","PARENT_CLOSE_POLICY_TERMINATE","PARENT_CLOSE_POLICY_ABANDON","PARENT_CLOSE_POLICY_REQUEST_CANCEL","ContentEventName","WorkflowExecutionStatus","AgentMessageType","TrainingSessionStatus","TransientTokenType","getDocumentIds","payload","objectIds","UserRefPopulate","Datacenters","BillingMethod","AccountRefPopulate","getTenantId","accountId","projectId","slice","getTenantIdFromProject","project","account","SharedOptions","OptionType","PromptRole","Modalities","AIModelStatus","ModelType","TrainingJobStatus","RECORD_MODEL_CAPABILITIES","input","text","image","video","audio","embed","output","tool_support","tool_support_streaming","RECORD_FAMILY_CAPABILITIES","IMAGE_INPUT_MODELS","VIDEO_INPUT_MODELS","AUDIO_INPUT_MODELS","TEXT_INPUT_MODELS","IMAGE_OUTPUT_MODELS","VIDEO_OUTPUT_MODELS","AUDIO_OUTPUT_MODELS","TEXT_OUTPUT_MODELS","EMBEDDING_OUTPUT_MODELS","TOOL_SUPPORT_MODELS","modelMatches","modelName","patterns","some","pattern","includes","getModelCapabilitiesBedrock","model","normalized","foundationIdx","lastIndexOf","inferenceIdx","substring","startsWith","replace","record","bestFamilyKey","bestFamilyLength","key","Object","keys","length","modelLower","toLowerCase","parts","split","providerModel","modelParts","join","normalizeModelName","o1","o3","getModelCapabilitiesOpenAI","claude","llama","getModelCapabilitiesVertexAI","segments","normalizeVertexAIModelName","getModelCapabilities","provider","capabilities","_getModelCapabilities","supportsToolUse","streaming","ImagenTaskType","ImagenMaskMode","mergeJSONSchemas","schemas","props","schema","prop","push","assign","_mergePromptsSchema","prompts","prompt","template","inputSchema","chat","items","assistant","user","content","mergePromptsSchema","interaction","max_tokens","numeric","temperature","top_p","top_k","presence_penalty","frequency_penalty","stop_sequence","string_list"],"mappings":"IAQYA,EAgCAC,ECpCAC,EA2DAC,EC5DAC,GFKZ,SAAYJ,GACRA,EAAA,SAAA,mBACAA,EAAA,UAAA,oBACAA,EAAA,WAAA,qBAEAA,EAAA,YAAA,sBACAA,EAAA,SAAA,WACAA,EAAA,UAAA,YAEAA,EAAA,WAAA,qBAEAA,EAAA,eAAA,iBAEAA,EAAA,eAAA,iBACAA,EAAA,aAAA,eAEAA,EAAA,aAAA,eACAA,EAAA,eAAA,iBACAA,EAAA,eAAA,kBACAA,EAAA,eAAA,iBAGAA,EAAA,aAAA,eACAA,EAAA,eAAA,iBACAA,EAAA,eAAA,iBACAA,EAAA,eAAA,iBAEAA,EAAA,cAAA,gBAEAA,EAAA,aAAA,cACH,CA9BD,CAAYA,IAAAA,EA8BX,CAAA,IAED,SAAYC,GACRA,EAAA,QAAA,UACAA,EAAA,YAAA,cACAA,EAAA,QAAA,UACAA,EAAA,YAAA,aACH,CALD,CAAYA,IAAAA,EAKX,CAAA,ICzCD,SAAYC,GACRA,EAAA,OAAA,KACAA,EAAA,OAAA,IACH,CAHD,CAAYA,IAAAA,EAGX,CAAA,IAwDD,SAAYC,GACRA,EAAA,KAAA,OACAA,EAAA,OAAA,SACAA,EAAA,eAAA,iBACH,CAJD,CAAYA,IAAAA,EAIX,CAAA,IChED,SAAYC,GAERA,EAAA,OAAA,SACAA,EAAA,aAAA,eACAA,EAAA,eAAA,iBACAA,EAAA,UAAA,YACAA,EAAA,QAAA,UACAA,EAAA,SAAA,WACAA,EAAA,WAAA,aACAA,EAAA,UAAA,YACAA,EAAA,KAAA,OACAA,EAAA,QAAA,UAEAA,EAAA,WAAA,aACAA,EAAA,iBAAA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C/BA,EAA0C,0BAAI,4BAC9CA,EAA4C,4BAAI,8BAChDA,EAAiC,iBAAI,mBACrCA,EAAmC,mBAAI,qBACvCA,EAAsC,sBAAI,wBAC1CA,EAAoC,oBAAI,sBACxCA,EAAyC,yBAAI,2BAC7CA,EAAuC,uBAAI,wBAC9C,CAVD,CAUGA,KAAmBA,GAAiB,CAAA,IAEvC,SAAWC,GACPA,EAAwC,wBAAI,0BAC5CA,EAAqC,qBAAI,uBACzCA,EAAqC,qBAAI,uBACzCA,EAAmC,mBAAI,oBAC1C,CALD,CAKGA,KAAmBA,GAAiB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vertesia/common",
3
- "version": "0.64.0",
3
+ "version": "0.65.0",
4
4
  "type": "module",
5
5
  "types": "./lib/types/index.d.ts",
6
6
  "files": [
package/src/index.ts CHANGED
@@ -23,4 +23,5 @@ export * from './user.js';
23
23
  export * from './utils/auth.js';
24
24
  export * from './utils/schemas.js';
25
25
  export * from './json-schema.js';
26
- export * from './json.js';
26
+ export * from './json.js';
27
+ export * from './model_utility.js';
@@ -366,6 +366,11 @@ export interface AsyncConversationExecutionPayload extends AsyncExecutionPayload
366
366
 
367
367
  /** In child execution workflow, this is the curent task_id */
368
368
  task_id?: string;
369
+
370
+ /**
371
+ * Schema for validating interaction parameters
372
+ */
373
+ interactionParamsSchema?: JSONSchema4;
369
374
  }
370
375
 
371
376
  export interface AsyncInteractionExecutionPayload extends AsyncExecutionPayloadBase {
@@ -0,0 +1 @@
1
+ export { supportsToolUse } from "@llumiverse/common";
package/src/payload.ts CHANGED
@@ -6,8 +6,7 @@ import {
6
6
  ObjectTypeSearchQuery,
7
7
  PromptSearchQuery,
8
8
  RunSearchQuery,
9
- SimpleSearchQuery,
10
- VectorSearchQuery,
9
+ SimpleSearchQuery
11
10
  } from "./query.js";
12
11
 
13
12
  export interface SearchPayload {
@@ -49,8 +48,7 @@ export interface ComputeInteractionFacetPayload extends ComputeFacetPayload {
49
48
  }
50
49
 
51
50
  export interface ComputeObjectFacetPayload extends ComputeFacetPayload {
52
- query?: ObjectSearchQuery;
53
- vector?: VectorSearchQuery;
51
+ query?: ComplexSearchQuery;
54
52
  }
55
53
 
56
54
  export interface ComputePromptFacetPayload extends ComputeFacetPayload {