UNPKG

@coveo/platform-client

Version:

The main goal of this package is to provide an easy to configure and straightforward way of querying Coveo Cloud APIs using JavaScript.

10 lines 542 B
import API from '../../../APICore.js'; import Resource from '../../Resource.js'; export default class RelevanceGenerativeAnsweringConfiguration extends Resource { static baseUrl = `/rest/organizations/${API.orgPlaceholder}/machinelearning/configuration/rga`; static previewUrl = `${RelevanceGenerativeAnsweringConfiguration.baseUrl}/preview`; preview(params) { return this.api.post(RelevanceGenerativeAnsweringConfiguration.previewUrl, params); } } //# sourceMappingURL=RelevanceGenerativeAnsweringConfiguration.js.map