"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Rerank = void 0;
const routerRerankCreate_js_1 = require("../funcs/routerRerankCreate.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class Rerank extends sdks_js_1.ClientSDK {
    /**
     * Create rerank
     *
     * @remarks
     * Rerank a list of documents based on their relevance to a query.
     */
    async create(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, routerRerankCreate_js_1.routerRerankCreate)(this, request, options));
    }
}
exports.Rerank = Rerank;
//# sourceMappingURL=rerank.js.map