@knowledge-stack/ksapi 1.100.2 → 1.101.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/CitedChunk.d.ts +1 -1
- package/dist/esm/models/DocumentVersionMetadata.d.ts +1 -1
- package/dist/models/CitedChunk.d.ts +1 -1
- package/dist/models/DocumentVersionMetadata.d.ts +1 -1
- package/docs/CitedChunk.md +1 -1
- package/package.json +1 -1
- package/src/models/CitedChunk.ts +1 -1
- package/src/models/DocumentVersionMetadata.ts +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @knowledge-stack/ksapi@1.
|
|
1
|
+
# @knowledge-stack/ksapi@1.101.1
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -537,7 +537,7 @@ and is automatically generated by the
|
|
|
537
537
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
538
538
|
|
|
539
539
|
- API version: `0.1.0`
|
|
540
|
-
- Package version: `1.
|
|
540
|
+
- Package version: `1.101.1`
|
|
541
541
|
- Generator version: `7.21.0`
|
|
542
542
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
543
543
|
|
|
@@ -15,7 +15,7 @@ import type { DocumentType } from './DocumentType';
|
|
|
15
15
|
*
|
|
16
16
|
* ``chunk_id`` is the load-bearing field — every reader can use it via
|
|
17
17
|
* ``/v1/chunks/bulk``. The document fields are populated by
|
|
18
|
-
* ``
|
|
18
|
+
* ``ks_upload_from_sandbox`` when it resolves each chunk through the KS API at
|
|
19
19
|
* save time; they stay ``None`` only when the chunk could not be resolved
|
|
20
20
|
* (e.g. the agent cited an id that no longer exists, or the resolve call
|
|
21
21
|
* failed). The doc-info snapshot is captured at save time; later renames
|
|
@@ -110,7 +110,7 @@ export interface DocumentVersionMetadata {
|
|
|
110
110
|
[key: string]: any;
|
|
111
111
|
}> | null;
|
|
112
112
|
/**
|
|
113
|
-
* In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by
|
|
113
|
+
* In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by ks_upload_from_sandbox during upload; ``null`` for versions ingested before this field shipped or for files re-uploaded outside the agent flow. FE enriches chunks via /v1/chunks/bulk.
|
|
114
114
|
* @type {Array<XlsxCellAnchorOutputOrDocxParagraphAnchorOutput>}
|
|
115
115
|
* @memberof DocumentVersionMetadata
|
|
116
116
|
*/
|
|
@@ -15,7 +15,7 @@ import type { DocumentType } from './DocumentType';
|
|
|
15
15
|
*
|
|
16
16
|
* ``chunk_id`` is the load-bearing field — every reader can use it via
|
|
17
17
|
* ``/v1/chunks/bulk``. The document fields are populated by
|
|
18
|
-
* ``
|
|
18
|
+
* ``ks_upload_from_sandbox`` when it resolves each chunk through the KS API at
|
|
19
19
|
* save time; they stay ``None`` only when the chunk could not be resolved
|
|
20
20
|
* (e.g. the agent cited an id that no longer exists, or the resolve call
|
|
21
21
|
* failed). The doc-info snapshot is captured at save time; later renames
|
|
@@ -110,7 +110,7 @@ export interface DocumentVersionMetadata {
|
|
|
110
110
|
[key: string]: any;
|
|
111
111
|
}> | null;
|
|
112
112
|
/**
|
|
113
|
-
* In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by
|
|
113
|
+
* In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by ks_upload_from_sandbox during upload; ``null`` for versions ingested before this field shipped or for files re-uploaded outside the agent flow. FE enriches chunks via /v1/chunks/bulk.
|
|
114
114
|
* @type {Array<XlsxCellAnchorOutputOrDocxParagraphAnchorOutput>}
|
|
115
115
|
* @memberof DocumentVersionMetadata
|
|
116
116
|
*/
|
package/docs/CitedChunk.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
# CitedChunk
|
|
3
3
|
|
|
4
|
-
One cited chunk with the source document context for FE rendering. ``chunk_id`` is the load-bearing field — every reader can use it via ``/v1/chunks/bulk``. The document fields are populated by ``
|
|
4
|
+
One cited chunk with the source document context for FE rendering. ``chunk_id`` is the load-bearing field — every reader can use it via ``/v1/chunks/bulk``. The document fields are populated by ``ks_upload_from_sandbox`` when it resolves each chunk through the KS API at save time; they stay ``None`` only when the chunk could not be resolved (e.g. the agent cited an id that no longer exists, or the resolve call failed). The doc-info snapshot is captured at save time; later renames or replacements of the source document do not update it.
|
|
5
5
|
|
|
6
6
|
## Properties
|
|
7
7
|
|
package/package.json
CHANGED
package/src/models/CitedChunk.ts
CHANGED
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
*
|
|
27
27
|
* ``chunk_id`` is the load-bearing field — every reader can use it via
|
|
28
28
|
* ``/v1/chunks/bulk``. The document fields are populated by
|
|
29
|
-
* ``
|
|
29
|
+
* ``ks_upload_from_sandbox`` when it resolves each chunk through the KS API at
|
|
30
30
|
* save time; they stay ``None`` only when the chunk could not be resolved
|
|
31
31
|
* (e.g. the agent cited an id that no longer exists, or the resolve call
|
|
32
32
|
* failed). The doc-info snapshot is captured at save time; later renames
|
|
@@ -129,7 +129,7 @@ export interface DocumentVersionMetadata {
|
|
|
129
129
|
*/
|
|
130
130
|
xlsxKpiCatalog?: Array<{ [key: string]: any; }> | null;
|
|
131
131
|
/**
|
|
132
|
-
* In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by
|
|
132
|
+
* In-file citation anchors for agent-generated .xlsx/.docx deliverables. Each anchor binds an in-file location (cell or paragraph) to the chunk IDs cited there. Populated by ks_upload_from_sandbox during upload; ``null`` for versions ingested before this field shipped or for files re-uploaded outside the agent flow. FE enriches chunks via /v1/chunks/bulk.
|
|
133
133
|
* @type {Array<XlsxCellAnchorOutputOrDocxParagraphAnchorOutput>}
|
|
134
134
|
* @memberof DocumentVersionMetadata
|
|
135
135
|
*/
|