@ontos-ai/knowhere-sdk 2.5.0 → 2.6.0-beta.20261026172248
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-FESTKAG6.mjs +1343 -0
- package/dist/index.d.mts +20 -2
- package/dist/index.d.ts +20 -2
- package/dist/index.js +762 -226
- package/dist/index.mjs +22 -123
- package/dist/{sequential-parsed-document-archive-S56UEARH.mjs → sequential-parsed-document-archive-YQ5U3VWM.mjs} +11 -7
- package/package.json +1 -1
- package/dist/chunk-4PWLXJGH.mjs +0 -719
package/dist/index.d.mts
CHANGED
|
@@ -428,6 +428,7 @@ interface ParsedDocumentObjectParams extends ParsedDocumentRevisionParams {
|
|
|
428
428
|
readonly path: string;
|
|
429
429
|
}
|
|
430
430
|
interface ParsedDocumentObjectHead extends ParsedDocumentObjectParams {
|
|
431
|
+
readonly entityTag?: string;
|
|
431
432
|
readonly contentType?: string;
|
|
432
433
|
readonly contentLength?: number;
|
|
433
434
|
readonly metadata?: Readonly<Record<string, string>>;
|
|
@@ -444,9 +445,12 @@ interface ParsedDocumentWriteObjectParams extends ParsedDocumentObjectParams {
|
|
|
444
445
|
/** Stream sinks must consume the body before resolving and reject partial writes. */
|
|
445
446
|
interface ParsedDocumentWriteObjectStreamParams extends Omit<ParsedDocumentWriteObjectParams, 'body'> {
|
|
446
447
|
readonly body: ReadableStream<Uint8Array>;
|
|
448
|
+
/** Expected uncompressed entry length, when supplied by the archive directory. */
|
|
449
|
+
readonly contentLength?: number;
|
|
447
450
|
readonly signal?: AbortSignal;
|
|
448
451
|
}
|
|
449
452
|
interface ParsedDocumentWriteObjectResult extends ParsedDocumentObjectParams {
|
|
453
|
+
readonly entityTag?: string;
|
|
450
454
|
readonly url?: string;
|
|
451
455
|
}
|
|
452
456
|
type ParsedDocumentCommitSource = 'resultZip' | 'remoteReconstruction';
|
|
@@ -463,6 +467,8 @@ interface ParsedDocumentSyncProgress {
|
|
|
463
467
|
readonly nextChunkPage?: number;
|
|
464
468
|
readonly pinnedRevisionKey?: string;
|
|
465
469
|
readonly archiveIdentity?: string;
|
|
470
|
+
/** Once true, later segments use the origin rather than retrying optional archive caching. */
|
|
471
|
+
readonly archiveCacheBypassed?: boolean;
|
|
466
472
|
readonly nextArchiveEntry?: number;
|
|
467
473
|
/** Content hashes for verifying a sequential retry without a strong HTTP validator. */
|
|
468
474
|
readonly archiveEntryHashes?: readonly string[];
|
|
@@ -470,6 +476,10 @@ interface ParsedDocumentSyncProgress {
|
|
|
470
476
|
readonly updatedAt: string;
|
|
471
477
|
readonly error?: string;
|
|
472
478
|
}
|
|
479
|
+
interface ParsedDocumentSyncProgressOptions {
|
|
480
|
+
readonly signal?: AbortSignal;
|
|
481
|
+
readonly isSegmentBoundary?: boolean;
|
|
482
|
+
}
|
|
473
483
|
interface ParsedDocumentStorage {
|
|
474
484
|
readObject(params: ParsedDocumentObjectParams): Promise<ParsedDocumentObject | null>;
|
|
475
485
|
writeObject(params: ParsedDocumentWriteObjectParams): Promise<ParsedDocumentWriteObjectResult>;
|
|
@@ -478,7 +488,7 @@ interface ParsedDocumentStorage {
|
|
|
478
488
|
getObjectUrl?(params: ParsedDocumentObjectParams): Promise<string | null>;
|
|
479
489
|
deletePrefix?(params: ParsedDocumentRevisionParams): Promise<void>;
|
|
480
490
|
readSyncProgress(params: ParsedDocumentRevisionParams): Promise<ParsedDocumentSyncProgress | null>;
|
|
481
|
-
writeSyncProgress(params: ParsedDocumentSyncProgress): Promise<void>;
|
|
491
|
+
writeSyncProgress(params: ParsedDocumentSyncProgress, options?: ParsedDocumentSyncProgressOptions): Promise<void>;
|
|
482
492
|
}
|
|
483
493
|
interface ParsedDocumentSyncScheduler {
|
|
484
494
|
schedule(task: () => Promise<void>): void | Promise<void>;
|
|
@@ -486,6 +496,12 @@ interface ParsedDocumentSyncScheduler {
|
|
|
486
496
|
interface ParsedDocumentStorageLimits {
|
|
487
497
|
/** ZIP entries copied per invocation (default 100). */
|
|
488
498
|
readonly maxEntriesPerSync?: number;
|
|
499
|
+
/** Maximum concurrent entry writes for Range archives (default 1). */
|
|
500
|
+
readonly maxConcurrentFiles?: number;
|
|
501
|
+
/** Successful files between checkpoints (default 1). */
|
|
502
|
+
readonly checkpointFileInterval?: number;
|
|
503
|
+
/** Maximum scheduling interval between checkpoints (default 2000ms). */
|
|
504
|
+
readonly checkpointIntervalMs?: number;
|
|
489
505
|
/** ZIP copy budget checked between entries (default 120000ms). */
|
|
490
506
|
readonly archiveSyncDeadlineMs?: number;
|
|
491
507
|
readonly remotePageSize?: number;
|
|
@@ -1322,6 +1338,8 @@ interface KnowledgeSyncParsedDocumentParams extends KnowledgeDocumentReference {
|
|
|
1322
1338
|
readonly signal?: AbortSignal;
|
|
1323
1339
|
/** Optionally retain the exact source ZIP as result.zip after committing the snapshot. */
|
|
1324
1340
|
readonly retainResultArchive?: boolean;
|
|
1341
|
+
/** Optionally cache the source ZIP in storage before extracting its files. */
|
|
1342
|
+
readonly cacheResultArchive?: boolean;
|
|
1325
1343
|
}
|
|
1326
1344
|
interface KnowledgeSyncParsedDocumentResponse {
|
|
1327
1345
|
documentId: string;
|
|
@@ -1781,4 +1799,4 @@ declare class ParsedDocumentArchiveError extends KnowhereError {
|
|
|
1781
1799
|
constructor(cause: unknown);
|
|
1782
1800
|
}
|
|
1783
1801
|
|
|
1784
|
-
export { APIError, type AuthTokenProvider, AuthenticationError, BadRequestError, type BaseChunk, ChecksumError, type Chunk, ConflictError, type CreateJobParams, DiskParsedDocumentStorage, type DocType, type Document, type DocumentChunk, type DocumentChunkGetParams, type DocumentChunkListParams, type DocumentChunkListResponse, type DocumentChunkPagination, type DocumentChunkResponse, type DocumentChunkType, type DocumentListPagination, type DocumentListParams, type DocumentListResponse, type DocumentMetadata, type DocumentPageCitationSource, Documents, type FileIndex, GatewayTimeoutError, type ImageChunk, InternalServerError, InvalidStateError, type Job, type JobError, JobFailedError, type JobResult, type JobStatus, Jobs, Knowhere, type KnowhereAssetStorageAdapter, type KnowhereAssetStorageBody, type KnowhereAssetStorageHead, type KnowhereAssetStorageObject, type KnowhereAssetStorageOptions, type KnowhereAssetStorageResult, type KnowhereAssetStorageWriteResult, KnowhereError, type KnowhereOptions, Knowledge, type KnowledgeAsyncJobStatusResponse, type KnowledgeAsyncParseParams, type KnowledgeAsyncParseResponse, type KnowledgeCacheDocumentParams, type KnowledgeCacheJobResultParams, type KnowledgeChunkType, type KnowledgeDocumentReference, type KnowledgeGrepMatch, type KnowledgeGrepParams, type KnowledgeGrepResponse, type KnowledgeImportJobResultParams, type KnowledgeJobResultResponse, type KnowledgeLoadJobResultParams, type KnowledgeOutline, type KnowledgeParseParams, type KnowledgeParsedStorageOptions, type KnowledgeReadChunk, type KnowledgeReadParams, type KnowledgeReadResponse, type KnowledgeSearchParams, type KnowledgeSearchReference, type KnowledgeSearchResponse, type KnowledgeSearchResult, type KnowledgeSection, type KnowledgeStartupRecoveryResponse, type KnowledgeSyncParsedDocumentParams, type KnowledgeSyncParsedDocumentResponse, type LlmConfig, type LlmModelsConfig, type LlmProviderConfig, type LoadOptions, type LocalKnowledgeDocument, type LocalKnowledgeParseResponse, LocalKnowledgeStore, type Manifest, NODE_SDK_DOCUMENT_METADATA_DEFAULTS, NetworkError, NotFoundError, type PageChunk, type PageCitationAsset, type PageCitationAssetContentType, type PageCitationAssetSource, type ParseParams, type ParseResult, ParsedDocumentArchiveError, type ParsedDocumentCommit, type ParsedDocumentCommitSource, type ParsedDocumentObject, type ParsedDocumentObjectHead, type ParsedDocumentObjectParams, type ParsedDocumentRevisionParams, type ParsedDocumentStorage, type ParsedDocumentStorageConfig, type ParsedDocumentStorageDocument, type ParsedDocumentStorageLimits, type ParsedDocumentSyncProgress, type ParsedDocumentSyncScheduler, type ParsedDocumentWriteObjectParams, type ParsedDocumentWriteObjectResult, type ParsedDocumentWriteObjectStreamParams, type ParsingModel, type ParsingParams, PaymentRequiredError, PermissionDeniedError, type PollProgress, PollingTimeoutError, RateLimitError, Retrieval, type RetrievalChannel, type RetrievalChunkType, type RetrievalEvidencePart, type RetrievalFilterMode, type RetrievalQueryParams, type RetrievalQueryResponse, type RetrievalReferencedChunk, type RetrievalResult, type RetrievalSectionExclusion, type RetrievalSource, ServiceUnavailableError, type Statistics, type TableChunk, type TextChunk, TimeoutError, type UploadParams, type UploadProgress, VERSION, ValidationError, type WaitOptions, type WebhookConfig, Knowhere as default, mergeDocumentMetadataDefaults, storeParseResultAssets, syncParseResultToParsedDocumentStorage };
|
|
1802
|
+
export { APIError, type AuthTokenProvider, AuthenticationError, BadRequestError, type BaseChunk, ChecksumError, type Chunk, ConflictError, type CreateJobParams, DiskParsedDocumentStorage, type DocType, type Document, type DocumentChunk, type DocumentChunkGetParams, type DocumentChunkListParams, type DocumentChunkListResponse, type DocumentChunkPagination, type DocumentChunkResponse, type DocumentChunkType, type DocumentListPagination, type DocumentListParams, type DocumentListResponse, type DocumentMetadata, type DocumentPageCitationSource, Documents, type FileIndex, GatewayTimeoutError, type ImageChunk, InternalServerError, InvalidStateError, type Job, type JobError, JobFailedError, type JobResult, type JobStatus, Jobs, Knowhere, type KnowhereAssetStorageAdapter, type KnowhereAssetStorageBody, type KnowhereAssetStorageHead, type KnowhereAssetStorageObject, type KnowhereAssetStorageOptions, type KnowhereAssetStorageResult, type KnowhereAssetStorageWriteResult, KnowhereError, type KnowhereOptions, Knowledge, type KnowledgeAsyncJobStatusResponse, type KnowledgeAsyncParseParams, type KnowledgeAsyncParseResponse, type KnowledgeCacheDocumentParams, type KnowledgeCacheJobResultParams, type KnowledgeChunkType, type KnowledgeDocumentReference, type KnowledgeGrepMatch, type KnowledgeGrepParams, type KnowledgeGrepResponse, type KnowledgeImportJobResultParams, type KnowledgeJobResultResponse, type KnowledgeLoadJobResultParams, type KnowledgeOutline, type KnowledgeParseParams, type KnowledgeParsedStorageOptions, type KnowledgeReadChunk, type KnowledgeReadParams, type KnowledgeReadResponse, type KnowledgeSearchParams, type KnowledgeSearchReference, type KnowledgeSearchResponse, type KnowledgeSearchResult, type KnowledgeSection, type KnowledgeStartupRecoveryResponse, type KnowledgeSyncParsedDocumentParams, type KnowledgeSyncParsedDocumentResponse, type LlmConfig, type LlmModelsConfig, type LlmProviderConfig, type LoadOptions, type LocalKnowledgeDocument, type LocalKnowledgeParseResponse, LocalKnowledgeStore, type Manifest, NODE_SDK_DOCUMENT_METADATA_DEFAULTS, NetworkError, NotFoundError, type PageChunk, type PageCitationAsset, type PageCitationAssetContentType, type PageCitationAssetSource, type ParseParams, type ParseResult, ParsedDocumentArchiveError, type ParsedDocumentCommit, type ParsedDocumentCommitSource, type ParsedDocumentObject, type ParsedDocumentObjectHead, type ParsedDocumentObjectParams, type ParsedDocumentRevisionParams, type ParsedDocumentStorage, type ParsedDocumentStorageConfig, type ParsedDocumentStorageDocument, type ParsedDocumentStorageLimits, type ParsedDocumentSyncProgress, type ParsedDocumentSyncProgressOptions, type ParsedDocumentSyncScheduler, type ParsedDocumentWriteObjectParams, type ParsedDocumentWriteObjectResult, type ParsedDocumentWriteObjectStreamParams, type ParsingModel, type ParsingParams, PaymentRequiredError, PermissionDeniedError, type PollProgress, PollingTimeoutError, RateLimitError, Retrieval, type RetrievalChannel, type RetrievalChunkType, type RetrievalEvidencePart, type RetrievalFilterMode, type RetrievalQueryParams, type RetrievalQueryResponse, type RetrievalReferencedChunk, type RetrievalResult, type RetrievalSectionExclusion, type RetrievalSource, ServiceUnavailableError, type Statistics, type TableChunk, type TextChunk, TimeoutError, type UploadParams, type UploadProgress, VERSION, ValidationError, type WaitOptions, type WebhookConfig, Knowhere as default, mergeDocumentMetadataDefaults, storeParseResultAssets, syncParseResultToParsedDocumentStorage };
|
package/dist/index.d.ts
CHANGED
|
@@ -428,6 +428,7 @@ interface ParsedDocumentObjectParams extends ParsedDocumentRevisionParams {
|
|
|
428
428
|
readonly path: string;
|
|
429
429
|
}
|
|
430
430
|
interface ParsedDocumentObjectHead extends ParsedDocumentObjectParams {
|
|
431
|
+
readonly entityTag?: string;
|
|
431
432
|
readonly contentType?: string;
|
|
432
433
|
readonly contentLength?: number;
|
|
433
434
|
readonly metadata?: Readonly<Record<string, string>>;
|
|
@@ -444,9 +445,12 @@ interface ParsedDocumentWriteObjectParams extends ParsedDocumentObjectParams {
|
|
|
444
445
|
/** Stream sinks must consume the body before resolving and reject partial writes. */
|
|
445
446
|
interface ParsedDocumentWriteObjectStreamParams extends Omit<ParsedDocumentWriteObjectParams, 'body'> {
|
|
446
447
|
readonly body: ReadableStream<Uint8Array>;
|
|
448
|
+
/** Expected uncompressed entry length, when supplied by the archive directory. */
|
|
449
|
+
readonly contentLength?: number;
|
|
447
450
|
readonly signal?: AbortSignal;
|
|
448
451
|
}
|
|
449
452
|
interface ParsedDocumentWriteObjectResult extends ParsedDocumentObjectParams {
|
|
453
|
+
readonly entityTag?: string;
|
|
450
454
|
readonly url?: string;
|
|
451
455
|
}
|
|
452
456
|
type ParsedDocumentCommitSource = 'resultZip' | 'remoteReconstruction';
|
|
@@ -463,6 +467,8 @@ interface ParsedDocumentSyncProgress {
|
|
|
463
467
|
readonly nextChunkPage?: number;
|
|
464
468
|
readonly pinnedRevisionKey?: string;
|
|
465
469
|
readonly archiveIdentity?: string;
|
|
470
|
+
/** Once true, later segments use the origin rather than retrying optional archive caching. */
|
|
471
|
+
readonly archiveCacheBypassed?: boolean;
|
|
466
472
|
readonly nextArchiveEntry?: number;
|
|
467
473
|
/** Content hashes for verifying a sequential retry without a strong HTTP validator. */
|
|
468
474
|
readonly archiveEntryHashes?: readonly string[];
|
|
@@ -470,6 +476,10 @@ interface ParsedDocumentSyncProgress {
|
|
|
470
476
|
readonly updatedAt: string;
|
|
471
477
|
readonly error?: string;
|
|
472
478
|
}
|
|
479
|
+
interface ParsedDocumentSyncProgressOptions {
|
|
480
|
+
readonly signal?: AbortSignal;
|
|
481
|
+
readonly isSegmentBoundary?: boolean;
|
|
482
|
+
}
|
|
473
483
|
interface ParsedDocumentStorage {
|
|
474
484
|
readObject(params: ParsedDocumentObjectParams): Promise<ParsedDocumentObject | null>;
|
|
475
485
|
writeObject(params: ParsedDocumentWriteObjectParams): Promise<ParsedDocumentWriteObjectResult>;
|
|
@@ -478,7 +488,7 @@ interface ParsedDocumentStorage {
|
|
|
478
488
|
getObjectUrl?(params: ParsedDocumentObjectParams): Promise<string | null>;
|
|
479
489
|
deletePrefix?(params: ParsedDocumentRevisionParams): Promise<void>;
|
|
480
490
|
readSyncProgress(params: ParsedDocumentRevisionParams): Promise<ParsedDocumentSyncProgress | null>;
|
|
481
|
-
writeSyncProgress(params: ParsedDocumentSyncProgress): Promise<void>;
|
|
491
|
+
writeSyncProgress(params: ParsedDocumentSyncProgress, options?: ParsedDocumentSyncProgressOptions): Promise<void>;
|
|
482
492
|
}
|
|
483
493
|
interface ParsedDocumentSyncScheduler {
|
|
484
494
|
schedule(task: () => Promise<void>): void | Promise<void>;
|
|
@@ -486,6 +496,12 @@ interface ParsedDocumentSyncScheduler {
|
|
|
486
496
|
interface ParsedDocumentStorageLimits {
|
|
487
497
|
/** ZIP entries copied per invocation (default 100). */
|
|
488
498
|
readonly maxEntriesPerSync?: number;
|
|
499
|
+
/** Maximum concurrent entry writes for Range archives (default 1). */
|
|
500
|
+
readonly maxConcurrentFiles?: number;
|
|
501
|
+
/** Successful files between checkpoints (default 1). */
|
|
502
|
+
readonly checkpointFileInterval?: number;
|
|
503
|
+
/** Maximum scheduling interval between checkpoints (default 2000ms). */
|
|
504
|
+
readonly checkpointIntervalMs?: number;
|
|
489
505
|
/** ZIP copy budget checked between entries (default 120000ms). */
|
|
490
506
|
readonly archiveSyncDeadlineMs?: number;
|
|
491
507
|
readonly remotePageSize?: number;
|
|
@@ -1322,6 +1338,8 @@ interface KnowledgeSyncParsedDocumentParams extends KnowledgeDocumentReference {
|
|
|
1322
1338
|
readonly signal?: AbortSignal;
|
|
1323
1339
|
/** Optionally retain the exact source ZIP as result.zip after committing the snapshot. */
|
|
1324
1340
|
readonly retainResultArchive?: boolean;
|
|
1341
|
+
/** Optionally cache the source ZIP in storage before extracting its files. */
|
|
1342
|
+
readonly cacheResultArchive?: boolean;
|
|
1325
1343
|
}
|
|
1326
1344
|
interface KnowledgeSyncParsedDocumentResponse {
|
|
1327
1345
|
documentId: string;
|
|
@@ -1781,4 +1799,4 @@ declare class ParsedDocumentArchiveError extends KnowhereError {
|
|
|
1781
1799
|
constructor(cause: unknown);
|
|
1782
1800
|
}
|
|
1783
1801
|
|
|
1784
|
-
export { APIError, type AuthTokenProvider, AuthenticationError, BadRequestError, type BaseChunk, ChecksumError, type Chunk, ConflictError, type CreateJobParams, DiskParsedDocumentStorage, type DocType, type Document, type DocumentChunk, type DocumentChunkGetParams, type DocumentChunkListParams, type DocumentChunkListResponse, type DocumentChunkPagination, type DocumentChunkResponse, type DocumentChunkType, type DocumentListPagination, type DocumentListParams, type DocumentListResponse, type DocumentMetadata, type DocumentPageCitationSource, Documents, type FileIndex, GatewayTimeoutError, type ImageChunk, InternalServerError, InvalidStateError, type Job, type JobError, JobFailedError, type JobResult, type JobStatus, Jobs, Knowhere, type KnowhereAssetStorageAdapter, type KnowhereAssetStorageBody, type KnowhereAssetStorageHead, type KnowhereAssetStorageObject, type KnowhereAssetStorageOptions, type KnowhereAssetStorageResult, type KnowhereAssetStorageWriteResult, KnowhereError, type KnowhereOptions, Knowledge, type KnowledgeAsyncJobStatusResponse, type KnowledgeAsyncParseParams, type KnowledgeAsyncParseResponse, type KnowledgeCacheDocumentParams, type KnowledgeCacheJobResultParams, type KnowledgeChunkType, type KnowledgeDocumentReference, type KnowledgeGrepMatch, type KnowledgeGrepParams, type KnowledgeGrepResponse, type KnowledgeImportJobResultParams, type KnowledgeJobResultResponse, type KnowledgeLoadJobResultParams, type KnowledgeOutline, type KnowledgeParseParams, type KnowledgeParsedStorageOptions, type KnowledgeReadChunk, type KnowledgeReadParams, type KnowledgeReadResponse, type KnowledgeSearchParams, type KnowledgeSearchReference, type KnowledgeSearchResponse, type KnowledgeSearchResult, type KnowledgeSection, type KnowledgeStartupRecoveryResponse, type KnowledgeSyncParsedDocumentParams, type KnowledgeSyncParsedDocumentResponse, type LlmConfig, type LlmModelsConfig, type LlmProviderConfig, type LoadOptions, type LocalKnowledgeDocument, type LocalKnowledgeParseResponse, LocalKnowledgeStore, type Manifest, NODE_SDK_DOCUMENT_METADATA_DEFAULTS, NetworkError, NotFoundError, type PageChunk, type PageCitationAsset, type PageCitationAssetContentType, type PageCitationAssetSource, type ParseParams, type ParseResult, ParsedDocumentArchiveError, type ParsedDocumentCommit, type ParsedDocumentCommitSource, type ParsedDocumentObject, type ParsedDocumentObjectHead, type ParsedDocumentObjectParams, type ParsedDocumentRevisionParams, type ParsedDocumentStorage, type ParsedDocumentStorageConfig, type ParsedDocumentStorageDocument, type ParsedDocumentStorageLimits, type ParsedDocumentSyncProgress, type ParsedDocumentSyncScheduler, type ParsedDocumentWriteObjectParams, type ParsedDocumentWriteObjectResult, type ParsedDocumentWriteObjectStreamParams, type ParsingModel, type ParsingParams, PaymentRequiredError, PermissionDeniedError, type PollProgress, PollingTimeoutError, RateLimitError, Retrieval, type RetrievalChannel, type RetrievalChunkType, type RetrievalEvidencePart, type RetrievalFilterMode, type RetrievalQueryParams, type RetrievalQueryResponse, type RetrievalReferencedChunk, type RetrievalResult, type RetrievalSectionExclusion, type RetrievalSource, ServiceUnavailableError, type Statistics, type TableChunk, type TextChunk, TimeoutError, type UploadParams, type UploadProgress, VERSION, ValidationError, type WaitOptions, type WebhookConfig, Knowhere as default, mergeDocumentMetadataDefaults, storeParseResultAssets, syncParseResultToParsedDocumentStorage };
|
|
1802
|
+
export { APIError, type AuthTokenProvider, AuthenticationError, BadRequestError, type BaseChunk, ChecksumError, type Chunk, ConflictError, type CreateJobParams, DiskParsedDocumentStorage, type DocType, type Document, type DocumentChunk, type DocumentChunkGetParams, type DocumentChunkListParams, type DocumentChunkListResponse, type DocumentChunkPagination, type DocumentChunkResponse, type DocumentChunkType, type DocumentListPagination, type DocumentListParams, type DocumentListResponse, type DocumentMetadata, type DocumentPageCitationSource, Documents, type FileIndex, GatewayTimeoutError, type ImageChunk, InternalServerError, InvalidStateError, type Job, type JobError, JobFailedError, type JobResult, type JobStatus, Jobs, Knowhere, type KnowhereAssetStorageAdapter, type KnowhereAssetStorageBody, type KnowhereAssetStorageHead, type KnowhereAssetStorageObject, type KnowhereAssetStorageOptions, type KnowhereAssetStorageResult, type KnowhereAssetStorageWriteResult, KnowhereError, type KnowhereOptions, Knowledge, type KnowledgeAsyncJobStatusResponse, type KnowledgeAsyncParseParams, type KnowledgeAsyncParseResponse, type KnowledgeCacheDocumentParams, type KnowledgeCacheJobResultParams, type KnowledgeChunkType, type KnowledgeDocumentReference, type KnowledgeGrepMatch, type KnowledgeGrepParams, type KnowledgeGrepResponse, type KnowledgeImportJobResultParams, type KnowledgeJobResultResponse, type KnowledgeLoadJobResultParams, type KnowledgeOutline, type KnowledgeParseParams, type KnowledgeParsedStorageOptions, type KnowledgeReadChunk, type KnowledgeReadParams, type KnowledgeReadResponse, type KnowledgeSearchParams, type KnowledgeSearchReference, type KnowledgeSearchResponse, type KnowledgeSearchResult, type KnowledgeSection, type KnowledgeStartupRecoveryResponse, type KnowledgeSyncParsedDocumentParams, type KnowledgeSyncParsedDocumentResponse, type LlmConfig, type LlmModelsConfig, type LlmProviderConfig, type LoadOptions, type LocalKnowledgeDocument, type LocalKnowledgeParseResponse, LocalKnowledgeStore, type Manifest, NODE_SDK_DOCUMENT_METADATA_DEFAULTS, NetworkError, NotFoundError, type PageChunk, type PageCitationAsset, type PageCitationAssetContentType, type PageCitationAssetSource, type ParseParams, type ParseResult, ParsedDocumentArchiveError, type ParsedDocumentCommit, type ParsedDocumentCommitSource, type ParsedDocumentObject, type ParsedDocumentObjectHead, type ParsedDocumentObjectParams, type ParsedDocumentRevisionParams, type ParsedDocumentStorage, type ParsedDocumentStorageConfig, type ParsedDocumentStorageDocument, type ParsedDocumentStorageLimits, type ParsedDocumentSyncProgress, type ParsedDocumentSyncProgressOptions, type ParsedDocumentSyncScheduler, type ParsedDocumentWriteObjectParams, type ParsedDocumentWriteObjectResult, type ParsedDocumentWriteObjectStreamParams, type ParsingModel, type ParsingParams, PaymentRequiredError, PermissionDeniedError, type PollProgress, PollingTimeoutError, RateLimitError, Retrieval, type RetrievalChannel, type RetrievalChunkType, type RetrievalEvidencePart, type RetrievalFilterMode, type RetrievalQueryParams, type RetrievalQueryResponse, type RetrievalReferencedChunk, type RetrievalResult, type RetrievalSectionExclusion, type RetrievalSource, ServiceUnavailableError, type Statistics, type TableChunk, type TextChunk, TimeoutError, type UploadParams, type UploadProgress, VERSION, ValidationError, type WaitOptions, type WebhookConfig, Knowhere as default, mergeDocumentMetadataDefaults, storeParseResultAssets, syncParseResultToParsedDocumentStorage };
|