{"version":3,"sources":["webpack:///./node_modules/axios/lib/core/Axios.js","webpack:///./node_modules/axios/lib/helpers/spread.js","webpack:///./node_modules/axios/lib/helpers/bind.js","webpack:///./node_modules/axios/lib/core/createError.js","webpack:///./node_modules/axios/lib/cancel/isCancel.js","webpack:///./node_modules/axios/lib/helpers/buildURL.js","webpack:///./node_modules/axios/lib/core/enhanceError.js","webpack:///./node_modules/axios/lib/helpers/isURLSameOrigin.js","webpack:///./node_modules/openai/dist/api.js","webpack:///./node_modules/axios/lib/core/settle.js","webpack:///./node_modules/axios/lib/core/mergeConfig.js","webpack:///./node_modules/axios/lib/defaults/index.js","webpack:///./node_modules/axios/lib/core/dispatchRequest.js","webpack:///./node_modules/openai/dist/index.js","webpack:///./node_modules/axios/lib/env/data.js","webpack:///./node_modules/axios/lib/helpers/isAxiosError.js","webpack:///./node_modules/openai/dist/configuration.js","webpack:///./node_modules/openai/dist/base.js","webpack:///./node_modules/openai/node_modules/form-data/lib/browser.js","webpack:///./node_modules/axios/lib/cancel/Cancel.js","webpack:///./node_modules/axios/lib/helpers/cookies.js","webpack:///./node_modules/axios/lib/core/buildFullPath.js","webpack:///./node_modules/axios/lib/helpers/validator.js","webpack:///./node_modules/axios/lib/cancel/CancelToken.js","webpack:///./node_modules/axios/lib/adapters/xhr.js","webpack:///./src/views/Helexium/Assistant/ChatResultadosEvaluacion.vue","webpack:///./src/views/Helexium/Assistant/useOpenAI.js","webpack:///./src/views/Helexium/Assistant/useChatAI.js","webpack:///./src/views/Helexium/Assistant/systemPrompt.js","webpack:///./src/views/Helexium/Assistant/useChatAnalytics.js","webpack:///./src/views/Helexium/Assistant/useHelexiumChatAI.js","webpack:///src/views/Helexium/Assistant/ChatResultadosEvaluacion.vue","webpack:///./src/views/Helexium/Assistant/ChatResultadosEvaluacion.vue?9d7d","webpack:///./src/views/Helexium/Assistant/ChatResultadosEvaluacion.vue?4d2a","webpack:///./node_modules/axios/index.js","webpack:///./node_modules/axios/lib/helpers/parseHeaders.js","webpack:///./node_modules/axios/lib/core/transformData.js","webpack:///./node_modules/axios/lib/utils.js","webpack:///./node_modules/openai/dist/common.js","webpack:///./node_modules/axios/lib/helpers/normalizeHeaderName.js","webpack:///./node_modules/axios/lib/defaults/transitional.js","webpack:///./node_modules/axios/lib/axios.js","webpack:///./node_modules/axios/lib/helpers/isAbsoluteURL.js","webpack:///./node_modules/axios/lib/helpers/combineURLs.js","webpack:///./node_modules/axios/lib/core/InterceptorManager.js","webpack:///./src/views/Helexium/Assistant/ChatResultadosEvaluacion.vue?9487"],"names":["utils","buildURL","InterceptorManager","dispatchRequest","mergeConfig","validator","validators","Axios","instanceConfig","this","defaults","interceptors","request","response","prototype","configOrUrl","config","url","method","toLowerCase","transitional","undefined","assertOptions","silentJSONParsing","boolean","forcedJSONParsing","clarifyTimeoutError","requestInterceptorChain","synchronousRequestInterceptors","forEach","interceptor","runWhen","synchronous","unshift","fulfilled","rejected","promise","responseInterceptorChain","push","chain","Array","apply","concat","Promise","resolve","length","then","shift","newConfig","onFulfilled","onRejected","error","reject","getUri","params","paramsSerializer","replace","data","module","exports","callback","arr","fn","thisArg","args","arguments","i","enhanceError","message","code","Error","value","__CANCEL__","encode","val","encodeURIComponent","serializedParams","isURLSearchParams","toString","parts","key","isArray","v","isDate","toISOString","isObject","JSON","stringify","join","hashmarkIndex","indexOf","slice","isAxiosError","toJSON","name","description","number","fileName","lineNumber","columnNumber","stack","status","isStandardBrowserEnv","originURL","msie","test","navigator","userAgent","urlParsingNode","document","createElement","resolveURL","href","setAttribute","protocol","host","search","hash","hostname","port","pathname","charAt","window","location","requestURL","parsed","isString","__awaiter","_arguments","P","generator","adopt","step","next","e","result","done","Object","defineProperty","OpenAIApi","OpenAIApiFactory","OpenAIApiFp","OpenAIApiAxiosParamCreator","CreateImageRequestResponseFormatEnum","CreateImageRequestSizeEnum","ChatCompletionResponseMessageRoleEnum","ChatCompletionRequestMessageRoleEnum","axios_1","common_1","base_1","System","User","Assistant","_256x256","_512x512","_1024x1024","Url","B64Json","configuration","cancelFineTune","fineTuneId","options","assertParamExists","localVarPath","String","localVarUrlObj","URL","DUMMY_BASE_URL","baseOptions","localVarRequestOptions","assign","localVarHeaderParameter","localVarQueryParameter","setSearchParams","headersFromBaseOptions","headers","toPathString","createAnswer","createAnswerRequest","serializeDataIfNeeded","createChatCompletion","createChatCompletionRequest","createClassification","createClassificationRequest","createCompletion","createCompletionRequest","createEdit","createEditRequest","createEmbedding","createEmbeddingRequest","createFile","file","purpose","localVarFormParams","formDataCtor","FormData","append","getHeaders","createFineTune","createFineTuneRequest","createImage","createImageRequest","createImageEdit","image","prompt","mask","n","size","responseFormat","user","createImageVariation","createModeration","createModerationRequest","createSearch","engineId","createSearchRequest","createTranscription","model","temperature","language","createTranslation","deleteFile","fileId","deleteModel","downloadFile","listEngines","listFiles","listFineTuneEvents","stream","listFineTunes","listModels","retrieveEngine","retrieveFile","retrieveFineTune","retrieveModel","localVarAxiosParamCreator","localVarAxiosArgs","createRequestFunction","default","BASE_PATH","basePath","axios","localVarFp","BaseAPI","createError","validateStatus","config1","config2","getMergedValue","target","source","isPlainObject","merge","mergeDeepProperties","prop","isUndefined","valueFromConfig2","defaultToConfig2","mergeDirectKeys","mergeMap","keys","configValue","normalizeHeaderName","transitionalDefaults","DEFAULT_CONTENT_TYPE","setContentTypeIfUnset","getDefaultAdapter","adapter","XMLHttpRequest","process","call","stringifySafely","rawValue","parser","encoder","parse","trim","transformRequest","isFormData","isArrayBuffer","isBuffer","isStream","isFile","isBlob","isArrayBufferView","buffer","transformResponse","strictJSONParsing","responseType","timeout","xsrfCookieName","xsrfHeaderName","maxContentLength","maxBodyLength","common","transformData","isCancel","Cancel","throwIfCancellationRequested","cancelToken","throwIfRequested","signal","aborted","reason","__createBinding","create","o","m","k","k2","enumerable","get","__exportStar","p","hasOwnProperty","payload","Configuration","packageJson","param","apiKey","organization","username","password","accessToken","version","mime","jsonMime","RegExp","RequiredError","COLLECTION_FORMATS","csv","ssv","tsv","pipes","field","msg","super","self","write","expires","path","domain","secure","cookie","isNumber","Date","toGMTString","read","match","decodeURIComponent","remove","now","isAbsoluteURL","combineURLs","baseURL","requestedURL","VERSION","type","thing","deprecatedWarnings","schema","allowUnknown","TypeError","opt","formatMessage","desc","opts","console","warn","CancelToken","executor","resolvePromise","token","cancel","_listeners","l","onfulfilled","_resolve","subscribe","unsubscribe","listener","index","splice","c","settle","cookies","buildFullPath","parseHeaders","isURLSameOrigin","onCanceled","requestData","requestHeaders","removeEventListener","auth","unescape","Authorization","btoa","fullPath","onloadend","responseHeaders","getAllResponseHeaders","responseData","responseText","statusText","err","open","toUpperCase","onreadystatechange","readyState","responseURL","setTimeout","onabort","onerror","ontimeout","timeoutErrorMessage","xsrfValue","withCredentials","setRequestHeader","onDownloadProgress","addEventListener","onUploadProgress","upload","abort","send","render","_vm","_c","_self","attrs","waitingMessage","historyMessages","on","handleInput","userMessage","$$v","expression","staticRenderFns","openIAKey","dangerouslyAllowBrowser","openai","OpenAI","chatOneShot","async","chat","completions","messages","promptFocusedAnalysis","promptDBResultadosEvaluacion","createAnalytics","chatCompletion","ChatAssistantAIId","TK","localStorage","getItem","persona","headersList","bodyContent","id","empresa","content","choices","usage","prompt_tokens","completion_tokens","fetch","store","state","hl_url","body","text","cleanString","string","chatGetQuery","role","resultGPT","includes","chatGetAnalysis","components","ChatLayout","indexHistoryTool","userMessageBackup","computed","showMessage","filter","userMessages","empresaId","$store","getters","userLoggedIn","methods","ev","sendMessage","userMessageObj","scrollSmoothHistory","query","passQueryToBackend","fetchPost","json","virtualContent","virtualUserMessage","assistantResponse","resultQuery","$el","querySelector","$nextTick","scrollTo","top","scrollHeight","behavior","component","ignoreDuplicateOf","split","line","substr","fns","context","bind","constructor","ArrayBuffer","isView","getPrototypeOf","isFunction","pipe","str","product","obj","assignValue","extend","a","b","stripBOM","charCodeAt","setOAuthToObject","setBearerAuthToObject","setBasicAuthToObject","setApiKeyToObject","setFlattenedQueryParams","urlSearchParams","parameter","item","currentKey","has","set","functionName","paramName","paramValue","object","keyParamName","localVarApiKeyValue","scopes","localVarAccessTokenValue","objects","searchParams","URLSearchParams","requestOptions","nonString","needsSerialization","isJsonMime","axiosArgs","globalAxios","axiosRequestArgs","normalizedName","createInstance","defaultConfig","instance","all","promises","spread","relativeURL","handlers","use","eject","h"],"mappings":"kHAEA,IAAIA,EAAQ,EAAQ,QAChBC,EAAW,EAAQ,QACnBC,EAAqB,EAAQ,QAC7BC,EAAkB,EAAQ,QAC1BC,EAAc,EAAQ,QACtBC,EAAY,EAAQ,QAEpBC,EAAaD,EAAUC,WAM3B,SAASC,EAAMC,GACbC,KAAKC,SAAWF,EAChBC,KAAKE,aAAe,CAClBC,QAAS,IAAIV,EACbW,SAAU,IAAIX,GASlBK,EAAMO,UAAUF,QAAU,SAAiBG,EAAaC,GAG3B,kBAAhBD,GACTC,EAASA,GAAU,GACnBA,EAAOC,IAAMF,GAEbC,EAASD,GAAe,GAG1BC,EAASZ,EAAYK,KAAKC,SAAUM,GAGhCA,EAAOE,OACTF,EAAOE,OAASF,EAAOE,OAAOC,cACrBV,KAAKC,SAASQ,OACvBF,EAAOE,OAAST,KAAKC,SAASQ,OAAOC,cAErCH,EAAOE,OAAS,MAGlB,IAAIE,EAAeJ,EAAOI,kBAELC,IAAjBD,GACFf,EAAUiB,cAAcF,EAAc,CACpCG,kBAAmBjB,EAAWc,aAAad,EAAWkB,SACtDC,kBAAmBnB,EAAWc,aAAad,EAAWkB,SACtDE,oBAAqBpB,EAAWc,aAAad,EAAWkB,WACvD,GAIL,IAAIG,EAA0B,GAC1BC,GAAiC,EACrCnB,KAAKE,aAAaC,QAAQiB,SAAQ,SAAoCC,GACjC,oBAAxBA,EAAYC,UAA0D,IAAhCD,EAAYC,QAAQf,KAIrEY,EAAiCA,GAAkCE,EAAYE,YAE/EL,EAAwBM,QAAQH,EAAYI,UAAWJ,EAAYK,cAGrE,IAKIC,EALAC,EAA2B,GAO/B,GANA5B,KAAKE,aAAaE,SAASgB,S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AAQlI,QAAU,OAEhCtB,KAAKgjB,SAAS5gB,OAAS,GAQhC3C,EAAmBY,UAAU6iB,MAAQ,SAAelH,GAC9Chc,KAAKgjB,SAAShH,KAChBhc,KAAKgjB,SAAShH,GAAM,OAYxBvc,EAAmBY,UAAUe,QAAU,SAAiBiC,GACtD9D,EAAM6B,QAAQpB,KAAKgjB,UAAU,SAAwBG,GACzC,OAANA,GACF9f,EAAG8f,OAKTlgB,EAAOC,QAAUzD,G,kCCrDjB","file":"js/chunk-2a1ed2eb.763879f4.js","sourcesContent":["'use strict';\n\nvar utils = require('./../utils');\nvar buildURL = require('../helpers/buildURL');\nvar InterceptorManager = require('./InterceptorManager');\nvar dispatchRequest = require('./dispatchRequest');\nvar mergeConfig = require('./mergeConfig');\nvar validator = require('../helpers/validator');\n\nvar validators = validator.validators;\n/**\n * Create a new instance of Axios\n *\n * @param {Object} instanceConfig The default config for the instance\n */\nfunction Axios(instanceConfig) {\n this.defaults = instanceConfig;\n this.interceptors = {\n request: new InterceptorManager(),\n response: new InterceptorManager()\n };\n}\n\n/**\n * Dispatch a request\n *\n * @param {Object} config The config specific for this request (merged with this.defaults)\n */\nAxios.prototype.request = function request(configOrUrl, config) {\n /*eslint no-param-reassign:0*/\n // Allow for axios('example/url'[, config]) a la fetch API\n if (typeof configOrUrl === 'string') {\n config = config || {};\n config.url = configOrUrl;\n } else {\n config = configOrUrl || {};\n }\n\n config = mergeConfig(this.defaults, config);\n\n // Set config.method\n if (config.method) {\n config.method = config.method.toLowerCase();\n } else if (this.defaults.method) {\n config.method = this.defaults.method.toLowerCase();\n } else {\n config.method = 'get';\n }\n\n var transitional = config.transitional;\n\n if (transitional !== undefined) {\n validator.assertOptions(transitional, {\n silentJSONParsing: validators.transitional(validators.boolean),\n forcedJSONParsing: validators.transitional(validators.boolean),\n clarifyTimeoutError: validators.transitional(validators.boolean)\n }, false);\n }\n\n // filter out skipped interceptors\n var requestInterceptorChain = [];\n var synchronousRequestInterceptors = true;\n this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor) {\n if (typeof interceptor.runWhen === 'function' && interceptor.runWhen(config) === false) {\n return;\n }\n\n synchronousRequestInterceptors = synchronousRequestInterceptors && interceptor.synchronous;\n\n requestInterceptorChain.unshift(interceptor.fulfilled, interceptor.rejected);\n });\n\n var responseInterceptorChain = [];\n this.interceptors.response.forEach(function pushResponseInterceptors(interceptor) {\n responseInterceptorChain.push(interceptor.fulfilled, interceptor.rejected);\n });\n\n var promise;\n\n if (!synchronousRequestInterceptors) {\n var chain = [dispatchRequest, undefined];\n\n Array.prototype.unshift.apply(chain, requestInterceptorChain);\n chain = chain.concat(responseInterceptorChain);\n\n promise = Promise.resolve(config);\n while (chain.length) {\n promise = promise.then(chain.shift(), chain.shift());\n }\n\n return promise;\n }\n\n\n var newConfig = config;\n while (requestInterceptorChain.length) {\n var onFulfilled = requestInterceptorChain.shift();\n var onRejected = requestInterceptorChain.shift();\n try {\n newConfig = onFulfilled(newConfig);\n } catch (error) {\n onRejected(error);\n break;\n }\n }\n\n try {\n promise = dispatchRequest(newConfig);\n } catch (error) {\n return Promise.reject(error);\n }\n\n while (responseInterceptorChain.length) {\n promise = promise.then(responseInterceptorChain.shift(), responseInterceptorChain.shift());\n }\n\n return promise;\n};\n\nAxios.prototype.getUri = function getUri(config) {\n config = mergeConfig(this.defaults, config);\n return buildURL(config.url, config.params, config.paramsSerializer).replace(/^\\?/, '');\n};\n\n// Provide aliases for supported request methods\nutils.forEach(['delete', 'get', 'head', 'options'], function forEachMethodNoData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: (config || {}).data\n }));\n };\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n /*eslint func-names:0*/\n Axios.prototype[method] = function(url, data, config) {\n return this.request(mergeConfig(config || {}, {\n method: method,\n url: url,\n data: data\n }));\n };\n});\n\nmodule.exports = Axios;\n","'use strict';\n\n/**\n * Syntactic sugar for invoking a function and expanding an array for arguments.\n *\n * Common use case would be to use `Function.prototype.apply`.\n *\n * ```js\n * function f(x, y, z) {}\n * var args = [1, 2, 3];\n * f.apply(null, args);\n * ```\n *\n * With `spread` this example can be re-written.\n *\n * ```js\n * spread(function(x, y, z) {})([1, 2, 3]);\n * ```\n *\n * @param {Function} callback\n * @returns {Function}\n */\nmodule.exports = function spread(callback) {\n return function wrap(arr) {\n return callback.apply(null, arr);\n };\n};\n","'use strict';\n\nmodule.exports = function bind(fn, thisArg) {\n return function wrap() {\n var args = new Array(arguments.length);\n for (var i = 0; i < args.length; i++) {\n args[i] = arguments[i];\n }\n return fn.apply(thisArg, args);\n };\n};\n","'use strict';\n\nvar enhanceError = require('./enhanceError');\n\n/**\n * Create an Error with the specified message, config, error code, request and response.\n *\n * @param {string} message The error message.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The created error.\n */\nmodule.exports = function createError(message, config, code, request, response) {\n var error = new Error(message);\n return enhanceError(error, config, code, request, response);\n};\n","'use strict';\n\nmodule.exports = function isCancel(value) {\n return !!(value && value.__CANCEL__);\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction encode(val) {\n return encodeURIComponent(val).\n replace(/%3A/gi, ':').\n replace(/%24/g, '$').\n replace(/%2C/gi, ',').\n replace(/%20/g, '+').\n replace(/%5B/gi, '[').\n replace(/%5D/gi, ']');\n}\n\n/**\n * Build a URL by appending params to the end\n *\n * @param {string} url The base of the url (e.g., http://www.google.com)\n * @param {object} [params] The params to be appended\n * @returns {string} The formatted url\n */\nmodule.exports = function buildURL(url, params, paramsSerializer) {\n /*eslint no-param-reassign:0*/\n if (!params) {\n return url;\n }\n\n var serializedParams;\n if (paramsSerializer) {\n serializedParams = paramsSerializer(params);\n } else if (utils.isURLSearchParams(params)) {\n serializedParams = params.toString();\n } else {\n var parts = [];\n\n utils.forEach(params, function serialize(val, key) {\n if (val === null || typeof val === 'undefined') {\n return;\n }\n\n if (utils.isArray(val)) {\n key = key + '[]';\n } else {\n val = [val];\n }\n\n utils.forEach(val, function parseValue(v) {\n if (utils.isDate(v)) {\n v = v.toISOString();\n } else if (utils.isObject(v)) {\n v = JSON.stringify(v);\n }\n parts.push(encode(key) + '=' + encode(v));\n });\n });\n\n serializedParams = parts.join('&');\n }\n\n if (serializedParams) {\n var hashmarkIndex = url.indexOf('#');\n if (hashmarkIndex !== -1) {\n url = url.slice(0, hashmarkIndex);\n }\n\n url += (url.indexOf('?') === -1 ? '?' : '&') + serializedParams;\n }\n\n return url;\n};\n","'use strict';\n\n/**\n * Update an Error with the specified config, error code, and response.\n *\n * @param {Error} error The error to update.\n * @param {Object} config The config.\n * @param {string} [code] The error code (for example, 'ECONNABORTED').\n * @param {Object} [request] The request.\n * @param {Object} [response] The response.\n * @returns {Error} The error.\n */\nmodule.exports = function enhanceError(error, config, code, request, response) {\n error.config = config;\n if (code) {\n error.code = code;\n }\n\n error.request = request;\n error.response = response;\n error.isAxiosError = true;\n\n error.toJSON = function toJSON() {\n return {\n // Standard\n message: this.message,\n name: this.name,\n // Microsoft\n description: this.description,\n number: this.number,\n // Mozilla\n fileName: this.fileName,\n lineNumber: this.lineNumber,\n columnNumber: this.columnNumber,\n stack: this.stack,\n // Axios\n config: this.config,\n code: this.code,\n status: this.response && this.response.status ? this.response.status : null\n };\n };\n return error;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs have full support of the APIs needed to test\n // whether the request URL is of the same origin as current location.\n (function standardBrowserEnv() {\n var msie = /(msie|trident)/i.test(navigator.userAgent);\n var urlParsingNode = document.createElement('a');\n var originURL;\n\n /**\n * Parse a URL to discover it's components\n *\n * @param {String} url The URL to be parsed\n * @returns {Object}\n */\n function resolveURL(url) {\n var href = url;\n\n if (msie) {\n // IE needs attribute set twice to normalize properties\n urlParsingNode.setAttribute('href', href);\n href = urlParsingNode.href;\n }\n\n urlParsingNode.setAttribute('href', href);\n\n // urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils\n return {\n href: urlParsingNode.href,\n protocol: urlParsingNode.protocol ? urlParsingNode.protocol.replace(/:$/, '') : '',\n host: urlParsingNode.host,\n search: urlParsingNode.search ? urlParsingNode.search.replace(/^\\?/, '') : '',\n hash: urlParsingNode.hash ? urlParsingNode.hash.replace(/^#/, '') : '',\n hostname: urlParsingNode.hostname,\n port: urlParsingNode.port,\n pathname: (urlParsingNode.pathname.charAt(0) === '/') ?\n urlParsingNode.pathname :\n '/' + urlParsingNode.pathname\n };\n }\n\n originURL = resolveURL(window.location.href);\n\n /**\n * Determine if a URL shares the same origin as the current location\n *\n * @param {String} requestURL The URL to test\n * @returns {boolean} True if URL shares the same origin, otherwise false\n */\n return function isURLSameOrigin(requestURL) {\n var parsed = (utils.isString(requestURL)) ? resolveURL(requestURL) : requestURL;\n return (parsed.protocol === originURL.protocol &&\n parsed.host === originURL.host);\n };\n })() :\n\n // Non standard browser envs (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return function isURLSameOrigin() {\n return true;\n };\n })()\n);\n","\"use strict\";\n/* tslint:disable */\n/* eslint-disable */\n/**\n * OpenAI API\n * APIs for sampling from and fine-tuning language models\n *\n * The version of the OpenAPI document: 1.2.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OpenAIApi = exports.OpenAIApiFactory = exports.OpenAIApiFp = exports.OpenAIApiAxiosParamCreator = exports.CreateImageRequestResponseFormatEnum = exports.CreateImageRequestSizeEnum = exports.ChatCompletionResponseMessageRoleEnum = exports.ChatCompletionRequestMessageRoleEnum = void 0;\nconst axios_1 = require(\"axios\");\n// Some imports not used depending on template conditions\n// @ts-ignore\nconst common_1 = require(\"./common\");\n// @ts-ignore\nconst base_1 = require(\"./base\");\nexports.ChatCompletionRequestMessageRoleEnum = {\n System: 'system',\n User: 'user',\n Assistant: 'assistant'\n};\nexports.ChatCompletionResponseMessageRoleEnum = {\n System: 'system',\n User: 'user',\n Assistant: 'assistant'\n};\nexports.CreateImageRequestSizeEnum = {\n _256x256: '256x256',\n _512x512: '512x512',\n _1024x1024: '1024x1024'\n};\nexports.CreateImageRequestResponseFormatEnum = {\n Url: 'url',\n B64Json: 'b64_json'\n};\n/**\n * OpenAIApi - axios parameter creator\n * @export\n */\nexports.OpenAIApiAxiosParamCreator = function (configuration) {\n return {\n /**\n *\n * @summary Immediately cancel a fine-tune job.\n * @param {string} fineTuneId The ID of the fine-tune job to cancel\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n cancelFineTune: (fineTuneId, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'fineTuneId' is not null or undefined\n common_1.assertParamExists('cancelFineTune', 'fineTuneId', fineTuneId);\n const localVarPath = `/fine-tunes/{fine_tune_id}/cancel`\n .replace(`{${\"fine_tune_id\"}}`, encodeURIComponent(String(fineTuneId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Answers the specified question using the provided documents and examples. The endpoint first [searches](/docs/api-reference/searches) over provided documents or files to find relevant context. The relevant context is combined with the provided examples and question to create the prompt for [completion](/docs/api-reference/completions).\n * @param {CreateAnswerRequest} createAnswerRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n createAnswer: (createAnswerRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'createAnswerRequest' is not null or undefined\n common_1.assertParamExists('createAnswer', 'createAnswerRequest', createAnswerRequest);\n const localVarPath = `/answers`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createAnswerRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Creates a completion for the chat message\n * @param {CreateChatCompletionRequest} createChatCompletionRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createChatCompletion: (createChatCompletionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'createChatCompletionRequest' is not null or undefined\n common_1.assertParamExists('createChatCompletion', 'createChatCompletionRequest', createChatCompletionRequest);\n const localVarPath = `/chat/completions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createChatCompletionRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the labeled examples to select the ones most relevant for the particular query. Then, the relevant examples are combined with the query to construct a prompt to produce the final label via the [completions](/docs/api-reference/completions) endpoint. Labeled examples can be provided via an uploaded `file`, or explicitly listed in the request using the `examples` parameter for quick tests and small scale use cases.\n * @param {CreateClassificationRequest} createClassificationRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n createClassification: (createClassificationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'createClassificationRequest' is not null or undefined\n common_1.assertParamExists('createClassification', 'createClassificationRequest', createClassificationRequest);\n const localVarPath = `/classifications`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createClassificationRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Creates a completion for the provided prompt and parameters\n * @param {CreateCompletionRequest} createCompletionRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createCompletion: (createCompletionRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'createCompletionRequest' is not null or undefined\n common_1.assertParamExists('createCompletion', 'createCompletionRequest', createCompletionRequest);\n const localVarPath = `/completions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createCompletionRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Creates a new edit for the provided input, instruction, and parameters.\n * @param {CreateEditRequest} createEditRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createEdit: (createEditRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'createEditRequest' is not null or undefined\n common_1.assertParamExists('createEdit', 'createEditRequest', createEditRequest);\n const localVarPath = `/edits`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createEditRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Creates an embedding vector representing the input text.\n * @param {CreateEmbeddingRequest} createEmbeddingRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createEmbedding: (createEmbeddingRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'createEmbeddingRequest' is not null or undefined\n common_1.assertParamExists('createEmbedding', 'createEmbeddingRequest', createEmbeddingRequest);\n const localVarPath = `/embeddings`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createEmbeddingRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact us if you need to increase the storage limit.\n * @param {File} file Name of the [JSON Lines](https://jsonlines.readthedocs.io/en/latest/) file to be uploaded. If the `purpose` is set to \\\\\\"fine-tune\\\\\\", each line is a JSON record with \\\\\\"prompt\\\\\\" and \\\\\\"completion\\\\\\" fields representing your [training examples](/docs/guides/fine-tuning/prepare-training-data).\n * @param {string} purpose The intended purpose of the uploaded documents. Use \\\\\\"fine-tune\\\\\\" for [Fine-tuning](/docs/api-reference/fine-tunes). This allows us to validate the format of the uploaded file.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createFile: (file, purpose, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'file' is not null or undefined\n common_1.assertParamExists('createFile', 'file', file);\n // verify required parameter 'purpose' is not null or undefined\n common_1.assertParamExists('createFile', 'purpose', purpose);\n const localVarPath = `/files`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();\n if (file !== undefined) {\n localVarFormParams.append('file', file);\n }\n if (purpose !== undefined) {\n localVarFormParams.append('purpose', purpose);\n }\n localVarHeaderParameter['Content-Type'] = 'multipart/form-data';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), localVarFormParams.getHeaders()), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = localVarFormParams;\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete. [Learn more about Fine-tuning](/docs/guides/fine-tuning)\n * @param {CreateFineTuneRequest} createFineTuneRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createFineTune: (createFineTuneRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'createFineTuneRequest' is not null or undefined\n common_1.assertParamExists('createFineTune', 'createFineTuneRequest', createFineTuneRequest);\n const localVarPath = `/fine-tunes`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createFineTuneRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Creates an image given a prompt.\n * @param {CreateImageRequest} createImageRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createImage: (createImageRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'createImageRequest' is not null or undefined\n common_1.assertParamExists('createImage', 'createImageRequest', createImageRequest);\n const localVarPath = `/images/generations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createImageRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Creates an edited or extended image given an original image and a prompt.\n * @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.\n * @param {string} prompt A text description of the desired image(s). The maximum length is 1000 characters.\n * @param {File} [mask] An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.\n * @param {number} [n] The number of images to generate. Must be between 1 and 10.\n * @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.\n * @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.\n * @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createImageEdit: (image, prompt, mask, n, size, responseFormat, user, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'image' is not null or undefined\n common_1.assertParamExists('createImageEdit', 'image', image);\n // verify required parameter 'prompt' is not null or undefined\n common_1.assertParamExists('createImageEdit', 'prompt', prompt);\n const localVarPath = `/images/edits`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();\n if (image !== undefined) {\n localVarFormParams.append('image', image);\n }\n if (mask !== undefined) {\n localVarFormParams.append('mask', mask);\n }\n if (prompt !== undefined) {\n localVarFormParams.append('prompt', prompt);\n }\n if (n !== undefined) {\n localVarFormParams.append('n', n);\n }\n if (size !== undefined) {\n localVarFormParams.append('size', size);\n }\n if (responseFormat !== undefined) {\n localVarFormParams.append('response_format', responseFormat);\n }\n if (user !== undefined) {\n localVarFormParams.append('user', user);\n }\n localVarHeaderParameter['Content-Type'] = 'multipart/form-data';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), localVarFormParams.getHeaders()), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = localVarFormParams;\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Creates a variation of a given image.\n * @param {File} image The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.\n * @param {number} [n] The number of images to generate. Must be between 1 and 10.\n * @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.\n * @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.\n * @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createImageVariation: (image, n, size, responseFormat, user, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'image' is not null or undefined\n common_1.assertParamExists('createImageVariation', 'image', image);\n const localVarPath = `/images/variations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();\n if (image !== undefined) {\n localVarFormParams.append('image', image);\n }\n if (n !== undefined) {\n localVarFormParams.append('n', n);\n }\n if (size !== undefined) {\n localVarFormParams.append('size', size);\n }\n if (responseFormat !== undefined) {\n localVarFormParams.append('response_format', responseFormat);\n }\n if (user !== undefined) {\n localVarFormParams.append('user', user);\n }\n localVarHeaderParameter['Content-Type'] = 'multipart/form-data';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), localVarFormParams.getHeaders()), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = localVarFormParams;\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Classifies if text violates OpenAI\\'s Content Policy\n * @param {CreateModerationRequest} createModerationRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createModeration: (createModerationRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'createModerationRequest' is not null or undefined\n common_1.assertParamExists('createModeration', 'createModerationRequest', createModerationRequest);\n const localVarPath = `/moderations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createModerationRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary The search endpoint computes similarity scores between provided query and documents. Documents can be passed directly to the API if there are no more than 200 of them. To go beyond the 200 document limit, documents can be processed offline and then used for efficient retrieval at query time. When `file` is set, the search endpoint searches over all the documents in the given file and returns up to the `max_rerank` number of documents. These documents will be returned along with their search scores. The similarity score is a positive score that usually ranges from 0 to 300 (but can sometimes go higher), where a score above 200 usually means the document is semantically similar to the query.\n * @param {string} engineId The ID of the engine to use for this request. You can select one of `ada`, `babbage`, `curie`, or `davinci`.\n * @param {CreateSearchRequest} createSearchRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n createSearch: (engineId, createSearchRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'engineId' is not null or undefined\n common_1.assertParamExists('createSearch', 'engineId', engineId);\n // verify required parameter 'createSearchRequest' is not null or undefined\n common_1.assertParamExists('createSearch', 'createSearchRequest', createSearchRequest);\n const localVarPath = `/engines/{engine_id}/search`\n .replace(`{${\"engine_id\"}}`, encodeURIComponent(String(engineId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n localVarHeaderParameter['Content-Type'] = 'application/json';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = common_1.serializeDataIfNeeded(createSearchRequest, localVarRequestOptions, configuration);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Transcribes audio into the input language.\n * @param {File} file The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n * @param {string} model ID of the model to use. Only `whisper-1` is currently available.\n * @param {string} [prompt] An optional text to guide the model\\\\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.\n * @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n * @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n * @param {string} [language] The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createTranscription: (file, model, prompt, responseFormat, temperature, language, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'file' is not null or undefined\n common_1.assertParamExists('createTranscription', 'file', file);\n // verify required parameter 'model' is not null or undefined\n common_1.assertParamExists('createTranscription', 'model', model);\n const localVarPath = `/audio/transcriptions`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();\n if (file !== undefined) {\n localVarFormParams.append('file', file);\n }\n if (model !== undefined) {\n localVarFormParams.append('model', model);\n }\n if (prompt !== undefined) {\n localVarFormParams.append('prompt', prompt);\n }\n if (responseFormat !== undefined) {\n localVarFormParams.append('response_format', responseFormat);\n }\n if (temperature !== undefined) {\n localVarFormParams.append('temperature', temperature);\n }\n if (language !== undefined) {\n localVarFormParams.append('language', language);\n }\n localVarHeaderParameter['Content-Type'] = 'multipart/form-data';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), localVarFormParams.getHeaders()), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = localVarFormParams;\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Translates audio into into English.\n * @param {File} file The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n * @param {string} model ID of the model to use. Only `whisper-1` is currently available.\n * @param {string} [prompt] An optional text to guide the model\\\\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.\n * @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n * @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createTranslation: (file, model, prompt, responseFormat, temperature, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'file' is not null or undefined\n common_1.assertParamExists('createTranslation', 'file', file);\n // verify required parameter 'model' is not null or undefined\n common_1.assertParamExists('createTranslation', 'model', model);\n const localVarPath = `/audio/translations`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n const localVarFormParams = new ((configuration && configuration.formDataCtor) || FormData)();\n if (file !== undefined) {\n localVarFormParams.append('file', file);\n }\n if (model !== undefined) {\n localVarFormParams.append('model', model);\n }\n if (prompt !== undefined) {\n localVarFormParams.append('prompt', prompt);\n }\n if (responseFormat !== undefined) {\n localVarFormParams.append('response_format', responseFormat);\n }\n if (temperature !== undefined) {\n localVarFormParams.append('temperature', temperature);\n }\n localVarHeaderParameter['Content-Type'] = 'multipart/form-data';\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), localVarFormParams.getHeaders()), headersFromBaseOptions), options.headers);\n localVarRequestOptions.data = localVarFormParams;\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Delete a file.\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteFile: (fileId, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'fileId' is not null or undefined\n common_1.assertParamExists('deleteFile', 'fileId', fileId);\n const localVarPath = `/files/{file_id}`\n .replace(`{${\"file_id\"}}`, encodeURIComponent(String(fileId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Delete a fine-tuned model. You must have the Owner role in your organization.\n * @param {string} model The model to delete\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteModel: (model, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'model' is not null or undefined\n common_1.assertParamExists('deleteModel', 'model', model);\n const localVarPath = `/models/{model}`\n .replace(`{${\"model\"}}`, encodeURIComponent(String(model)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Returns the contents of the specified file\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n downloadFile: (fileId, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'fileId' is not null or undefined\n common_1.assertParamExists('downloadFile', 'fileId', fileId);\n const localVarPath = `/files/{file_id}/content`\n .replace(`{${\"file_id\"}}`, encodeURIComponent(String(fileId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Lists the currently available (non-finetuned) models, and provides basic information about each one such as the owner and availability.\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n listEngines: (options = {}) => __awaiter(this, void 0, void 0, function* () {\n const localVarPath = `/engines`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Returns a list of files that belong to the user\\'s organization.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFiles: (options = {}) => __awaiter(this, void 0, void 0, function* () {\n const localVarPath = `/files`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Get fine-grained status updates for a fine-tune job.\n * @param {string} fineTuneId The ID of the fine-tune job to get events for.\n * @param {boolean} [stream] Whether to stream events for the fine-tune job. If set to true, events will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available. The stream will terminate with a `data: [DONE]` message when the job is finished (succeeded, cancelled, or failed). If set to false, only events generated so far will be returned.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFineTuneEvents: (fineTuneId, stream, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'fineTuneId' is not null or undefined\n common_1.assertParamExists('listFineTuneEvents', 'fineTuneId', fineTuneId);\n const localVarPath = `/fine-tunes/{fine_tune_id}/events`\n .replace(`{${\"fine_tune_id\"}}`, encodeURIComponent(String(fineTuneId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n if (stream !== undefined) {\n localVarQueryParameter['stream'] = stream;\n }\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary List your organization\\'s fine-tuning jobs\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFineTunes: (options = {}) => __awaiter(this, void 0, void 0, function* () {\n const localVarPath = `/fine-tunes`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Lists the currently available models, and provides basic information about each one such as the owner and availability.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listModels: (options = {}) => __awaiter(this, void 0, void 0, function* () {\n const localVarPath = `/models`;\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Retrieves a model instance, providing basic information about it such as the owner and availability.\n * @param {string} engineId The ID of the engine to use for this request\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n retrieveEngine: (engineId, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'engineId' is not null or undefined\n common_1.assertParamExists('retrieveEngine', 'engineId', engineId);\n const localVarPath = `/engines/{engine_id}`\n .replace(`{${\"engine_id\"}}`, encodeURIComponent(String(engineId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Returns information about a specific file.\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveFile: (fileId, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'fileId' is not null or undefined\n common_1.assertParamExists('retrieveFile', 'fileId', fileId);\n const localVarPath = `/files/{file_id}`\n .replace(`{${\"file_id\"}}`, encodeURIComponent(String(fileId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Gets info about the fine-tune job. [Learn more about Fine-tuning](/docs/guides/fine-tuning)\n * @param {string} fineTuneId The ID of the fine-tune job\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveFineTune: (fineTuneId, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'fineTuneId' is not null or undefined\n common_1.assertParamExists('retrieveFineTune', 'fineTuneId', fineTuneId);\n const localVarPath = `/fine-tunes/{fine_tune_id}`\n .replace(`{${\"fine_tune_id\"}}`, encodeURIComponent(String(fineTuneId)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n /**\n *\n * @summary Retrieves a model instance, providing basic information about the model such as the owner and permissioning.\n * @param {string} model The ID of the model to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveModel: (model, options = {}) => __awaiter(this, void 0, void 0, function* () {\n // verify required parameter 'model' is not null or undefined\n common_1.assertParamExists('retrieveModel', 'model', model);\n const localVarPath = `/models/{model}`\n .replace(`{${\"model\"}}`, encodeURIComponent(String(model)));\n // use dummy base URL string because the URL constructor only accepts absolute URLs.\n const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);\n let baseOptions;\n if (configuration) {\n baseOptions = configuration.baseOptions;\n }\n const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);\n const localVarHeaderParameter = {};\n const localVarQueryParameter = {};\n common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);\n let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};\n localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);\n return {\n url: common_1.toPathString(localVarUrlObj),\n options: localVarRequestOptions,\n };\n }),\n };\n};\n/**\n * OpenAIApi - functional programming interface\n * @export\n */\nexports.OpenAIApiFp = function (configuration) {\n const localVarAxiosParamCreator = exports.OpenAIApiAxiosParamCreator(configuration);\n return {\n /**\n *\n * @summary Immediately cancel a fine-tune job.\n * @param {string} fineTuneId The ID of the fine-tune job to cancel\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n cancelFineTune(fineTuneId, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelFineTune(fineTuneId, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Answers the specified question using the provided documents and examples. The endpoint first [searches](/docs/api-reference/searches) over provided documents or files to find relevant context. The relevant context is combined with the provided examples and question to create the prompt for [completion](/docs/api-reference/completions).\n * @param {CreateAnswerRequest} createAnswerRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n createAnswer(createAnswerRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createAnswer(createAnswerRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Creates a completion for the chat message\n * @param {CreateChatCompletionRequest} createChatCompletionRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createChatCompletion(createChatCompletionRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createChatCompletion(createChatCompletionRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the labeled examples to select the ones most relevant for the particular query. Then, the relevant examples are combined with the query to construct a prompt to produce the final label via the [completions](/docs/api-reference/completions) endpoint. Labeled examples can be provided via an uploaded `file`, or explicitly listed in the request using the `examples` parameter for quick tests and small scale use cases.\n * @param {CreateClassificationRequest} createClassificationRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n createClassification(createClassificationRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createClassification(createClassificationRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Creates a completion for the provided prompt and parameters\n * @param {CreateCompletionRequest} createCompletionRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createCompletion(createCompletionRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createCompletion(createCompletionRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Creates a new edit for the provided input, instruction, and parameters.\n * @param {CreateEditRequest} createEditRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createEdit(createEditRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createEdit(createEditRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Creates an embedding vector representing the input text.\n * @param {CreateEmbeddingRequest} createEmbeddingRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createEmbedding(createEmbeddingRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createEmbedding(createEmbeddingRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact us if you need to increase the storage limit.\n * @param {File} file Name of the [JSON Lines](https://jsonlines.readthedocs.io/en/latest/) file to be uploaded. If the `purpose` is set to \\\\\\"fine-tune\\\\\\", each line is a JSON record with \\\\\\"prompt\\\\\\" and \\\\\\"completion\\\\\\" fields representing your [training examples](/docs/guides/fine-tuning/prepare-training-data).\n * @param {string} purpose The intended purpose of the uploaded documents. Use \\\\\\"fine-tune\\\\\\" for [Fine-tuning](/docs/api-reference/fine-tunes). This allows us to validate the format of the uploaded file.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createFile(file, purpose, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createFile(file, purpose, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete. [Learn more about Fine-tuning](/docs/guides/fine-tuning)\n * @param {CreateFineTuneRequest} createFineTuneRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createFineTune(createFineTuneRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createFineTune(createFineTuneRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Creates an image given a prompt.\n * @param {CreateImageRequest} createImageRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createImage(createImageRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createImage(createImageRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Creates an edited or extended image given an original image and a prompt.\n * @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.\n * @param {string} prompt A text description of the desired image(s). The maximum length is 1000 characters.\n * @param {File} [mask] An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.\n * @param {number} [n] The number of images to generate. Must be between 1 and 10.\n * @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.\n * @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.\n * @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createImageEdit(image, prompt, mask, n, size, responseFormat, user, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createImageEdit(image, prompt, mask, n, size, responseFormat, user, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Creates a variation of a given image.\n * @param {File} image The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.\n * @param {number} [n] The number of images to generate. Must be between 1 and 10.\n * @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.\n * @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.\n * @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createImageVariation(image, n, size, responseFormat, user, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createImageVariation(image, n, size, responseFormat, user, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Classifies if text violates OpenAI\\'s Content Policy\n * @param {CreateModerationRequest} createModerationRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createModeration(createModerationRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createModeration(createModerationRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary The search endpoint computes similarity scores between provided query and documents. Documents can be passed directly to the API if there are no more than 200 of them. To go beyond the 200 document limit, documents can be processed offline and then used for efficient retrieval at query time. When `file` is set, the search endpoint searches over all the documents in the given file and returns up to the `max_rerank` number of documents. These documents will be returned along with their search scores. The similarity score is a positive score that usually ranges from 0 to 300 (but can sometimes go higher), where a score above 200 usually means the document is semantically similar to the query.\n * @param {string} engineId The ID of the engine to use for this request. You can select one of `ada`, `babbage`, `curie`, or `davinci`.\n * @param {CreateSearchRequest} createSearchRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n createSearch(engineId, createSearchRequest, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createSearch(engineId, createSearchRequest, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Transcribes audio into the input language.\n * @param {File} file The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n * @param {string} model ID of the model to use. Only `whisper-1` is currently available.\n * @param {string} [prompt] An optional text to guide the model\\\\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.\n * @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n * @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n * @param {string} [language] The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createTranscription(file, model, prompt, responseFormat, temperature, language, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createTranscription(file, model, prompt, responseFormat, temperature, language, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Translates audio into into English.\n * @param {File} file The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n * @param {string} model ID of the model to use. Only `whisper-1` is currently available.\n * @param {string} [prompt] An optional text to guide the model\\\\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.\n * @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n * @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createTranslation(file, model, prompt, responseFormat, temperature, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.createTranslation(file, model, prompt, responseFormat, temperature, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Delete a file.\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteFile(fileId, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteFile(fileId, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Delete a fine-tuned model. You must have the Owner role in your organization.\n * @param {string} model The model to delete\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteModel(model, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteModel(model, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Returns the contents of the specified file\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n downloadFile(fileId, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.downloadFile(fileId, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Lists the currently available (non-finetuned) models, and provides basic information about each one such as the owner and availability.\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n listEngines(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.listEngines(options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Returns a list of files that belong to the user\\'s organization.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFiles(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.listFiles(options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Get fine-grained status updates for a fine-tune job.\n * @param {string} fineTuneId The ID of the fine-tune job to get events for.\n * @param {boolean} [stream] Whether to stream events for the fine-tune job. If set to true, events will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available. The stream will terminate with a `data: [DONE]` message when the job is finished (succeeded, cancelled, or failed). If set to false, only events generated so far will be returned.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFineTuneEvents(fineTuneId, stream, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.listFineTuneEvents(fineTuneId, stream, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary List your organization\\'s fine-tuning jobs\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFineTunes(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.listFineTunes(options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Lists the currently available models, and provides basic information about each one such as the owner and availability.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listModels(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.listModels(options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Retrieves a model instance, providing basic information about it such as the owner and availability.\n * @param {string} engineId The ID of the engine to use for this request\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n retrieveEngine(engineId, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.retrieveEngine(engineId, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Returns information about a specific file.\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveFile(fileId, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.retrieveFile(fileId, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Gets info about the fine-tune job. [Learn more about Fine-tuning](/docs/guides/fine-tuning)\n * @param {string} fineTuneId The ID of the fine-tune job\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveFineTune(fineTuneId, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.retrieveFineTune(fineTuneId, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n /**\n *\n * @summary Retrieves a model instance, providing basic information about the model such as the owner and permissioning.\n * @param {string} model The ID of the model to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveModel(model, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const localVarAxiosArgs = yield localVarAxiosParamCreator.retrieveModel(model, options);\n return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);\n });\n },\n };\n};\n/**\n * OpenAIApi - factory interface\n * @export\n */\nexports.OpenAIApiFactory = function (configuration, basePath, axios) {\n const localVarFp = exports.OpenAIApiFp(configuration);\n return {\n /**\n *\n * @summary Immediately cancel a fine-tune job.\n * @param {string} fineTuneId The ID of the fine-tune job to cancel\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n cancelFineTune(fineTuneId, options) {\n return localVarFp.cancelFineTune(fineTuneId, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Answers the specified question using the provided documents and examples. The endpoint first [searches](/docs/api-reference/searches) over provided documents or files to find relevant context. The relevant context is combined with the provided examples and question to create the prompt for [completion](/docs/api-reference/completions).\n * @param {CreateAnswerRequest} createAnswerRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n createAnswer(createAnswerRequest, options) {\n return localVarFp.createAnswer(createAnswerRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Creates a completion for the chat message\n * @param {CreateChatCompletionRequest} createChatCompletionRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createChatCompletion(createChatCompletionRequest, options) {\n return localVarFp.createChatCompletion(createChatCompletionRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the labeled examples to select the ones most relevant for the particular query. Then, the relevant examples are combined with the query to construct a prompt to produce the final label via the [completions](/docs/api-reference/completions) endpoint. Labeled examples can be provided via an uploaded `file`, or explicitly listed in the request using the `examples` parameter for quick tests and small scale use cases.\n * @param {CreateClassificationRequest} createClassificationRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n createClassification(createClassificationRequest, options) {\n return localVarFp.createClassification(createClassificationRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Creates a completion for the provided prompt and parameters\n * @param {CreateCompletionRequest} createCompletionRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createCompletion(createCompletionRequest, options) {\n return localVarFp.createCompletion(createCompletionRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Creates a new edit for the provided input, instruction, and parameters.\n * @param {CreateEditRequest} createEditRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createEdit(createEditRequest, options) {\n return localVarFp.createEdit(createEditRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Creates an embedding vector representing the input text.\n * @param {CreateEmbeddingRequest} createEmbeddingRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createEmbedding(createEmbeddingRequest, options) {\n return localVarFp.createEmbedding(createEmbeddingRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact us if you need to increase the storage limit.\n * @param {File} file Name of the [JSON Lines](https://jsonlines.readthedocs.io/en/latest/) file to be uploaded. If the `purpose` is set to \\\\\\"fine-tune\\\\\\", each line is a JSON record with \\\\\\"prompt\\\\\\" and \\\\\\"completion\\\\\\" fields representing your [training examples](/docs/guides/fine-tuning/prepare-training-data).\n * @param {string} purpose The intended purpose of the uploaded documents. Use \\\\\\"fine-tune\\\\\\" for [Fine-tuning](/docs/api-reference/fine-tunes). This allows us to validate the format of the uploaded file.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createFile(file, purpose, options) {\n return localVarFp.createFile(file, purpose, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete. [Learn more about Fine-tuning](/docs/guides/fine-tuning)\n * @param {CreateFineTuneRequest} createFineTuneRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createFineTune(createFineTuneRequest, options) {\n return localVarFp.createFineTune(createFineTuneRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Creates an image given a prompt.\n * @param {CreateImageRequest} createImageRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createImage(createImageRequest, options) {\n return localVarFp.createImage(createImageRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Creates an edited or extended image given an original image and a prompt.\n * @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.\n * @param {string} prompt A text description of the desired image(s). The maximum length is 1000 characters.\n * @param {File} [mask] An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.\n * @param {number} [n] The number of images to generate. Must be between 1 and 10.\n * @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.\n * @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.\n * @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createImageEdit(image, prompt, mask, n, size, responseFormat, user, options) {\n return localVarFp.createImageEdit(image, prompt, mask, n, size, responseFormat, user, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Creates a variation of a given image.\n * @param {File} image The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.\n * @param {number} [n] The number of images to generate. Must be between 1 and 10.\n * @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.\n * @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.\n * @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createImageVariation(image, n, size, responseFormat, user, options) {\n return localVarFp.createImageVariation(image, n, size, responseFormat, user, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Classifies if text violates OpenAI\\'s Content Policy\n * @param {CreateModerationRequest} createModerationRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createModeration(createModerationRequest, options) {\n return localVarFp.createModeration(createModerationRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary The search endpoint computes similarity scores between provided query and documents. Documents can be passed directly to the API if there are no more than 200 of them. To go beyond the 200 document limit, documents can be processed offline and then used for efficient retrieval at query time. When `file` is set, the search endpoint searches over all the documents in the given file and returns up to the `max_rerank` number of documents. These documents will be returned along with their search scores. The similarity score is a positive score that usually ranges from 0 to 300 (but can sometimes go higher), where a score above 200 usually means the document is semantically similar to the query.\n * @param {string} engineId The ID of the engine to use for this request. You can select one of `ada`, `babbage`, `curie`, or `davinci`.\n * @param {CreateSearchRequest} createSearchRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n createSearch(engineId, createSearchRequest, options) {\n return localVarFp.createSearch(engineId, createSearchRequest, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Transcribes audio into the input language.\n * @param {File} file The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n * @param {string} model ID of the model to use. Only `whisper-1` is currently available.\n * @param {string} [prompt] An optional text to guide the model\\\\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.\n * @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n * @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n * @param {string} [language] The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createTranscription(file, model, prompt, responseFormat, temperature, language, options) {\n return localVarFp.createTranscription(file, model, prompt, responseFormat, temperature, language, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Translates audio into into English.\n * @param {File} file The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n * @param {string} model ID of the model to use. Only `whisper-1` is currently available.\n * @param {string} [prompt] An optional text to guide the model\\\\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.\n * @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n * @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n createTranslation(file, model, prompt, responseFormat, temperature, options) {\n return localVarFp.createTranslation(file, model, prompt, responseFormat, temperature, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Delete a file.\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteFile(fileId, options) {\n return localVarFp.deleteFile(fileId, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Delete a fine-tuned model. You must have the Owner role in your organization.\n * @param {string} model The model to delete\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n deleteModel(model, options) {\n return localVarFp.deleteModel(model, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Returns the contents of the specified file\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n downloadFile(fileId, options) {\n return localVarFp.downloadFile(fileId, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Lists the currently available (non-finetuned) models, and provides basic information about each one such as the owner and availability.\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n listEngines(options) {\n return localVarFp.listEngines(options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Returns a list of files that belong to the user\\'s organization.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFiles(options) {\n return localVarFp.listFiles(options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Get fine-grained status updates for a fine-tune job.\n * @param {string} fineTuneId The ID of the fine-tune job to get events for.\n * @param {boolean} [stream] Whether to stream events for the fine-tune job. If set to true, events will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available. The stream will terminate with a `data: [DONE]` message when the job is finished (succeeded, cancelled, or failed). If set to false, only events generated so far will be returned.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFineTuneEvents(fineTuneId, stream, options) {\n return localVarFp.listFineTuneEvents(fineTuneId, stream, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary List your organization\\'s fine-tuning jobs\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listFineTunes(options) {\n return localVarFp.listFineTunes(options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Lists the currently available models, and provides basic information about each one such as the owner and availability.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n listModels(options) {\n return localVarFp.listModels(options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Retrieves a model instance, providing basic information about it such as the owner and availability.\n * @param {string} engineId The ID of the engine to use for this request\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n */\n retrieveEngine(engineId, options) {\n return localVarFp.retrieveEngine(engineId, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Returns information about a specific file.\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveFile(fileId, options) {\n return localVarFp.retrieveFile(fileId, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Gets info about the fine-tune job. [Learn more about Fine-tuning](/docs/guides/fine-tuning)\n * @param {string} fineTuneId The ID of the fine-tune job\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveFineTune(fineTuneId, options) {\n return localVarFp.retrieveFineTune(fineTuneId, options).then((request) => request(axios, basePath));\n },\n /**\n *\n * @summary Retrieves a model instance, providing basic information about the model such as the owner and permissioning.\n * @param {string} model The ID of the model to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n */\n retrieveModel(model, options) {\n return localVarFp.retrieveModel(model, options).then((request) => request(axios, basePath));\n },\n };\n};\n/**\n * OpenAIApi - object-oriented interface\n * @export\n * @class OpenAIApi\n * @extends {BaseAPI}\n */\nclass OpenAIApi extends base_1.BaseAPI {\n /**\n *\n * @summary Immediately cancel a fine-tune job.\n * @param {string} fineTuneId The ID of the fine-tune job to cancel\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n cancelFineTune(fineTuneId, options) {\n return exports.OpenAIApiFp(this.configuration).cancelFineTune(fineTuneId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Answers the specified question using the provided documents and examples. The endpoint first [searches](/docs/api-reference/searches) over provided documents or files to find relevant context. The relevant context is combined with the provided examples and question to create the prompt for [completion](/docs/api-reference/completions).\n * @param {CreateAnswerRequest} createAnswerRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createAnswer(createAnswerRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createAnswer(createAnswerRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Creates a completion for the chat message\n * @param {CreateChatCompletionRequest} createChatCompletionRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createChatCompletion(createChatCompletionRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createChatCompletion(createChatCompletionRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Classifies the specified `query` using provided examples. The endpoint first [searches](/docs/api-reference/searches) over the labeled examples to select the ones most relevant for the particular query. Then, the relevant examples are combined with the query to construct a prompt to produce the final label via the [completions](/docs/api-reference/completions) endpoint. Labeled examples can be provided via an uploaded `file`, or explicitly listed in the request using the `examples` parameter for quick tests and small scale use cases.\n * @param {CreateClassificationRequest} createClassificationRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createClassification(createClassificationRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createClassification(createClassificationRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Creates a completion for the provided prompt and parameters\n * @param {CreateCompletionRequest} createCompletionRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createCompletion(createCompletionRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createCompletion(createCompletionRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Creates a new edit for the provided input, instruction, and parameters.\n * @param {CreateEditRequest} createEditRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createEdit(createEditRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createEdit(createEditRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Creates an embedding vector representing the input text.\n * @param {CreateEmbeddingRequest} createEmbeddingRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createEmbedding(createEmbeddingRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createEmbedding(createEmbeddingRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Upload a file that contains document(s) to be used across various endpoints/features. Currently, the size of all the files uploaded by one organization can be up to 1 GB. Please contact us if you need to increase the storage limit.\n * @param {File} file Name of the [JSON Lines](https://jsonlines.readthedocs.io/en/latest/) file to be uploaded. If the `purpose` is set to \\\\\\"fine-tune\\\\\\", each line is a JSON record with \\\\\\"prompt\\\\\\" and \\\\\\"completion\\\\\\" fields representing your [training examples](/docs/guides/fine-tuning/prepare-training-data).\n * @param {string} purpose The intended purpose of the uploaded documents. Use \\\\\\"fine-tune\\\\\\" for [Fine-tuning](/docs/api-reference/fine-tunes). This allows us to validate the format of the uploaded file.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createFile(file, purpose, options) {\n return exports.OpenAIApiFp(this.configuration).createFile(file, purpose, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Creates a job that fine-tunes a specified model from a given dataset. Response includes details of the enqueued job including job status and the name of the fine-tuned models once complete. [Learn more about Fine-tuning](/docs/guides/fine-tuning)\n * @param {CreateFineTuneRequest} createFineTuneRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createFineTune(createFineTuneRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createFineTune(createFineTuneRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Creates an image given a prompt.\n * @param {CreateImageRequest} createImageRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createImage(createImageRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createImage(createImageRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Creates an edited or extended image given an original image and a prompt.\n * @param {File} image The image to edit. Must be a valid PNG file, less than 4MB, and square. If mask is not provided, image must have transparency, which will be used as the mask.\n * @param {string} prompt A text description of the desired image(s). The maximum length is 1000 characters.\n * @param {File} [mask] An additional image whose fully transparent areas (e.g. where alpha is zero) indicate where `image` should be edited. Must be a valid PNG file, less than 4MB, and have the same dimensions as `image`.\n * @param {number} [n] The number of images to generate. Must be between 1 and 10.\n * @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.\n * @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.\n * @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createImageEdit(image, prompt, mask, n, size, responseFormat, user, options) {\n return exports.OpenAIApiFp(this.configuration).createImageEdit(image, prompt, mask, n, size, responseFormat, user, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Creates a variation of a given image.\n * @param {File} image The image to use as the basis for the variation(s). Must be a valid PNG file, less than 4MB, and square.\n * @param {number} [n] The number of images to generate. Must be between 1 and 10.\n * @param {string} [size] The size of the generated images. Must be one of `256x256`, `512x512`, or `1024x1024`.\n * @param {string} [responseFormat] The format in which the generated images are returned. Must be one of `url` or `b64_json`.\n * @param {string} [user] A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. [Learn more](/docs/guides/safety-best-practices/end-user-ids).\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createImageVariation(image, n, size, responseFormat, user, options) {\n return exports.OpenAIApiFp(this.configuration).createImageVariation(image, n, size, responseFormat, user, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Classifies if text violates OpenAI\\'s Content Policy\n * @param {CreateModerationRequest} createModerationRequest\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createModeration(createModerationRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createModeration(createModerationRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary The search endpoint computes similarity scores between provided query and documents. Documents can be passed directly to the API if there are no more than 200 of them. To go beyond the 200 document limit, documents can be processed offline and then used for efficient retrieval at query time. When `file` is set, the search endpoint searches over all the documents in the given file and returns up to the `max_rerank` number of documents. These documents will be returned along with their search scores. The similarity score is a positive score that usually ranges from 0 to 300 (but can sometimes go higher), where a score above 200 usually means the document is semantically similar to the query.\n * @param {string} engineId The ID of the engine to use for this request. You can select one of `ada`, `babbage`, `curie`, or `davinci`.\n * @param {CreateSearchRequest} createSearchRequest\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createSearch(engineId, createSearchRequest, options) {\n return exports.OpenAIApiFp(this.configuration).createSearch(engineId, createSearchRequest, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Transcribes audio into the input language.\n * @param {File} file The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n * @param {string} model ID of the model to use. Only `whisper-1` is currently available.\n * @param {string} [prompt] An optional text to guide the model\\\\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should match the audio language.\n * @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n * @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n * @param {string} [language] The language of the input audio. Supplying the input language in [ISO-639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) format will improve accuracy and latency.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createTranscription(file, model, prompt, responseFormat, temperature, language, options) {\n return exports.OpenAIApiFp(this.configuration).createTranscription(file, model, prompt, responseFormat, temperature, language, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Translates audio into into English.\n * @param {File} file The audio file to translate, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.\n * @param {string} model ID of the model to use. Only `whisper-1` is currently available.\n * @param {string} [prompt] An optional text to guide the model\\\\\\'s style or continue a previous audio segment. The [prompt](/docs/guides/speech-to-text/prompting) should be in English.\n * @param {string} [responseFormat] The format of the transcript output, in one of these options: json, text, srt, verbose_json, or vtt.\n * @param {number} [temperature] The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use [log probability](https://en.wikipedia.org/wiki/Log_probability) to automatically increase the temperature until certain thresholds are hit.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n createTranslation(file, model, prompt, responseFormat, temperature, options) {\n return exports.OpenAIApiFp(this.configuration).createTranslation(file, model, prompt, responseFormat, temperature, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Delete a file.\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n deleteFile(fileId, options) {\n return exports.OpenAIApiFp(this.configuration).deleteFile(fileId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Delete a fine-tuned model. You must have the Owner role in your organization.\n * @param {string} model The model to delete\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n deleteModel(model, options) {\n return exports.OpenAIApiFp(this.configuration).deleteModel(model, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Returns the contents of the specified file\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n downloadFile(fileId, options) {\n return exports.OpenAIApiFp(this.configuration).downloadFile(fileId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Lists the currently available (non-finetuned) models, and provides basic information about each one such as the owner and availability.\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n listEngines(options) {\n return exports.OpenAIApiFp(this.configuration).listEngines(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Returns a list of files that belong to the user\\'s organization.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n listFiles(options) {\n return exports.OpenAIApiFp(this.configuration).listFiles(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Get fine-grained status updates for a fine-tune job.\n * @param {string} fineTuneId The ID of the fine-tune job to get events for.\n * @param {boolean} [stream] Whether to stream events for the fine-tune job. If set to true, events will be sent as data-only [server-sent events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events#Event_stream_format) as they become available. The stream will terminate with a `data: [DONE]` message when the job is finished (succeeded, cancelled, or failed). If set to false, only events generated so far will be returned.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n listFineTuneEvents(fineTuneId, stream, options) {\n return exports.OpenAIApiFp(this.configuration).listFineTuneEvents(fineTuneId, stream, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary List your organization\\'s fine-tuning jobs\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n listFineTunes(options) {\n return exports.OpenAIApiFp(this.configuration).listFineTunes(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Lists the currently available models, and provides basic information about each one such as the owner and availability.\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n listModels(options) {\n return exports.OpenAIApiFp(this.configuration).listModels(options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Retrieves a model instance, providing basic information about it such as the owner and availability.\n * @param {string} engineId The ID of the engine to use for this request\n * @param {*} [options] Override http request option.\n * @deprecated\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n retrieveEngine(engineId, options) {\n return exports.OpenAIApiFp(this.configuration).retrieveEngine(engineId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Returns information about a specific file.\n * @param {string} fileId The ID of the file to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n retrieveFile(fileId, options) {\n return exports.OpenAIApiFp(this.configuration).retrieveFile(fileId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Gets info about the fine-tune job. [Learn more about Fine-tuning](/docs/guides/fine-tuning)\n * @param {string} fineTuneId The ID of the fine-tune job\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n retrieveFineTune(fineTuneId, options) {\n return exports.OpenAIApiFp(this.configuration).retrieveFineTune(fineTuneId, options).then((request) => request(this.axios, this.basePath));\n }\n /**\n *\n * @summary Retrieves a model instance, providing basic information about the model such as the owner and permissioning.\n * @param {string} model The ID of the model to use for this request\n * @param {*} [options] Override http request option.\n * @throws {RequiredError}\n * @memberof OpenAIApi\n */\n retrieveModel(model, options) {\n return exports.OpenAIApiFp(this.configuration).retrieveModel(model, options).then((request) => request(this.axios, this.basePath));\n }\n}\nexports.OpenAIApi = OpenAIApi;\n","'use strict';\n\nvar createError = require('./createError');\n\n/**\n * Resolve or reject a Promise based on response status.\n *\n * @param {Function} resolve A function that resolves the promise.\n * @param {Function} reject A function that rejects the promise.\n * @param {object} response The response.\n */\nmodule.exports = function settle(resolve, reject, response) {\n var validateStatus = response.config.validateStatus;\n if (!response.status || !validateStatus || validateStatus(response.status)) {\n resolve(response);\n } else {\n reject(createError(\n 'Request failed with status code ' + response.status,\n response.config,\n null,\n response.request,\n response\n ));\n }\n};\n","'use strict';\n\nvar utils = require('../utils');\n\n/**\n * Config-specific merge-function which creates a new config-object\n * by merging two configuration objects together.\n *\n * @param {Object} config1\n * @param {Object} config2\n * @returns {Object} New object resulting from merging config2 to config1\n */\nmodule.exports = function mergeConfig(config1, config2) {\n // eslint-disable-next-line no-param-reassign\n config2 = config2 || {};\n var config = {};\n\n function getMergedValue(target, source) {\n if (utils.isPlainObject(target) && utils.isPlainObject(source)) {\n return utils.merge(target, source);\n } else if (utils.isPlainObject(source)) {\n return utils.merge({}, source);\n } else if (utils.isArray(source)) {\n return source.slice();\n }\n return source;\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDeepProperties(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function valueFromConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function defaultToConfig2(prop) {\n if (!utils.isUndefined(config2[prop])) {\n return getMergedValue(undefined, config2[prop]);\n } else if (!utils.isUndefined(config1[prop])) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n // eslint-disable-next-line consistent-return\n function mergeDirectKeys(prop) {\n if (prop in config2) {\n return getMergedValue(config1[prop], config2[prop]);\n } else if (prop in config1) {\n return getMergedValue(undefined, config1[prop]);\n }\n }\n\n var mergeMap = {\n 'url': valueFromConfig2,\n 'method': valueFromConfig2,\n 'data': valueFromConfig2,\n 'baseURL': defaultToConfig2,\n 'transformRequest': defaultToConfig2,\n 'transformResponse': defaultToConfig2,\n 'paramsSerializer': defaultToConfig2,\n 'timeout': defaultToConfig2,\n 'timeoutMessage': defaultToConfig2,\n 'withCredentials': defaultToConfig2,\n 'adapter': defaultToConfig2,\n 'responseType': defaultToConfig2,\n 'xsrfCookieName': defaultToConfig2,\n 'xsrfHeaderName': defaultToConfig2,\n 'onUploadProgress': defaultToConfig2,\n 'onDownloadProgress': defaultToConfig2,\n 'decompress': defaultToConfig2,\n 'maxContentLength': defaultToConfig2,\n 'maxBodyLength': defaultToConfig2,\n 'transport': defaultToConfig2,\n 'httpAgent': defaultToConfig2,\n 'httpsAgent': defaultToConfig2,\n 'cancelToken': defaultToConfig2,\n 'socketPath': defaultToConfig2,\n 'responseEncoding': defaultToConfig2,\n 'validateStatus': mergeDirectKeys\n };\n\n utils.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {\n var merge = mergeMap[prop] || mergeDeepProperties;\n var configValue = merge(prop);\n (utils.isUndefined(configValue) && merge !== mergeDirectKeys) || (config[prop] = configValue);\n });\n\n return config;\n};\n","'use strict';\n\nvar utils = require('../utils');\nvar normalizeHeaderName = require('../helpers/normalizeHeaderName');\nvar enhanceError = require('../core/enhanceError');\nvar transitionalDefaults = require('./transitional');\n\nvar DEFAULT_CONTENT_TYPE = {\n 'Content-Type': 'application/x-www-form-urlencoded'\n};\n\nfunction setContentTypeIfUnset(headers, value) {\n if (!utils.isUndefined(headers) && utils.isUndefined(headers['Content-Type'])) {\n headers['Content-Type'] = value;\n }\n}\n\nfunction getDefaultAdapter() {\n var adapter;\n if (typeof XMLHttpRequest !== 'undefined') {\n // For browsers use XHR adapter\n adapter = require('../adapters/xhr');\n } else if (typeof process !== 'undefined' && Object.prototype.toString.call(process) === '[object process]') {\n // For node use HTTP adapter\n adapter = require('../adapters/http');\n }\n return adapter;\n}\n\nfunction stringifySafely(rawValue, parser, encoder) {\n if (utils.isString(rawValue)) {\n try {\n (parser || JSON.parse)(rawValue);\n return utils.trim(rawValue);\n } catch (e) {\n if (e.name !== 'SyntaxError') {\n throw e;\n }\n }\n }\n\n return (encoder || JSON.stringify)(rawValue);\n}\n\nvar defaults = {\n\n transitional: transitionalDefaults,\n\n adapter: getDefaultAdapter(),\n\n transformRequest: [function transformRequest(data, headers) {\n normalizeHeaderName(headers, 'Accept');\n normalizeHeaderName(headers, 'Content-Type');\n\n if (utils.isFormData(data) ||\n utils.isArrayBuffer(data) ||\n utils.isBuffer(data) ||\n utils.isStream(data) ||\n utils.isFile(data) ||\n utils.isBlob(data)\n ) {\n return data;\n }\n if (utils.isArrayBufferView(data)) {\n return data.buffer;\n }\n if (utils.isURLSearchParams(data)) {\n setContentTypeIfUnset(headers, 'application/x-www-form-urlencoded;charset=utf-8');\n return data.toString();\n }\n if (utils.isObject(data) || (headers && headers['Content-Type'] === 'application/json')) {\n setContentTypeIfUnset(headers, 'application/json');\n return stringifySafely(data);\n }\n return data;\n }],\n\n transformResponse: [function transformResponse(data) {\n var transitional = this.transitional || defaults.transitional;\n var silentJSONParsing = transitional && transitional.silentJSONParsing;\n var forcedJSONParsing = transitional && transitional.forcedJSONParsing;\n var strictJSONParsing = !silentJSONParsing && this.responseType === 'json';\n\n if (strictJSONParsing || (forcedJSONParsing && utils.isString(data) && data.length)) {\n try {\n return JSON.parse(data);\n } catch (e) {\n if (strictJSONParsing) {\n if (e.name === 'SyntaxError') {\n throw enhanceError(e, this, 'E_JSON_PARSE');\n }\n throw e;\n }\n }\n }\n\n return data;\n }],\n\n /**\n * A timeout in milliseconds to abort a request. If set to 0 (default) a\n * timeout is not created.\n */\n timeout: 0,\n\n xsrfCookieName: 'XSRF-TOKEN',\n xsrfHeaderName: 'X-XSRF-TOKEN',\n\n maxContentLength: -1,\n maxBodyLength: -1,\n\n validateStatus: function validateStatus(status) {\n return status >= 200 && status < 300;\n },\n\n headers: {\n common: {\n 'Accept': 'application/json, text/plain, */*'\n }\n }\n};\n\nutils.forEach(['delete', 'get', 'head'], function forEachMethodNoData(method) {\n defaults.headers[method] = {};\n});\n\nutils.forEach(['post', 'put', 'patch'], function forEachMethodWithData(method) {\n defaults.headers[method] = utils.merge(DEFAULT_CONTENT_TYPE);\n});\n\nmodule.exports = defaults;\n","'use strict';\n\nvar utils = require('./../utils');\nvar transformData = require('./transformData');\nvar isCancel = require('../cancel/isCancel');\nvar defaults = require('../defaults');\nvar Cancel = require('../cancel/Cancel');\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nfunction throwIfCancellationRequested(config) {\n if (config.cancelToken) {\n config.cancelToken.throwIfRequested();\n }\n\n if (config.signal && config.signal.aborted) {\n throw new Cancel('canceled');\n }\n}\n\n/**\n * Dispatch a request to the server using the configured adapter.\n *\n * @param {object} config The config that is to be used for the request\n * @returns {Promise} The Promise to be fulfilled\n */\nmodule.exports = function dispatchRequest(config) {\n throwIfCancellationRequested(config);\n\n // Ensure headers exist\n config.headers = config.headers || {};\n\n // Transform request data\n config.data = transformData.call(\n config,\n config.data,\n config.headers,\n config.transformRequest\n );\n\n // Flatten headers\n config.headers = utils.merge(\n config.headers.common || {},\n config.headers[config.method] || {},\n config.headers\n );\n\n utils.forEach(\n ['delete', 'get', 'head', 'post', 'put', 'patch', 'common'],\n function cleanHeaderConfig(method) {\n delete config.headers[method];\n }\n );\n\n var adapter = config.adapter || defaults.adapter;\n\n return adapter(config).then(function onAdapterResolution(response) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n response.data = transformData.call(\n config,\n response.data,\n response.headers,\n config.transformResponse\n );\n\n return response;\n }, function onAdapterRejection(reason) {\n if (!isCancel(reason)) {\n throwIfCancellationRequested(config);\n\n // Transform response data\n if (reason && reason.response) {\n reason.response.data = transformData.call(\n config,\n reason.response.data,\n reason.response.headers,\n config.transformResponse\n );\n }\n }\n\n return Promise.reject(reason);\n });\n};\n","\"use strict\";\n/* tslint:disable */\n/* eslint-disable */\n/**\n * OpenAI API\n * APIs for sampling from and fine-tuning language models\n *\n * The version of the OpenAPI document: 1.2.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./api\"), exports);\n__exportStar(require(\"./configuration\"), exports);\n","module.exports = {\n \"version\": \"0.26.1\"\n};","'use strict';\n\nvar utils = require('./../utils');\n\n/**\n * Determines whether the payload is an error thrown by Axios\n *\n * @param {*} payload The value to test\n * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false\n */\nmodule.exports = function isAxiosError(payload) {\n return utils.isObject(payload) && (payload.isAxiosError === true);\n};\n","\"use strict\";\n/* tslint:disable */\n/* eslint-disable */\n/**\n * OpenAI API\n * APIs for sampling from and fine-tuning language models\n *\n * The version of the OpenAPI document: 1.2.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Configuration = void 0;\nconst packageJson = require(\"../package.json\");\nclass Configuration {\n constructor(param = {}) {\n this.apiKey = param.apiKey;\n this.organization = param.organization;\n this.username = param.username;\n this.password = param.password;\n this.accessToken = param.accessToken;\n this.basePath = param.basePath;\n this.baseOptions = param.baseOptions;\n this.formDataCtor = param.formDataCtor;\n if (!this.baseOptions) {\n this.baseOptions = {};\n }\n this.baseOptions.headers = Object.assign({ 'User-Agent': `OpenAI/NodeJS/${packageJson.version}`, 'Authorization': `Bearer ${this.apiKey}` }, this.baseOptions.headers);\n if (this.organization) {\n this.baseOptions.headers['OpenAI-Organization'] = this.organization;\n }\n if (!this.formDataCtor) {\n this.formDataCtor = require(\"form-data\");\n }\n }\n /**\n * Check if the given MIME is a JSON MIME.\n * JSON MIME examples:\n * application/json\n * application/json; charset=UTF8\n * APPLICATION/JSON\n * application/vnd.company+json\n * @param mime - MIME (Multipurpose Internet Mail Extensions)\n * @return True if the given MIME is JSON, false otherwise.\n */\n isJsonMime(mime) {\n const jsonMime = new RegExp('^(application\\/json|[^;/ \\t]+\\/[^;/ \\t]+[+]json)[ \\t]*(;.*)?$', 'i');\n return mime !== null && (jsonMime.test(mime) || mime.toLowerCase() === 'application/json-patch+json');\n }\n}\nexports.Configuration = Configuration;\n","\"use strict\";\n/* tslint:disable */\n/* eslint-disable */\n/**\n * OpenAI API\n * APIs for sampling from and fine-tuning language models\n *\n * The version of the OpenAPI document: 1.2.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.BASE_PATH = void 0;\nconst axios_1 = require(\"axios\");\nexports.BASE_PATH = \"https://api.openai.com/v1\".replace(/\\/+$/, \"\");\n/**\n *\n * @export\n */\nexports.COLLECTION_FORMATS = {\n csv: \",\",\n ssv: \" \",\n tsv: \"\\t\",\n pipes: \"|\",\n};\n/**\n *\n * @export\n * @class BaseAPI\n */\nclass BaseAPI {\n constructor(configuration, basePath = exports.BASE_PATH, axios = axios_1.default) {\n this.basePath = basePath;\n this.axios = axios;\n if (configuration) {\n this.configuration = configuration;\n this.basePath = configuration.basePath || this.basePath;\n }\n }\n}\nexports.BaseAPI = BaseAPI;\n;\n/**\n *\n * @export\n * @class RequiredError\n * @extends {Error}\n */\nclass RequiredError extends Error {\n constructor(field, msg) {\n super(msg);\n this.field = field;\n this.name = \"RequiredError\";\n }\n}\nexports.RequiredError = RequiredError;\n","/* eslint-env browser */\nmodule.exports = typeof self == 'object' ? self.FormData : window.FormData;\n","'use strict';\n\n/**\n * A `Cancel` is an object that is thrown when an operation is canceled.\n *\n * @class\n * @param {string=} message The message.\n */\nfunction Cancel(message) {\n this.message = message;\n}\n\nCancel.prototype.toString = function toString() {\n return 'Cancel' + (this.message ? ': ' + this.message : '');\n};\n\nCancel.prototype.__CANCEL__ = true;\n\nmodule.exports = Cancel;\n","'use strict';\n\nvar utils = require('./../utils');\n\nmodule.exports = (\n utils.isStandardBrowserEnv() ?\n\n // Standard browser envs support document.cookie\n (function standardBrowserEnv() {\n return {\n write: function write(name, value, expires, path, domain, secure) {\n var cookie = [];\n cookie.push(name + '=' + encodeURIComponent(value));\n\n if (utils.isNumber(expires)) {\n cookie.push('expires=' + new Date(expires).toGMTString());\n }\n\n if (utils.isString(path)) {\n cookie.push('path=' + path);\n }\n\n if (utils.isString(domain)) {\n cookie.push('domain=' + domain);\n }\n\n if (secure === true) {\n cookie.push('secure');\n }\n\n document.cookie = cookie.join('; ');\n },\n\n read: function read(name) {\n var match = document.cookie.match(new RegExp('(^|;\\\\s*)(' + name + ')=([^;]*)'));\n return (match ? decodeURIComponent(match[3]) : null);\n },\n\n remove: function remove(name) {\n this.write(name, '', Date.now() - 86400000);\n }\n };\n })() :\n\n // Non standard browser env (web workers, react-native) lack needed support.\n (function nonStandardBrowserEnv() {\n return {\n write: function write() {},\n read: function read() { return null; },\n remove: function remove() {}\n };\n })()\n);\n","'use strict';\n\nvar isAbsoluteURL = require('../helpers/isAbsoluteURL');\nvar combineURLs = require('../helpers/combineURLs');\n\n/**\n * Creates a new URL by combining the baseURL with the requestedURL,\n * only when the requestedURL is not already an absolute URL.\n * If the requestURL is absolute, this function returns the requestedURL untouched.\n *\n * @param {string} baseURL The base URL\n * @param {string} requestedURL Absolute or relative URL to combine\n * @returns {string} The combined full path\n */\nmodule.exports = function buildFullPath(baseURL, requestedURL) {\n if (baseURL && !isAbsoluteURL(requestedURL)) {\n return combineURLs(baseURL, requestedURL);\n }\n return requestedURL;\n};\n","'use strict';\n\nvar VERSION = require('../env/data').version;\n\nvar validators = {};\n\n// eslint-disable-next-line func-names\n['object', 'boolean', 'number', 'function', 'string', 'symbol'].forEach(function(type, i) {\n validators[type] = function validator(thing) {\n return typeof thing === type || 'a' + (i < 1 ? 'n ' : ' ') + type;\n };\n});\n\nvar deprecatedWarnings = {};\n\n/**\n * Transitional option validator\n * @param {function|boolean?} validator - set to false if the transitional option has been removed\n * @param {string?} version - deprecated version / removed since version\n * @param {string?} message - some message with additional info\n * @returns {function}\n */\nvalidators.transitional = function transitional(validator, version, message) {\n function formatMessage(opt, desc) {\n return '[Axios v' + VERSION + '] Transitional option \\'' + opt + '\\'' + desc + (message ? '. ' + message : '');\n }\n\n // eslint-disable-next-line func-names\n return function(value, opt, opts) {\n if (validator === false) {\n throw new Error(formatMessage(opt, ' has been removed' + (version ? ' in ' + version : '')));\n }\n\n if (version && !deprecatedWarnings[opt]) {\n deprecatedWarnings[opt] = true;\n // eslint-disable-next-line no-console\n console.warn(\n formatMessage(\n opt,\n ' has been deprecated since v' + version + ' and will be removed in the near future'\n )\n );\n }\n\n return validator ? validator(value, opt, opts) : true;\n };\n};\n\n/**\n * Assert object's properties type\n * @param {object} options\n * @param {object} schema\n * @param {boolean?} allowUnknown\n */\n\nfunction assertOptions(options, schema, allowUnknown) {\n if (typeof options !== 'object') {\n throw new TypeError('options must be an object');\n }\n var keys = Object.keys(options);\n var i = keys.length;\n while (i-- > 0) {\n var opt = keys[i];\n var validator = schema[opt];\n if (validator) {\n var value = options[opt];\n var result = value === undefined || validator(value, opt, options);\n if (result !== true) {\n throw new TypeError('option ' + opt + ' must be ' + result);\n }\n continue;\n }\n if (allowUnknown !== true) {\n throw Error('Unknown option ' + opt);\n }\n }\n}\n\nmodule.exports = {\n assertOptions: assertOptions,\n validators: validators\n};\n","'use strict';\n\nvar Cancel = require('./Cancel');\n\n/**\n * A `CancelToken` is an object that can be used to request cancellation of an operation.\n *\n * @class\n * @param {Function} executor The executor function.\n */\nfunction CancelToken(executor) {\n if (typeof executor !== 'function') {\n throw new TypeError('executor must be a function.');\n }\n\n var resolvePromise;\n\n this.promise = new Promise(function promiseExecutor(resolve) {\n resolvePromise = resolve;\n });\n\n var token = this;\n\n // eslint-disable-next-line func-names\n this.promise.then(function(cancel) {\n if (!token._listeners) return;\n\n var i;\n var l = token._listeners.length;\n\n for (i = 0; i < l; i++) {\n token._listeners[i](cancel);\n }\n token._listeners = null;\n });\n\n // eslint-disable-next-line func-names\n this.promise.then = function(onfulfilled) {\n var _resolve;\n // eslint-disable-next-line func-names\n var promise = new Promise(function(resolve) {\n token.subscribe(resolve);\n _resolve = resolve;\n }).then(onfulfilled);\n\n promise.cancel = function reject() {\n token.unsubscribe(_resolve);\n };\n\n return promise;\n };\n\n executor(function cancel(message) {\n if (token.reason) {\n // Cancellation has already been requested\n return;\n }\n\n token.reason = new Cancel(message);\n resolvePromise(token.reason);\n });\n}\n\n/**\n * Throws a `Cancel` if cancellation has been requested.\n */\nCancelToken.prototype.throwIfRequested = function throwIfRequested() {\n if (this.reason) {\n throw this.reason;\n }\n};\n\n/**\n * Subscribe to the cancel signal\n */\n\nCancelToken.prototype.subscribe = function subscribe(listener) {\n if (this.reason) {\n listener(this.reason);\n return;\n }\n\n if (this._listeners) {\n this._listeners.push(listener);\n } else {\n this._listeners = [listener];\n }\n};\n\n/**\n * Unsubscribe from the cancel signal\n */\n\nCancelToken.prototype.unsubscribe = function unsubscribe(listener) {\n if (!this._listeners) {\n return;\n }\n var index = this._listeners.indexOf(listener);\n if (index !== -1) {\n this._listeners.splice(index, 1);\n }\n};\n\n/**\n * Returns an object that contains a new `CancelToken` and a function that, when called,\n * cancels the `CancelToken`.\n */\nCancelToken.source = function source() {\n var cancel;\n var token = new CancelToken(function executor(c) {\n cancel = c;\n });\n return {\n token: token,\n cancel: cancel\n };\n};\n\nmodule.exports = CancelToken;\n","'use strict';\n\nvar utils = require('./../utils');\nvar settle = require('./../core/settle');\nvar cookies = require('./../helpers/cookies');\nvar buildURL = require('./../helpers/buildURL');\nvar buildFullPath = require('../core/buildFullPath');\nvar parseHeaders = require('./../helpers/parseHeaders');\nvar isURLSameOrigin = require('./../helpers/isURLSameOrigin');\nvar createError = require('../core/createError');\nvar transitionalDefaults = require('../defaults/transitional');\nvar Cancel = require('../cancel/Cancel');\n\nmodule.exports = function xhrAdapter(config) {\n return new Promise(function dispatchXhrRequest(resolve, reject) {\n var requestData = config.data;\n var requestHeaders = config.headers;\n var responseType = config.responseType;\n var onCanceled;\n function done() {\n if (config.cancelToken) {\n config.cancelToken.unsubscribe(onCanceled);\n }\n\n if (config.signal) {\n config.signal.removeEventListener('abort', onCanceled);\n }\n }\n\n if (utils.isFormData(requestData)) {\n delete requestHeaders['Content-Type']; // Let the browser set it\n }\n\n var request = new XMLHttpRequest();\n\n // HTTP basic authentication\n if (config.auth) {\n var username = config.auth.username || '';\n var password = config.auth.password ? unescape(encodeURIComponent(config.auth.password)) : '';\n requestHeaders.Authorization = 'Basic ' + btoa(username + ':' + password);\n }\n\n var fullPath = buildFullPath(config.baseURL, config.url);\n request.open(config.method.toUpperCase(), buildURL(fullPath, config.params, config.paramsSerializer), true);\n\n // Set the request timeout in MS\n request.timeout = config.timeout;\n\n function onloadend() {\n if (!request) {\n return;\n }\n // Prepare the response\n var responseHeaders = 'getAllResponseHeaders' in request ? parseHeaders(request.getAllResponseHeaders()) : null;\n var responseData = !responseType || responseType === 'text' || responseType === 'json' ?\n request.responseText : request.response;\n var response = {\n data: responseData,\n status: request.status,\n statusText: request.statusText,\n headers: responseHeaders,\n config: config,\n request: request\n };\n\n settle(function _resolve(value) {\n resolve(value);\n done();\n }, function _reject(err) {\n reject(err);\n done();\n }, response);\n\n // Clean up request\n request = null;\n }\n\n if ('onloadend' in request) {\n // Use onloadend if available\n request.onloadend = onloadend;\n } else {\n // Listen for ready state to emulate onloadend\n request.onreadystatechange = function handleLoad() {\n if (!request || request.readyState !== 4) {\n return;\n }\n\n // The request errored out and we didn't get a response, this will be\n // handled by onerror instead\n // With one exception: request that using file: protocol, most browsers\n // will return status as 0 even though it's a successful request\n if (request.status === 0 && !(request.responseURL && request.responseURL.indexOf('file:') === 0)) {\n return;\n }\n // readystate handler is calling before onerror or ontimeout handlers,\n // so we should call onloadend on the next 'tick'\n setTimeout(onloadend);\n };\n }\n\n // Handle browser request cancellation (as opposed to a manual cancellation)\n request.onabort = function handleAbort() {\n if (!request) {\n return;\n }\n\n reject(createError('Request aborted', config, 'ECONNABORTED', request));\n\n // Clean up request\n request = null;\n };\n\n // Handle low level network errors\n request.onerror = function handleError() {\n // Real errors are hidden from us by the browser\n // onerror should only fire if it's a network error\n reject(createError('Network Error', config, null, request));\n\n // Clean up request\n request = null;\n };\n\n // Handle timeout\n request.ontimeout = function handleTimeout() {\n var timeoutErrorMessage = config.timeout ? 'timeout of ' + config.timeout + 'ms exceeded' : 'timeout exceeded';\n var transitional = config.transitional || transitionalDefaults;\n if (config.timeoutErrorMessage) {\n timeoutErrorMessage = config.timeoutErrorMessage;\n }\n reject(createError(\n timeoutErrorMessage,\n config,\n transitional.clarifyTimeoutError ? 'ETIMEDOUT' : 'ECONNABORTED',\n request));\n\n // Clean up request\n request = null;\n };\n\n // Add xsrf header\n // This is only done if running in a standard browser environment.\n // Specifically not if we're in a web worker, or react-native.\n if (utils.isStandardBrowserEnv()) {\n // Add xsrf header\n var xsrfValue = (config.withCredentials || isURLSameOrigin(fullPath)) && config.xsrfCookieName ?\n cookies.read(config.xsrfCookieName) :\n undefined;\n\n if (xsrfValue) {\n requestHeaders[config.xsrfHeaderName] = xsrfValue;\n }\n }\n\n // Add headers to the request\n if ('setRequestHeader' in request) {\n utils.forEach(requestHeaders, function setRequestHeader(val, key) {\n if (typeof requestData === 'undefined' && key.toLowerCase() === 'content-type') {\n // Remove Content-Type if data is undefined\n delete requestHeaders[key];\n } else {\n // Otherwise add header to the request\n request.setRequestHeader(key, val);\n }\n });\n }\n\n // Add withCredentials to request if needed\n if (!utils.isUndefined(config.withCredentials)) {\n request.withCredentials = !!config.withCredentials;\n }\n\n // Add responseType to request if needed\n if (responseType && responseType !== 'json') {\n request.responseType = config.responseType;\n }\n\n // Handle progress if needed\n if (typeof config.onDownloadProgress === 'function') {\n request.addEventListener('progress', config.onDownloadProgress);\n }\n\n // Not all browsers support upload events\n if (typeof config.onUploadProgress === 'function' && request.upload) {\n request.upload.addEventListener('progress', config.onUploadProgress);\n }\n\n if (config.cancelToken || config.signal) {\n // Handle cancellation\n // eslint-disable-next-line func-names\n onCanceled = function(cancel) {\n if (!request) {\n return;\n }\n reject(!cancel || (cancel && cancel.type) ? new Cancel('canceled') : cancel);\n request.abort();\n request = null;\n };\n\n config.cancelToken && config.cancelToken.subscribe(onCanceled);\n if (config.signal) {\n config.signal.aborted ? onCanceled() : config.signal.addEventListener('abort', onCanceled);\n }\n }\n\n if (!requestData) {\n requestData = null;\n }\n\n // Send the request\n request.send(requestData);\n });\n};\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ChatLayout',{attrs:{\"title\":\"Asistente resultados evaluación\",\"waitingMessage\":_vm.waitingMessage,\"historyMessages\":_vm.historyMessages},on:{\"keyup\":_vm.handleInput},model:{value:(_vm.userMessage),callback:function ($$v) {_vm.userMessage=$$v},expression:\"userMessage\"}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import {OpenAI} from 'openai'\r\nimport {openIAKey} from './constKeys'\r\n\r\nconst configuration = {\r\n apiKey: openIAKey,\r\n dangerouslyAllowBrowser: true\r\n}\r\nexport const openai = new OpenAI(configuration)\r\n\r\n","\r\nimport { openai } from './useOpenAI.js'\r\n\r\nexport const chatOneShot = async (messages) => {\r\n return await openai.chat.completions.create({\r\n messages,\r\n model: 'gpt-3.5-turbo',\r\n })\r\n}","export const promptFocusedAnalysis = `Por favor dame un análisis en forma de informe en relación a la pregunta suministrada y a la respuesta implícita en el formato de JSON.\r\nEs necesario indicar toda la información relevante y útil para el usuario final, no puedes dejar abierto una lista generalizando el resultado.\r\nDame solo el contenido del informe, sin ninguna otra información adicional.\r\nDame la información en formato HTML de este modo puedo visualizarlo en mi navegador.\r\nEl padre mayor del HTML debe ser un article.\r\nSi existe un titulo este se representa en un strong y el contenido en un p.\r\nsi tienes que devolver una lista mejor regresa una tabla.\r\nno seas breve, se detallado en la información.\r\nEs posible que existe una respuesta vacía y es correcto ya que no se encontraron registros en la base de datos.\r\nSi llegas a traer una tabla esta debe ser envuelta en un div con la clase table-responsive.\r\n`\r\n\r\nexport const promptDBResultadosEvaluacion = `REFINED: Please draft a SQL query in SQLServer using the ConsultaResultadosEvaluacionesV2 table to answer user questions. The query must ensure that the result does not exceed 200 rows. Only SQL queries are allowed as a response, without any additional information. If this rule cannot be met, respond with \"Error: No SQL query\".\r\n\r\nThe ConsultaResultadosEvaluacionesV2 table includes the following fields:\r\n\r\ndetalle_id\r\npregunta_detalle_id\r\nnombre_empresa\r\nciclo_evaluacion_descripcion\r\nEvaluadorId\r\nevaluador\r\nNombreEvaluador\r\nEvaluadoId\r\nevaluado : nombre personas, personas, evaluado, trabajador, colaborador\r\nNombreEvaluado\r\nRolEvaluacion\r\nTitulo : competencia, habilidad, conducta\r\npregunta_descripcion : pregunta, conducta asociada, habilidad asociada\r\nValoracion : puntaje, calificacion, rating\r\nmovimiento_descripcion : escala, baremos\r\nEmpresaId\r\nFechaTerminado\r\nSucursalId\r\nsucursal\r\nDepartamentoId\r\ndepartamento\r\nAreaId\r\narea\r\nCargoId\r\ncargo\r\nTipoCargoId\r\nTipoCargo\r\nPlease use this information to create SQL queries that respond to user questions.\r\n\r\nFor example, if you want to know the average rating (Valoracion) given by evaluators in a particular evaluation cycle, you might use a query like:\r\n\r\nSELECT TOP 200 ciclo_evaluacion_descripcion, AVG(Valoracion) AS PromedioValoracion\r\nFROM ConsultaResultadosEvaluacionesV2\r\nGROUP BY ciclo_evaluacion_descripcion;\r\n\r\nREFINED: Could you please provide a revised prompt that clearly states the desired outcome and specifies the exact query that should be returned?\r\n\r\n\"I have not been successful as it returns the following message: 'To find the best evaluation results, you can use the following query: SELECT NombreEvaluado, MAX(Valoracion) AS MaximumRating FROM ConsultaResultadosEvaluacionesV2 GROUP BY NombreEvaluado ORDER BY MaximumRating DESC; This will show you the names of the evaluated individuals along with their highest rating, sorted from highest to lowest.' I only want it to return: 'SELECT NombreEvaluado, MAX(Valoracion) AS MaximumRating FROM ConsultaResultadosEvaluacionesV2 GROUP BY NombreEvaluado ORDER BY MaximumRating DESC;'\"\r\n\r\nANSWER: To directly address your request, if you are seeking to obtain just the SQL query without any additional explanation or context, here it is in its concise form:\r\n\r\nSELECT NombreEvaluado, MAX(Valoracion) AS MaximumRating FROM ConsultaResultadosEvaluacionesV2 GROUP BY NombreEvaluado ORDER BY MaximumRating DESC;\r\n\r\nThis SQL query is designed to display the names of the evaluated individuals (NombreEvaluado) alongside their highest rating (MAX(Valoracion) as MaximumRating), grouped by the evaluated individual's name and sorted from the highest rating to the lowest.\r\n\r\nVerbos que lleven a una accion los entenderás como una consulta: tales como tráeme, muéstrame, dame una lista, etc.\r\n\r\nDespués de los dos puntos encentras otra forma en la que el usuario se refiere al nombre de columna\r\n\r\nla valoración es la forma de calificar\r\n\r\n[\r\n se te puede pasar el nombre de una persona e implícitamente se refiere a la columna nombre de evaluado\r\n ejemplo: \r\n user: 'trame las competencias de VIVIAN XIOMARA PEÑA PINILLA'\r\n assistant: 'select top (100) Titulo as competencia from ConsultaResultadosEvaluacionesV2 where NombreEvaluado like '% VIVIAN XIOMARA PEÑA PINILLA%''\r\n\r\n]\r\n\r\n\r\n\r\n`","\r\nimport store from \"@/store\";\r\n\r\nexport const createAnalytics = async (message, chatCompletion, ChatAssistantAIId) => {\r\n const TK = localStorage.getItem('tk')\r\n const persona = JSON.parse(localStorage.getItem(\"setPersonaAct\"))\r\n \r\n let headersList = {\r\n \"Accept\": \"*/*\",\r\n \"Authorization\": `Bearer ${TK}`,\r\n \"Content-Type\": \"application/json\"\r\n }\r\n\r\n let bodyContent = JSON.stringify({\r\n \"ChatAssistantAIId\": ChatAssistantAIId,\r\n \"PersonaId\": persona.id,\r\n \"EmpresaIdByPersona\": persona.empresa.id,\r\n \"UserMessage\": message.content,\r\n \"AssistantMessage\": chatCompletion.choices[0].message.content,\r\n \"TokenPrompt\": chatCompletion.usage.prompt_tokens,\r\n \"TokenResponse\": chatCompletion.usage.completion_tokens,\r\n });\r\n\r\n let response = await fetch(`${store.state.hl_url}ChatAssistantAI/createReportAssistantAI`, {\r\n method: \"POST\",\r\n body: bodyContent,\r\n headers: headersList\r\n });\r\n\r\n let data = await response.text();\r\n console.log(data);\r\n\r\n}\r\n\r\n\r\n\r\n","import { chatOneShot } from './useChatAI'\r\nimport { promptDBResultadosEvaluacion, promptFocusedAnalysis } from './systemPrompt'\r\nimport { createAnalytics } from './useChatAnalytics'\r\n// max tokens: 16385. Se debe tener en cuenta este error.\r\nconst cleanString = (string) => string.replace(/(\\r\\n|\\n|\\r)/gm, \" \")\r\n\r\nexport const chatGetQuery = async (userMessage) => {\r\n const chatCompletion = await chatOneShot([\r\n { role: 'system', content: promptDBResultadosEvaluacion },\r\n userMessage\r\n ])\r\n\r\n createAnalytics(userMessage, chatCompletion, 'chatGetQueryResultadosEvaluacion')\r\n\r\n const resultGPT = chatCompletion.choices[0].message\r\n if( resultGPT.content.includes('Error') ) {\r\n throw new Error(resultGPT.content)\r\n } else {\r\n return cleanString(resultGPT.content)\r\n }\r\n}\r\n\r\n\r\nexport const chatGetAnalysis = async (userMessage) => {\r\n const chatCompletion = await chatOneShot([\r\n { role: 'system', content: promptFocusedAnalysis},\r\n userMessage\r\n ])\r\n console.log('chatCompletion', chatCompletion);\r\n\r\n createAnalytics(userMessage, chatCompletion, 'chatGetAnalysisResultadosEvaluacion')\r\n return chatCompletion.choices[0].message.content\r\n}","\r\n\r\n\r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatResultadosEvaluacion.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatResultadosEvaluacion.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ChatResultadosEvaluacion.vue?vue&type=template&id=6df98fd0&scoped=true\"\nimport script from \"./ChatResultadosEvaluacion.vue?vue&type=script&lang=js\"\nexport * from \"./ChatResultadosEvaluacion.vue?vue&type=script&lang=js\"\nimport style0 from \"./ChatResultadosEvaluacion.vue?vue&type=style&index=0&id=6df98fd0&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6df98fd0\",\n null\n \n)\n\nexport default component.exports","module.exports = require('./lib/axios');","'use strict';\n\nvar utils = require('./../utils');\n\n// Headers whose duplicates are ignored by node\n// c.f. https://nodejs.org/api/http.html#http_message_headers\nvar ignoreDuplicateOf = [\n 'age', 'authorization', 'content-length', 'content-type', 'etag',\n 'expires', 'from', 'host', 'if-modified-since', 'if-unmodified-since',\n 'last-modified', 'location', 'max-forwards', 'proxy-authorization',\n 'referer', 'retry-after', 'user-agent'\n];\n\n/**\n * Parse headers into an object\n *\n * ```\n * Date: Wed, 27 Aug 2014 08:58:49 GMT\n * Content-Type: application/json\n * Connection: keep-alive\n * Transfer-Encoding: chunked\n * ```\n *\n * @param {String} headers Headers needing to be parsed\n * @returns {Object} Headers parsed into an object\n */\nmodule.exports = function parseHeaders(headers) {\n var parsed = {};\n var key;\n var val;\n var i;\n\n if (!headers) { return parsed; }\n\n utils.forEach(headers.split('\\n'), function parser(line) {\n i = line.indexOf(':');\n key = utils.trim(line.substr(0, i)).toLowerCase();\n val = utils.trim(line.substr(i + 1));\n\n if (key) {\n if (parsed[key] && ignoreDuplicateOf.indexOf(key) >= 0) {\n return;\n }\n if (key === 'set-cookie') {\n parsed[key] = (parsed[key] ? parsed[key] : []).concat([val]);\n } else {\n parsed[key] = parsed[key] ? parsed[key] + ', ' + val : val;\n }\n }\n });\n\n return parsed;\n};\n","'use strict';\n\nvar utils = require('./../utils');\nvar defaults = require('../defaults');\n\n/**\n * Transform the data for a request or a response\n *\n * @param {Object|String} data The data to be transformed\n * @param {Array} headers The headers for the request or response\n * @param {Array|Function} fns A single function or Array of functions\n * @returns {*} The resulting transformed data\n */\nmodule.exports = function transformData(data, headers, fns) {\n var context = this || defaults;\n /*eslint no-param-reassign:0*/\n utils.forEach(fns, function transform(fn) {\n data = fn.call(context, data, headers);\n });\n\n return data;\n};\n","'use strict';\n\nvar bind = require('./helpers/bind');\n\n// utils is a library of generic helper functions non-specific to axios\n\nvar toString = Object.prototype.toString;\n\n/**\n * Determine if a value is an Array\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Array, otherwise false\n */\nfunction isArray(val) {\n return Array.isArray(val);\n}\n\n/**\n * Determine if a value is undefined\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if the value is undefined, otherwise false\n */\nfunction isUndefined(val) {\n return typeof val === 'undefined';\n}\n\n/**\n * Determine if a value is a Buffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Buffer, otherwise false\n */\nfunction isBuffer(val) {\n return val !== null && !isUndefined(val) && val.constructor !== null && !isUndefined(val.constructor)\n && typeof val.constructor.isBuffer === 'function' && val.constructor.isBuffer(val);\n}\n\n/**\n * Determine if a value is an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an ArrayBuffer, otherwise false\n */\nfunction isArrayBuffer(val) {\n return toString.call(val) === '[object ArrayBuffer]';\n}\n\n/**\n * Determine if a value is a FormData\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an FormData, otherwise false\n */\nfunction isFormData(val) {\n return toString.call(val) === '[object FormData]';\n}\n\n/**\n * Determine if a value is a view on an ArrayBuffer\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a view on an ArrayBuffer, otherwise false\n */\nfunction isArrayBufferView(val) {\n var result;\n if ((typeof ArrayBuffer !== 'undefined') && (ArrayBuffer.isView)) {\n result = ArrayBuffer.isView(val);\n } else {\n result = (val) && (val.buffer) && (isArrayBuffer(val.buffer));\n }\n return result;\n}\n\n/**\n * Determine if a value is a String\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a String, otherwise false\n */\nfunction isString(val) {\n return typeof val === 'string';\n}\n\n/**\n * Determine if a value is a Number\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Number, otherwise false\n */\nfunction isNumber(val) {\n return typeof val === 'number';\n}\n\n/**\n * Determine if a value is an Object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is an Object, otherwise false\n */\nfunction isObject(val) {\n return val !== null && typeof val === 'object';\n}\n\n/**\n * Determine if a value is a plain Object\n *\n * @param {Object} val The value to test\n * @return {boolean} True if value is a plain Object, otherwise false\n */\nfunction isPlainObject(val) {\n if (toString.call(val) !== '[object Object]') {\n return false;\n }\n\n var prototype = Object.getPrototypeOf(val);\n return prototype === null || prototype === Object.prototype;\n}\n\n/**\n * Determine if a value is a Date\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Date, otherwise false\n */\nfunction isDate(val) {\n return toString.call(val) === '[object Date]';\n}\n\n/**\n * Determine if a value is a File\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a File, otherwise false\n */\nfunction isFile(val) {\n return toString.call(val) === '[object File]';\n}\n\n/**\n * Determine if a value is a Blob\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Blob, otherwise false\n */\nfunction isBlob(val) {\n return toString.call(val) === '[object Blob]';\n}\n\n/**\n * Determine if a value is a Function\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Function, otherwise false\n */\nfunction isFunction(val) {\n return toString.call(val) === '[object Function]';\n}\n\n/**\n * Determine if a value is a Stream\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a Stream, otherwise false\n */\nfunction isStream(val) {\n return isObject(val) && isFunction(val.pipe);\n}\n\n/**\n * Determine if a value is a URLSearchParams object\n *\n * @param {Object} val The value to test\n * @returns {boolean} True if value is a URLSearchParams object, otherwise false\n */\nfunction isURLSearchParams(val) {\n return toString.call(val) === '[object URLSearchParams]';\n}\n\n/**\n * Trim excess whitespace off the beginning and end of a string\n *\n * @param {String} str The String to trim\n * @returns {String} The String freed of excess whitespace\n */\nfunction trim(str) {\n return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g, '');\n}\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n * typeof window -> undefined\n * typeof document -> undefined\n *\n * react-native:\n * navigator.product -> 'ReactNative'\n * nativescript\n * navigator.product -> 'NativeScript' or 'NS'\n */\nfunction isStandardBrowserEnv() {\n if (typeof navigator !== 'undefined' && (navigator.product === 'ReactNative' ||\n navigator.product === 'NativeScript' ||\n navigator.product === 'NS')) {\n return false;\n }\n return (\n typeof window !== 'undefined' &&\n typeof document !== 'undefined'\n );\n}\n\n/**\n * Iterate over an Array or an Object invoking a function for each item.\n *\n * If `obj` is an Array callback will be called passing\n * the value, index, and complete array for each item.\n *\n * If 'obj' is an Object callback will be called passing\n * the value, key, and complete object for each property.\n *\n * @param {Object|Array} obj The object to iterate\n * @param {Function} fn The callback to invoke for each item\n */\nfunction forEach(obj, fn) {\n // Don't bother if no value provided\n if (obj === null || typeof obj === 'undefined') {\n return;\n }\n\n // Force an array if not already something iterable\n if (typeof obj !== 'object') {\n /*eslint no-param-reassign:0*/\n obj = [obj];\n }\n\n if (isArray(obj)) {\n // Iterate over array values\n for (var i = 0, l = obj.length; i < l; i++) {\n fn.call(null, obj[i], i, obj);\n }\n } else {\n // Iterate over object keys\n for (var key in obj) {\n if (Object.prototype.hasOwnProperty.call(obj, key)) {\n fn.call(null, obj[key], key, obj);\n }\n }\n }\n}\n\n/**\n * Accepts varargs expecting each argument to be an object, then\n * immutably merges the properties of each object and returns result.\n *\n * When multiple objects contain the same key the later object in\n * the arguments list will take precedence.\n *\n * Example:\n *\n * ```js\n * var result = merge({foo: 123}, {foo: 456});\n * console.log(result.foo); // outputs 456\n * ```\n *\n * @param {Object} obj1 Object to merge\n * @returns {Object} Result of all merge properties\n */\nfunction merge(/* obj1, obj2, obj3, ... */) {\n var result = {};\n function assignValue(val, key) {\n if (isPlainObject(result[key]) && isPlainObject(val)) {\n result[key] = merge(result[key], val);\n } else if (isPlainObject(val)) {\n result[key] = merge({}, val);\n } else if (isArray(val)) {\n result[key] = val.slice();\n } else {\n result[key] = val;\n }\n }\n\n for (var i = 0, l = arguments.length; i < l; i++) {\n forEach(arguments[i], assignValue);\n }\n return result;\n}\n\n/**\n * Extends object a by mutably adding to it the properties of object b.\n *\n * @param {Object} a The object to be extended\n * @param {Object} b The object to copy properties from\n * @param {Object} thisArg The object to bind function to\n * @return {Object} The resulting value of object a\n */\nfunction extend(a, b, thisArg) {\n forEach(b, function assignValue(val, key) {\n if (thisArg && typeof val === 'function') {\n a[key] = bind(val, thisArg);\n } else {\n a[key] = val;\n }\n });\n return a;\n}\n\n/**\n * Remove byte order marker. This catches EF BB BF (the UTF-8 BOM)\n *\n * @param {string} content with BOM\n * @return {string} content value without BOM\n */\nfunction stripBOM(content) {\n if (content.charCodeAt(0) === 0xFEFF) {\n content = content.slice(1);\n }\n return content;\n}\n\nmodule.exports = {\n isArray: isArray,\n isArrayBuffer: isArrayBuffer,\n isBuffer: isBuffer,\n isFormData: isFormData,\n isArrayBufferView: isArrayBufferView,\n isString: isString,\n isNumber: isNumber,\n isObject: isObject,\n isPlainObject: isPlainObject,\n isUndefined: isUndefined,\n isDate: isDate,\n isFile: isFile,\n isBlob: isBlob,\n isFunction: isFunction,\n isStream: isStream,\n isURLSearchParams: isURLSearchParams,\n isStandardBrowserEnv: isStandardBrowserEnv,\n forEach: forEach,\n merge: merge,\n extend: extend,\n trim: trim,\n stripBOM: stripBOM\n};\n","\"use strict\";\n/* tslint:disable */\n/* eslint-disable */\n/**\n * OpenAI API\n * APIs for sampling from and fine-tuning language models\n *\n * The version of the OpenAPI document: 1.2.0\n *\n *\n * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).\n * https://openapi-generator.tech\n * Do not edit the class manually.\n */\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;\nconst base_1 = require(\"./base\");\n/**\n *\n * @export\n */\nexports.DUMMY_BASE_URL = 'https://example.com';\n/**\n *\n * @throws {RequiredError}\n * @export\n */\nexports.assertParamExists = function (functionName, paramName, paramValue) {\n if (paramValue === null || paramValue === undefined) {\n throw new base_1.RequiredError(paramName, `Required parameter ${paramName} was null or undefined when calling ${functionName}.`);\n }\n};\n/**\n *\n * @export\n */\nexports.setApiKeyToObject = function (object, keyParamName, configuration) {\n return __awaiter(this, void 0, void 0, function* () {\n if (configuration && configuration.apiKey) {\n const localVarApiKeyValue = typeof configuration.apiKey === 'function'\n ? yield configuration.apiKey(keyParamName)\n : yield configuration.apiKey;\n object[keyParamName] = localVarApiKeyValue;\n }\n });\n};\n/**\n *\n * @export\n */\nexports.setBasicAuthToObject = function (object, configuration) {\n if (configuration && (configuration.username || configuration.password)) {\n object[\"auth\"] = { username: configuration.username, password: configuration.password };\n }\n};\n/**\n *\n * @export\n */\nexports.setBearerAuthToObject = function (object, configuration) {\n return __awaiter(this, void 0, void 0, function* () {\n if (configuration && configuration.accessToken) {\n const accessToken = typeof configuration.accessToken === 'function'\n ? yield configuration.accessToken()\n : yield configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + accessToken;\n }\n });\n};\n/**\n *\n * @export\n */\nexports.setOAuthToObject = function (object, name, scopes, configuration) {\n return __awaiter(this, void 0, void 0, function* () {\n if (configuration && configuration.accessToken) {\n const localVarAccessTokenValue = typeof configuration.accessToken === 'function'\n ? yield configuration.accessToken(name, scopes)\n : yield configuration.accessToken;\n object[\"Authorization\"] = \"Bearer \" + localVarAccessTokenValue;\n }\n });\n};\nfunction setFlattenedQueryParams(urlSearchParams, parameter, key = \"\") {\n if (parameter == null)\n return;\n if (typeof parameter === \"object\") {\n if (Array.isArray(parameter)) {\n parameter.forEach(item => setFlattenedQueryParams(urlSearchParams, item, key));\n }\n else {\n Object.keys(parameter).forEach(currentKey => setFlattenedQueryParams(urlSearchParams, parameter[currentKey], `${key}${key !== '' ? '.' : ''}${currentKey}`));\n }\n }\n else {\n if (urlSearchParams.has(key)) {\n urlSearchParams.append(key, parameter);\n }\n else {\n urlSearchParams.set(key, parameter);\n }\n }\n}\n/**\n *\n * @export\n */\nexports.setSearchParams = function (url, ...objects) {\n const searchParams = new URLSearchParams(url.search);\n setFlattenedQueryParams(searchParams, objects);\n url.search = searchParams.toString();\n};\n/**\n *\n * @export\n */\nexports.serializeDataIfNeeded = function (value, requestOptions, configuration) {\n const nonString = typeof value !== 'string';\n const needsSerialization = nonString && configuration && configuration.isJsonMime\n ? configuration.isJsonMime(requestOptions.headers['Content-Type'])\n : nonString;\n return needsSerialization\n ? JSON.stringify(value !== undefined ? value : {})\n : (value || \"\");\n};\n/**\n *\n * @export\n */\nexports.toPathString = function (url) {\n return url.pathname + url.search + url.hash;\n};\n/**\n *\n * @export\n */\nexports.createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, configuration) {\n return (axios = globalAxios, basePath = BASE_PATH) => {\n const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: ((configuration === null || configuration === void 0 ? void 0 : configuration.basePath) || basePath) + axiosArgs.url });\n return axios.request(axiosRequestArgs);\n };\n};\n","'use strict';\n\nvar utils = require('../utils');\n\nmodule.exports = function normalizeHeaderName(headers, normalizedName) {\n utils.forEach(headers, function processHeader(value, name) {\n if (name !== normalizedName && name.toUpperCase() === normalizedName.toUpperCase()) {\n headers[normalizedName] = value;\n delete headers[name];\n }\n });\n};\n","'use strict';\n\nmodule.exports = {\n silentJSONParsing: true,\n forcedJSONParsing: true,\n clarifyTimeoutError: false\n};\n","'use strict';\n\nvar utils = require('./utils');\nvar bind = require('./helpers/bind');\nvar Axios = require('./core/Axios');\nvar mergeConfig = require('./core/mergeConfig');\nvar defaults = require('./defaults');\n\n/**\n * Create an instance of Axios\n *\n * @param {Object} defaultConfig The default config for the instance\n * @return {Axios} A new instance of Axios\n */\nfunction createInstance(defaultConfig) {\n var context = new Axios(defaultConfig);\n var instance = bind(Axios.prototype.request, context);\n\n // Copy axios.prototype to instance\n utils.extend(instance, Axios.prototype, context);\n\n // Copy context to instance\n utils.extend(instance, context);\n\n // Factory for creating new instances\n instance.create = function create(instanceConfig) {\n return createInstance(mergeConfig(defaultConfig, instanceConfig));\n };\n\n return instance;\n}\n\n// Create the default instance to be exported\nvar axios = createInstance(defaults);\n\n// Expose Axios class to allow class inheritance\naxios.Axios = Axios;\n\n// Expose Cancel & CancelToken\naxios.Cancel = require('./cancel/Cancel');\naxios.CancelToken = require('./cancel/CancelToken');\naxios.isCancel = require('./cancel/isCancel');\naxios.VERSION = require('./env/data').version;\n\n// Expose all/spread\naxios.all = function all(promises) {\n return Promise.all(promises);\n};\naxios.spread = require('./helpers/spread');\n\n// Expose isAxiosError\naxios.isAxiosError = require('./helpers/isAxiosError');\n\nmodule.exports = axios;\n\n// Allow use of default import syntax in TypeScript\nmodule.exports.default = axios;\n","'use strict';\n\n/**\n * Determines whether the specified URL is absolute\n *\n * @param {string} url The URL to test\n * @returns {boolean} True if the specified URL is absolute, otherwise false\n */\nmodule.exports = function isAbsoluteURL(url) {\n // A URL is considered absolute if it begins with \"://\" or \"//\" (protocol-relative URL).\n // RFC 3986 defines scheme name as a sequence of characters beginning with a letter and followed\n // by any combination of letters, digits, plus, period, or hyphen.\n return /^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(url);\n};\n","'use strict';\n\n/**\n * Creates a new URL by combining the specified URLs\n *\n * @param {string} baseURL The base URL\n * @param {string} relativeURL The relative URL\n * @returns {string} The combined URL\n */\nmodule.exports = function combineURLs(baseURL, relativeURL) {\n return relativeURL\n ? baseURL.replace(/\\/+$/, '') + '/' + relativeURL.replace(/^\\/+/, '')\n : baseURL;\n};\n","'use strict';\n\nvar utils = require('./../utils');\n\nfunction InterceptorManager() {\n this.handlers = [];\n}\n\n/**\n * Add a new interceptor to the stack\n *\n * @param {Function} fulfilled The function to handle `then` for a `Promise`\n * @param {Function} rejected The function to handle `reject` for a `Promise`\n *\n * @return {Number} An ID used to remove interceptor later\n */\nInterceptorManager.prototype.use = function use(fulfilled, rejected, options) {\n this.handlers.push({\n fulfilled: fulfilled,\n rejected: rejected,\n synchronous: options ? options.synchronous : false,\n runWhen: options ? options.runWhen : null\n });\n return this.handlers.length - 1;\n};\n\n/**\n * Remove an interceptor from the stack\n *\n * @param {Number} id The ID that was returned by `use`\n */\nInterceptorManager.prototype.eject = function eject(id) {\n if (this.handlers[id]) {\n this.handlers[id] = null;\n }\n};\n\n/**\n * Iterate over all the registered interceptors\n *\n * This method is particularly useful for skipping over any\n * interceptors that may have become `null` calling `eject`.\n *\n * @param {Function} fn The function to call for each interceptor\n */\nInterceptorManager.prototype.forEach = function forEach(fn) {\n utils.forEach(this.handlers, function forEachHandler(h) {\n if (h !== null) {\n fn(h);\n }\n });\n};\n\nmodule.exports = InterceptorManager;\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChatResultadosEvaluacion.vue?vue&type=style&index=0&id=6df98fd0&prod&scoped=true&lang=css\""],"sourceRoot":""}