trustgraph/templates/patterns/override-recursive-chunker.jsonnet
cybermaggedon 121f7bb776
Updates for config util repo (#47)
* Fix pulsar manager template import
* Add pattern categories.  Update parameters with new schema.
* Add more parameters to config
2024-09-01 21:29:29 +01:00

28 lines
801 B
Jsonnet
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
pattern: {
name: "override-recursive-chunker",
icon: "🪚",
title: "Replace default chunker with recursive chunker",
description: "The default chunker used in Trustgraph core is a token-based chunker. This pattern replaces that with a recursive chunker, and allows ou to configure the chunking parameters.",
requires: ["pulsar", "trustgraph"],
features: [],
args: [
{
name: "chunk-size",
type: "integer",
description: "Chunk size value",
default: 2000,
required: true,
},
{
name: "chunk-overlap",
type: "integer",
description: "Overlap size value",
default: 100,
required: true,
}
],
category: [ "chunking" ],
},
module: "components/cassandra.jsonnet",
}