ParaphraseApi

ParaphraseApi - object-oriented interface

Export

ParaphraseApi

Extends

  • BaseAPI

Constructors

new ParaphraseApi()

new ParaphraseApi(configuration?, basePath?, axios?): ParaphraseApi

Parameters

configuration?

basePath?

string = BASE_PATH

axios?

AxiosInstance = globalAxios

Returns

Inherited from

BaseAPI.constructor

Properties

axios

protected axios: AxiosInstance = globalAxios

Inherited from

BaseAPI.axios


basePath

protected basePath: string = BASE_PATH

Inherited from

BaseAPI.basePath


configuration

protected configuration: undefined | Configuration

Inherited from

BaseAPI.configuration

Methods

apiV1ParaphraseBatchPost()

apiV1ParaphraseBatchPost(temperature?, paraphraseMaxNumber?, adequacyThreshold?, fluencyThreshold?, diversityRanker?, requestBody?, options?): Promise<AxiosResponse<ParaphraseResponseDTO[]>>

Parameters

temperature?

number

paraphraseMaxNumber?

number

adequacyThreshold?

number

fluencyThreshold?

number

diversityRanker?

requestBody?

string[]

options?

RawAxiosRequestConfig

Override http request option.

Returns

Promise<AxiosResponse<ParaphraseResponseDTO[]>>

Throws

Memberof

ParaphraseApi


apiV1ParaphraseGptPost()

apiV1ParaphraseGptPost(paraphraseMaxNumber?, temperature?, body?, options?): Promise<AxiosResponse<ParaphraseResponseDTO>>

Parameters

paraphraseMaxNumber?

number

temperature?

number

body?

string

options?

RawAxiosRequestConfig

Override http request option.

Returns

Promise<AxiosResponse<ParaphraseResponseDTO>>

Throws

Memberof

ParaphraseApi

Found a mistake? Let us know.

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.