"use strict";
/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.Chunking = void 0;
const chunkingParse_js_1 = require("../funcs/chunkingParse.js");
const sdks_js_1 = require("../lib/sdks.js");
const fp_js_1 = require("../types/fp.js");
class Chunking extends sdks_js_1.ClientSDK {
    /**
     * Parse text
     *
     * @remarks
     * Split large text documents into smaller, manageable chunks using different chunking strategies optimized for RAG (Retrieval-Augmented Generation) workflows. This endpoint supports multiple chunking algorithms including token-based, sentence-based, recursive, semantic, and specialized strategies.
     */
    async parse(request, options) {
        return (0, fp_js_1.unwrapAsync)((0, chunkingParse_js_1.chunkingParse)(this, request, options));
    }
}
exports.Chunking = Chunking;
//# sourceMappingURL=chunking.js.map