@knowledge-stack/ksapi 1.44.2 → 1.45.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.44.2
1
+ # @knowledge-stack/ksapi@1.45.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.44.2`
290
+ - Package version: `1.45.0`
291
291
  - Generator version: `7.20.0`
292
292
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
293
293
 
@@ -41,6 +41,12 @@ export interface ChunkMetadataInput {
41
41
  * @memberof ChunkMetadataInput
42
42
  */
43
43
  ingestionMode?: IngestionMode;
44
+ /**
45
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
46
+ * @type {string}
47
+ * @memberof ChunkMetadataInput
48
+ */
49
+ extractedTextS3Uri?: string | null;
44
50
  }
45
51
  /**
46
52
  * Check if a given object implements the ChunkMetadataInput interface.
@@ -31,6 +31,7 @@ export function ChunkMetadataInputFromJSONTyped(json, ignoreDiscriminator) {
31
31
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
32
32
  'summary': json['summary'] == null ? undefined : json['summary'],
33
33
  'ingestionMode': json['ingestion_mode'] == null ? undefined : IngestionModeFromJSON(json['ingestion_mode']),
34
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
34
35
  };
35
36
  }
36
37
  export function ChunkMetadataInputToJSON(json) {
@@ -45,6 +46,7 @@ export function ChunkMetadataInputToJSONTyped(value, ignoreDiscriminator = false
45
46
  's3_urls': value['s3Urls'],
46
47
  'summary': value['summary'],
47
48
  'ingestion_mode': IngestionModeToJSON(value['ingestionMode']),
49
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
48
50
  };
49
51
  }
50
52
  export const ChunkMetadataInputPropertyValidationAttributesMap = {};
@@ -41,6 +41,12 @@ export interface ChunkMetadataOutput {
41
41
  * @memberof ChunkMetadataOutput
42
42
  */
43
43
  ingestionMode?: IngestionMode;
44
+ /**
45
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
46
+ * @type {string}
47
+ * @memberof ChunkMetadataOutput
48
+ */
49
+ extractedTextS3Uri?: string | null;
44
50
  }
45
51
  /**
46
52
  * Check if a given object implements the ChunkMetadataOutput interface.
@@ -31,6 +31,7 @@ export function ChunkMetadataOutputFromJSONTyped(json, ignoreDiscriminator) {
31
31
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
32
32
  'summary': json['summary'] == null ? undefined : json['summary'],
33
33
  'ingestionMode': json['ingestion_mode'] == null ? undefined : IngestionModeFromJSON(json['ingestion_mode']),
34
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
34
35
  };
35
36
  }
36
37
  export function ChunkMetadataOutputToJSON(json) {
@@ -45,6 +46,7 @@ export function ChunkMetadataOutputToJSONTyped(value, ignoreDiscriminator = fals
45
46
  's3_urls': value['s3Urls'],
46
47
  'summary': value['summary'],
47
48
  'ingestion_mode': IngestionModeToJSON(value['ingestionMode']),
49
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
48
50
  };
49
51
  }
50
52
  export const ChunkMetadataOutputPropertyValidationAttributesMap = {};
@@ -41,6 +41,12 @@ export interface ChunkMetadataInput {
41
41
  * @memberof ChunkMetadataInput
42
42
  */
43
43
  ingestionMode?: IngestionMode;
44
+ /**
45
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
46
+ * @type {string}
47
+ * @memberof ChunkMetadataInput
48
+ */
49
+ extractedTextS3Uri?: string | null;
44
50
  }
45
51
  /**
46
52
  * Check if a given object implements the ChunkMetadataInput interface.
@@ -39,6 +39,7 @@ function ChunkMetadataInputFromJSONTyped(json, ignoreDiscriminator) {
39
39
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
40
40
  'summary': json['summary'] == null ? undefined : json['summary'],
41
41
  'ingestionMode': json['ingestion_mode'] == null ? undefined : (0, IngestionMode_1.IngestionModeFromJSON)(json['ingestion_mode']),
42
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
42
43
  };
43
44
  }
44
45
  function ChunkMetadataInputToJSON(json) {
@@ -53,6 +54,7 @@ function ChunkMetadataInputToJSONTyped(value, ignoreDiscriminator = false) {
53
54
  's3_urls': value['s3Urls'],
54
55
  'summary': value['summary'],
55
56
  'ingestion_mode': (0, IngestionMode_1.IngestionModeToJSON)(value['ingestionMode']),
57
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
56
58
  };
57
59
  }
58
60
  exports.ChunkMetadataInputPropertyValidationAttributesMap = {};
@@ -41,6 +41,12 @@ export interface ChunkMetadataOutput {
41
41
  * @memberof ChunkMetadataOutput
42
42
  */
43
43
  ingestionMode?: IngestionMode;
44
+ /**
45
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
46
+ * @type {string}
47
+ * @memberof ChunkMetadataOutput
48
+ */
49
+ extractedTextS3Uri?: string | null;
44
50
  }
