/** * openfilz-api * API for Document Management System * * The version of the OpenAPI document: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { EmbeddingBackfillRequest } from '../models'; import type { EmbeddingBackfillStatus } from '../models'; /** * AIEmbeddingsApi - axios parameter creator */ export declare const AIEmbeddingsApiAxiosParamCreator: (configuration?: Configuration) => { /** * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch. * @summary Embed existing documents * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest] * @param {*} [options] Override http request option. * @throws {RequiredError} */ backfill1: (embeddingBackfillRequest?: EmbeddingBackfillRequest, options?: RawAxiosRequestConfig) => Promise; /** * * @summary Progress of an embedding backfill job * @param {string} jobId * @param {*} [options] Override http request option. * @throws {RequiredError} */ backfillStatus1: (jobId: string, options?: RawAxiosRequestConfig) => Promise; }; /** * AIEmbeddingsApi - functional programming interface */ export declare const AIEmbeddingsApiFp: (configuration?: Configuration) => { /** * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch. * @summary Embed existing documents * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest] * @param {*} [options] Override http request option. * @throws {RequiredError} */ backfill1(embeddingBackfillRequest?: EmbeddingBackfillRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * * @summary Progress of an embedding backfill job * @param {string} jobId * @param {*} [options] Override http request option. * @throws {RequiredError} */ backfillStatus1(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * AIEmbeddingsApi - factory interface */ export declare const AIEmbeddingsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch. * @summary Embed existing documents * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest] * @param {*} [options] Override http request option. * @throws {RequiredError} */ backfill1(embeddingBackfillRequest?: EmbeddingBackfillRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * * @summary Progress of an embedding backfill job * @param {string} jobId * @param {*} [options] Override http request option. * @throws {RequiredError} */ backfillStatus1(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * AIEmbeddingsApi - object-oriented interface */ export declare class AIEmbeddingsApi extends BaseAPI { /** * Queues every FILE without a chunk in the vector store (or every FILE when force), optionally under one folder, and returns the job at once. Poll GET /backfill/{jobId}. Run it after wiping the vector store for an embedding-provider switch. * @summary Embed existing documents * @param {EmbeddingBackfillRequest} [embeddingBackfillRequest] * @param {*} [options] Override http request option. * @throws {RequiredError} */ backfill1(embeddingBackfillRequest?: EmbeddingBackfillRequest, options?: RawAxiosRequestConfig): Promise>; /** * * @summary Progress of an embedding backfill job * @param {string} jobId * @param {*} [options] Override http request option. * @throws {RequiredError} */ backfillStatus1(jobId: string, options?: RawAxiosRequestConfig): Promise>; }