generated from ShadowVR/AI_botter
14 lines
No EOL
539 B
JavaScript
14 lines
No EOL
539 B
JavaScript
// File generated from our OpenAPI spec by Stainless.
|
|
import { APIResource } from 'openai/resource';
|
|
import { multipartFormRequestOptions } from 'openai/core';
|
|
export class Transcriptions extends APIResource {
|
|
/**
|
|
* Transcribes audio into the input language.
|
|
*/
|
|
create(body, options) {
|
|
return this._client.post('/audio/transcriptions', multipartFormRequestOptions({ body, ...options }));
|
|
}
|
|
}
|
|
(function (Transcriptions) {
|
|
})(Transcriptions || (Transcriptions = {}));
|
|
//# sourceMappingURL=transcriptions.mjs.map
|