45
51
  /**
46
52
  * Check if a given object implements the ChunkMetadataOutput interface.
@@ -39,6 +39,7 @@ function ChunkMetadataOutputFromJSONTyped(json, ignoreDiscriminator) {
39
39
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
40
40
  'summary': json['summary'] == null ? undefined : json['summary'],
41
41
  'ingestionMode': json['ingestion_mode'] == null ? undefined : (0, IngestionMode_1.IngestionModeFromJSON)(json['ingestion_mode']),
42
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
42
43
  };
43
44
  }
44
45
  function ChunkMetadataOutputToJSON(json) {
@@ -53,6 +54,7 @@ function ChunkMetadataOutputToJSONTyped(value, ignoreDiscriminator = false) {
53
54
  's3_urls': value['s3Urls'],
54
55
  'summary': value['summary'],
55
56
  'ingestion_mode': (0, IngestionMode_1.IngestionModeToJSON)(value['ingestionMode']),
57
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
56
58
  };
57
59
  }
58
60
  exports.ChunkMetadataOutputPropertyValidationAttributesMap = {};
@@ -11,6 +11,7 @@ Name | Type
11
11
  `s3Urls` | Array<string>
12
12
  `summary` | string
13
13
  `ingestionMode` | [IngestionMode](IngestionMode.md)
14
+ `extractedTextS3Uri` | string
14
15
 
15
16
  ## Example
16
17
 
@@ -23,6 +24,7 @@ const example = {
23
24
  "s3Urls": null,
24
25
  "summary": null,
25
26
  "ingestionMode": null,
27
+ "extractedTextS3Uri": null,
26
28
  } satisfies ChunkMetadataInput
27
29
 
28
30
  console.log(example)
@@ -11,6 +11,7 @@ Name | Type
11
11
  `s3Urls` | Array<string>
12
12
  `summary` | string
13
13
  `ingestionMode` | [IngestionMode](IngestionMode.md)
14
+ `extractedTextS3Uri` | string
14
15
 
15
16
  ## Example
16
17
 
@@ -23,6 +24,7 @@ const example = {
23
24
  "s3Urls": null,
24
25
  "summary": null,
25
26
  "ingestionMode": null,
27
+ "extractedTextS3Uri": null,
26
28
  } satisfies ChunkMetadataOutput
27
29
 
28
30
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowledge-stack/ksapi",
3
- "version": "1.44.2",
3
+ "version": "1.45.0",
4
4
  "description": "OpenAPI client for @knowledge-stack/ksapi",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -58,6 +58,12 @@ export interface ChunkMetadataInput {
58
58
  * @memberof ChunkMetadataInput
59
59
  */
60
60
  ingestionMode?: IngestionMode;
61
+ /**
62
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
63
+ * @type {string}
64
+ * @memberof ChunkMetadataInput
65
+ */
66
+ extractedTextS3Uri?: string | null;
61
67
  }
62
68
 
63
69
 
@@ -83,6 +89,7 @@ export function ChunkMetadataInputFromJSONTyped(json: any, ignoreDiscriminator:
83
89
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
84
90
  'summary': json['summary'] == null ? undefined : json['summary'],
85
91
  'ingestionMode': json['ingestion_mode'] == null ? undefined : IngestionModeFromJSON(json['ingestion_mode']),
92
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
86
93
  };
87
94
  }
88
95
 
@@ -101,6 +108,7 @@ export function ChunkMetadataInputToJSONTyped(value?: ChunkMetadataInput | null,
101
108
  's3_urls': value['s3Urls'],
102
109
  'summary': value['summary'],
103
110
  'ingestion_mode': IngestionModeToJSON(value['ingestionMode']),
111
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
104
112
  };
105
113
  }
106
114
 
@@ -58,6 +58,12 @@ export interface ChunkMetadataOutput {
58
58
  * @memberof ChunkMetadataOutput
59
59
  */
60
60
  ingestionMode?: IngestionMode;
61
+ /**
62
+ * S3 URI to extracted PDF text used for LLM grounding during enrichment
63
+ * @type {string}
64
+ * @memberof ChunkMetadataOutput
65
+ */
66
+ extractedTextS3Uri?: string | null;
61
67
  }
62
68
 
63
69
 
@@ -83,6 +89,7 @@ export function ChunkMetadataOutputFromJSONTyped(json: any, ignoreDiscriminator:
83
89
  's3Urls': json['s3_urls'] == null ? undefined : json['s3_urls'],
84
90
  'summary': json['summary'] == null ? undefined : json['summary'],
85
91
  'ingestionMode': json['ingestion_mode'] == null ? undefined : IngestionModeFromJSON(json['ingestion_mode']),
92
+ 'extractedTextS3Uri': json['extracted_text_s3_uri'] == null ? undefined : json['extracted_text_s3_uri'],
86
93
  };
87
94
  }
88
95
 
@@ -101,6 +108,7 @@ export function ChunkMetadataOutputToJSONTyped(value?: ChunkMetadataOutput | nul
101
108
  's3_urls': value['s3Urls'],
102
109
  'summary': value['summary'],
103
110
  'ingestion_mode': IngestionModeToJSON(value['ingestionMode']),
111
+ 'extracted_text_s3_uri': value['extractedTextS3Uri'],
104
112
  };
105
113
  }
106
114