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
protectedaxios:AxiosInstance=globalAxios
Inherited from
BaseAPI.axios
basePath
protectedbasePath:string=BASE_PATH
Inherited from
BaseAPI.basePath
configuration
protectedconfiguration: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