@knowledge-stack/ksapi 1.43.0 → 1.44.1
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/README.md +2 -2
- package/dist/esm/models/ChunkMetadataInput.d.ts +2 -2
- package/dist/esm/models/ChunkMetadataOutput.d.ts +2 -2
- package/dist/esm/models/ChunkSearchRequest.d.ts +1 -1
- package/dist/esm/models/ChunkType.d.ts +1 -0
- package/dist/esm/models/ChunkType.js +1 -0
- package/dist/models/ChunkMetadataInput.d.ts +2 -2
- package/dist/models/ChunkMetadataOutput.d.ts +2 -2
- package/dist/models/ChunkSearchRequest.d.ts +1 -1
- package/dist/models/ChunkType.d.ts +1 -0
- package/dist/models/ChunkType.js +1 -0
- package/docs/DocumentsApi.md +2 -2
- package/package.json +1 -1
- package/src/models/ChunkMetadataInput.ts +2 -2
- package/src/models/ChunkMetadataOutput.ts +2 -2
- package/src/models/ChunkSearchRequest.ts +1 -1
- package/src/models/ChunkType.ts +1 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.
|
|
1
|
+
# @knowledge-stack/ksapi@1.44.1
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -287,7 +287,7 @@ and is automatically generated by the
|
|
|
287
287
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
288
288
|
|
|
289
289
|
- API version: `0.1.0`
|
|
290
|
-
- Package version: `1.
|
|
290
|
+
- Package version: `1.44.1`
|
|
291
291
|
- Generator version: `7.20.0`
|
|
292
292
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
293
293
|
|
|
@@ -24,13 +24,13 @@ export interface ChunkMetadataInput {
|
|
|
24
24
|
*/
|
|
25
25
|
polygons?: Array<PolygonReference>;
|
|
26
26
|
/**
|
|
27
|
-
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
|
|
27
|
+
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
|
|
28
28
|
* @type {Array<string>}
|
|
29
29
|
* @memberof ChunkMetadataInput
|
|
30
30
|
*/
|
|
31
31
|
s3Urls?: Array<string>;
|
|
32
32
|
/**
|
|
33
|
-
* LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
|
|
33
|
+
* LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof ChunkMetadataInput
|
|
36
36
|
*/
|
|
@@ -24,13 +24,13 @@ export interface ChunkMetadataOutput {
|
|
|
24
24
|
*/
|
|
25
25
|
polygons?: Array<PolygonReference>;
|
|
26
26
|
/**
|
|
27
|
-
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
|
|
27
|
+
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
|
|
28
28
|
* @type {Array<string>}
|
|
29
29
|
* @memberof ChunkMetadataOutput
|
|
30
30
|
*/
|
|
31
31
|
s3Urls?: Array<string>;
|
|
32
32
|
/**
|
|
33
|
-
* LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
|
|
33
|
+
* LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof ChunkMetadataOutput
|
|
36
36
|
*/
|
|
@@ -42,7 +42,7 @@ export interface ChunkSearchRequest {
|
|
|
42
42
|
*/
|
|
43
43
|
tagIds?: Array<string> | null;
|
|
44
44
|
/**
|
|
45
|
-
* Filter by chunk types (TEXT, TABLE, IMAGE, UNKNOWN). Only chunks matching one of the listed types are returned.
|
|
45
|
+
* Filter by chunk types (TEXT, TABLE, IMAGE, HTML, UNKNOWN). Only chunks matching one of the listed types are returned.
|
|
46
46
|
* @type {Array<ChunkType>}
|
|
47
47
|
* @memberof ChunkSearchRequest
|
|
48
48
|
*/
|
|
@@ -24,13 +24,13 @@ export interface ChunkMetadataInput {
|
|
|
24
24
|
*/
|
|
25
25
|
polygons?: Array<PolygonReference>;
|
|
26
26
|
/**
|
|
27
|
-
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
|
|
27
|
+
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
|
|
28
28
|
* @type {Array<string>}
|
|
29
29
|
* @memberof ChunkMetadataInput
|
|
30
30
|
*/
|
|
31
31
|
s3Urls?: Array<string>;
|
|
32
32
|
/**
|
|
33
|
-
* LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
|
|
33
|
+
* LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof ChunkMetadataInput
|
|
36
36
|
*/
|
|
@@ -24,13 +24,13 @@ export interface ChunkMetadataOutput {
|
|
|
24
24
|
*/
|
|
25
25
|
polygons?: Array<PolygonReference>;
|
|
26
26
|
/**
|
|
27
|
-
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
|
|
27
|
+
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
|
|
28
28
|
* @type {Array<string>}
|
|
29
29
|
* @memberof ChunkMetadataOutput
|
|
30
30
|
*/
|
|
31
31
|
s3Urls?: Array<string>;
|
|
32
32
|
/**
|
|
33
|
-
* LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
|
|
33
|
+
* LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
|
|
34
34
|
* @type {string}
|
|
35
35
|
* @memberof ChunkMetadataOutput
|
|
36
36
|
*/
|
|
@@ -42,7 +42,7 @@ export interface ChunkSearchRequest {
|
|
|
42
42
|
*/
|
|
43
43
|
tagIds?: Array<string> | null;
|
|
44
44
|
/**
|
|
45
|
-
* Filter by chunk types (TEXT, TABLE, IMAGE, UNKNOWN). Only chunks matching one of the listed types are returned.
|
|
45
|
+
* Filter by chunk types (TEXT, TABLE, IMAGE, HTML, UNKNOWN). Only chunks matching one of the listed types are returned.
|
|
46
46
|
* @type {Array<ChunkType>}
|
|
47
47
|
* @memberof ChunkSearchRequest
|
|
48
48
|
*/
|
package/dist/models/ChunkType.js
CHANGED
package/docs/DocumentsApi.md
CHANGED
|
@@ -302,7 +302,7 @@ example().catch(console.error);
|
|
|
302
302
|
| **ksUat** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
303
303
|
| **name** | `string` | Document name (defaults to filename) | [Optional] [Defaults to `undefined`] |
|
|
304
304
|
| **ingestionMode** | `IngestionMode` | | [Optional] [Defaults to `undefined`] [Enum: document, single_chunk] |
|
|
305
|
-
| **chunkType** | `ChunkType` | | [Optional] [Defaults to `undefined`] [Enum: TEXT, TABLE, IMAGE, UNKNOWN] |
|
|
305
|
+
| **chunkType** | `ChunkType` | | [Optional] [Defaults to `undefined`] [Enum: TEXT, TABLE, IMAGE, HTML, UNKNOWN] |
|
|
306
306
|
| **pageDpi** | `number` | DPI for PDF page screenshots (default 72, min 36, max 216). | [Optional] [Defaults to `72`] |
|
|
307
307
|
|
|
308
308
|
### Return type
|
|
@@ -388,7 +388,7 @@ example().catch(console.error);
|
|
|
388
388
|
| **authorization** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
389
389
|
| **ksUat** | `string` | | [Optional] [Defaults to `undefined`] |
|
|
390
390
|
| **ingestionMode** | `IngestionMode` | | [Optional] [Defaults to `undefined`] [Enum: document, single_chunk] |
|
|
391
|
-
| **chunkType** | `ChunkType` | | [Optional] [Defaults to `undefined`] [Enum: TEXT, TABLE, IMAGE, UNKNOWN] |
|
|
391
|
+
| **chunkType** | `ChunkType` | | [Optional] [Defaults to `undefined`] [Enum: TEXT, TABLE, IMAGE, HTML, UNKNOWN] |
|
|
392
392
|
| **pageDpi** | `number` | DPI for PDF page screenshots (default 72, min 36, max 216). | [Optional] [Defaults to `72`] |
|
|
393
393
|
|
|
394
394
|
### Return type
|
package/package.json
CHANGED
|
@@ -41,13 +41,13 @@ export interface ChunkMetadataInput {
|
|
|
41
41
|
*/
|
|
42
42
|
polygons?: Array<PolygonReference>;
|
|
43
43
|
/**
|
|
44
|
-
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
|
|
44
|
+
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
|
|
45
45
|
* @type {Array<string>}
|
|
46
46
|
* @memberof ChunkMetadataInput
|
|
47
47
|
*/
|
|
48
48
|
s3Urls?: Array<string>;
|
|
49
49
|
/**
|
|
50
|
-
* LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
|
|
50
|
+
* LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof ChunkMetadataInput
|
|
53
53
|
*/
|
|
@@ -41,13 +41,13 @@ export interface ChunkMetadataOutput {
|
|
|
41
41
|
*/
|
|
42
42
|
polygons?: Array<PolygonReference>;
|
|
43
43
|
/**
|
|
44
|
-
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE chunks, multi-element for multi-page single-chunk ingestion.
|
|
44
|
+
* Ordered s3:// URIs to visual assets for this chunk. Single-element for standard IMAGE/TABLE/HTML chunks, multi-element for multi-page single-chunk ingestion.
|
|
45
45
|
* @type {Array<string>}
|
|
46
46
|
* @memberof ChunkMetadataOutput
|
|
47
47
|
*/
|
|
48
48
|
s3Urls?: Array<string>;
|
|
49
49
|
/**
|
|
50
|
-
* LLM-generated summary of the chunk content. Used for TABLE chunks to enrich embedding text.
|
|
50
|
+
* LLM-generated summary of the chunk content. Used for TABLE and HTML chunks to enrich embedding text.
|
|
51
51
|
* @type {string}
|
|
52
52
|
* @memberof ChunkMetadataOutput
|
|
53
53
|
*/
|
|
@@ -59,7 +59,7 @@ export interface ChunkSearchRequest {
|
|
|
59
59
|
*/
|
|
60
60
|
tagIds?: Array<string> | null;
|
|
61
61
|
/**
|
|
62
|
-
* Filter by chunk types (TEXT, TABLE, IMAGE, UNKNOWN). Only chunks matching one of the listed types are returned.
|
|
62
|
+
* Filter by chunk types (TEXT, TABLE, IMAGE, HTML, UNKNOWN). Only chunks matching one of the listed types are returned.
|
|
63
63
|
* @type {Array<ChunkType>}
|
|
64
64
|
* @memberof ChunkSearchRequest
|
|
65
65
|
*/
|