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.mjs

14 lines
591 B

// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from "../../core/resource.mjs";
import { multipartFormRequestOptions } from "../../internal/uploads.mjs";
export class Transcriptions extends APIResource {
create(body, options) {
return this._client.post('/audio/transcriptions', multipartFormRequestOptions({
body,
...options,
stream: body.stream ?? false,
__metadata: { model: body.model },
}, this._client));
}
}
//# sourceMappingURL=transcriptions.mjs.map