@knowledge-stack/ksapi 1.43.0 → 1.44.0

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @knowledge-stack/ksapi@1.43.0
1
+ # @knowledge-stack/ksapi@1.44.0
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.43.0`
290
+ - Package version: `1.44.0`
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
  */
@@ -17,6 +17,7 @@ export declare const ChunkType: {
17
17
  readonly Text: "TEXT";
18
18
  readonly Table: "TABLE";
19
19
  readonly Image: "IMAGE";
20
+ readonly Html: "HTML";
20
21
  readonly Unknown: "UNKNOWN";
21
22
  };
22
23
  export type ChunkType = typeof ChunkType[keyof typeof ChunkType];
@@ -19,6 +19,7 @@ export const ChunkType = {
19
19
  Text: 'TEXT',
20
20
  Table: 'TABLE',
21
21
  Image: 'IMAGE',
22
+ Html: 'HTML',
22
23
  Unknown: 'UNKNOWN'
23
24
  };
24
25
  export function instanceOfChunkType(value) {
@@ -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
  */
@@ -17,6 +17,7 @@ export declare const ChunkType: {
17
17
  readonly Text: "TEXT";
18
18
  readonly Table: "TABLE";
19
19
  readonly Image: "IMAGE";
20
+ readonly Html: "HTML";
20
21
  readonly Unknown: "UNKNOWN";
21
22
  };
22
23
  export type ChunkType = typeof ChunkType[keyof typeof ChunkType];
@@ -27,6 +27,7 @@ exports.ChunkType = {
27
27
  Text: 'TEXT',
28
28
  Table: 'TABLE',
29
29
  Image: 'IMAGE',
30
+ Html: 'HTML',
30
31
  Unknown: 'UNKNOWN'
31
32
  };
32
33
  function instanceOfChunkType(value) {
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.43.0",
3
+ "version": "1.44.0",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -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
  */
@@ -21,6 +21,7 @@ export const ChunkType = {
21
21
  Text: 'TEXT',
22
22
  Table: 'TABLE',
23
23
  Image: 'IMAGE',
24
+ Html: 'HTML',
24
25
  Unknown: 'UNKNOWN'
25
26
  } as const;
26
27
  export type ChunkType = typeof ChunkType[keyof typeof ChunkType];