You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lvgl/node/node_modules/openai/resources/audio/transcriptions.js

18 lines
741 B

"use strict";
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
Object.defineProperty(exports, "__esModule", { value: true });
exports.Transcriptions = void 0;
const resource_1 = require("../../core/resource.js");
const uploads_1 = require("../../internal/uploads.js");
class Transcriptions extends resource_1.APIResource {
create(body, options) {
return this._client.post('/audio/transcriptions', (0, uploads_1.multipartFormRequestOptions)({
body,
...options,
stream: body.stream ?? false,
__metadata: { model: body.model },
}, this._client));
}
}
exports.Transcriptions = Transcriptions;
//# sourceMappingURL=transcriptions.js.map