Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1 KB

File metadata and controls

39 lines (26 loc) · 1 KB

SubtreeChunkGroup

A group of chunks sharing identical path_part_ids and tag_ids. Used by PathPartCRUDService.resolve_subtree_chunks to batch downstream Qdrant set_payload calls.

Properties

Name Type
chunkIds Array<string>
pathPartIds Array<string>
tagIds Array<string>

Example

import type { SubtreeChunkGroup } from '@knowledge-stack/ksapi'

// TODO: Update the object below with actual values
const example = {
  "chunkIds": null,
  "pathPartIds": null,
  "tagIds": null,
} satisfies SubtreeChunkGroup

console.log(example)

// Convert the instance to a JSON string
const exampleJSON: string = JSON.stringify(example)
console.log(exampleJSON)

// Parse the JSON string back to an object
const exampleParsed = JSON.parse(exampleJSON) as SubtreeChunkGroup
console.log(exampleParsed)

[Back to top] [Back to API list] [Back to Model list] [Back to README]