@dartfx/n8n-nodes-qsv 0.27.0-staging.0 → 0.28.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.
|
@@ -156,7 +156,7 @@ class Qsv {
|
|
|
156
156
|
group: ['transform'],
|
|
157
157
|
version: 1,
|
|
158
158
|
subtitle: '={{$parameter["operation"]}}',
|
|
159
|
-
description: 'Ultra-fast tabular data wrangling, stats, and transformations via QSV (generated for QSV
|
|
159
|
+
description: 'Ultra-fast tabular data wrangling, stats, and transformations via QSV (generated for QSV 28.0.0; requires qsv CLI on host)',
|
|
160
160
|
defaults: {
|
|
161
161
|
name: 'QSV',
|
|
162
162
|
},
|
|
@@ -32,12 +32,21 @@ async function executeProfile(itemIndex) {
|
|
|
32
32
|
if (options.delimiter !== undefined && options.delimiter !== '') {
|
|
33
33
|
args.push('--delimiter', String(options.delimiter));
|
|
34
34
|
}
|
|
35
|
+
if (options.describegpt !== undefined && options.describegpt !== '') {
|
|
36
|
+
args.push('--describegpt', String(options.describegpt));
|
|
37
|
+
}
|
|
35
38
|
if (options.force === true) {
|
|
36
39
|
args.push('--force');
|
|
37
40
|
}
|
|
41
|
+
if (options.infer === true) {
|
|
42
|
+
args.push('--infer');
|
|
43
|
+
}
|
|
38
44
|
if (options.initialContext !== undefined && options.initialContext !== '') {
|
|
39
45
|
args.push('--initial-context', String(options.initialContext));
|
|
40
46
|
}
|
|
47
|
+
if (options.locate !== undefined && options.locate !== '') {
|
|
48
|
+
args.push('--locate', String(options.locate));
|
|
49
|
+
}
|
|
41
50
|
if (options.memcheck === true) {
|
|
42
51
|
args.push('--memcheck');
|
|
43
52
|
}
|
|
@@ -62,6 +71,9 @@ async function executeProfile(itemIndex) {
|
|
|
62
71
|
if (options.strict === true) {
|
|
63
72
|
args.push('--strict');
|
|
64
73
|
}
|
|
74
|
+
if (options.tagVocab !== undefined && options.tagVocab !== '') {
|
|
75
|
+
args.push('--tag-vocab', String(options.tagVocab));
|
|
76
|
+
}
|
|
65
77
|
if (options.validate === true) {
|
|
66
78
|
args.push('--validate');
|
|
67
79
|
}
|
|
@@ -147,7 +147,7 @@ exports.DescribegptDescription = [
|
|
|
147
147
|
name: 'forget',
|
|
148
148
|
type: 'boolean',
|
|
149
149
|
default: false,
|
|
150
|
-
description: 'Remove
|
|
150
|
+
description: 'Remove the cached LLM answers of the selected phases (all phases when none is selected) and then exit, without calling the LLM. Pass the other options of the run whose answers you are forgetting (model, language, tag options and so on), since they are part of the cache key. A short model name (e.g. gpt-oss-20b) is completed from the LLM server\'s model list, as a run completes it; when the server cannot be reached, the name is used as given, so pass the full one. A Description, Tags or Prompt answer cached with a dictionary is found only while that dictionary\'s answer is still cached.',
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
displayName: 'Format',
|
|
@@ -93,6 +93,13 @@ exports.ProfileDescription = [
|
|
|
93
93
|
default: '',
|
|
94
94
|
description: 'The field delimiter for reading CSV data. Must be a single character.',
|
|
95
95
|
},
|
|
96
|
+
{
|
|
97
|
+
displayName: 'Describegpt',
|
|
98
|
+
name: 'describegpt',
|
|
99
|
+
type: 'string',
|
|
100
|
+
default: '',
|
|
101
|
+
description: 'Use a `qsv describegpt --format json` result as LLM-inferred metadata (see also --infer). Its Description becomes the description, its Tags the keywords and its Dictionary labels and descriptions annotate the CSVW columns - all as inferred values, which supplied or discovered metadata replaces. describegpt\'s attribution footer moves to the `llm_attribution` block and the description gets a one-line disclosure.',
|
|
102
|
+
},
|
|
96
103
|
{
|
|
97
104
|
displayName: 'Force',
|
|
98
105
|
name: 'force',
|
|
@@ -100,6 +107,13 @@ exports.ProfileDescription = [
|
|
|
100
107
|
default: false,
|
|
101
108
|
description: 'Force recomputing cardinality and unique values even if a stats cache file exists.',
|
|
102
109
|
},
|
|
110
|
+
{
|
|
111
|
+
displayName: 'Infer',
|
|
112
|
+
name: 'infer',
|
|
113
|
+
type: 'boolean',
|
|
114
|
+
default: false,
|
|
115
|
+
description: 'Run `qsv describegpt --all` on the input and use its result as with --describegpt. The LLM is configured through describegpt\'s QSV_LLM_* environment variables. If it cannot run, a warning is added and the statistics-based description is used.',
|
|
116
|
+
},
|
|
103
117
|
{
|
|
104
118
|
displayName: 'Initial Context',
|
|
105
119
|
name: 'initialContext',
|
|
@@ -107,6 +121,13 @@ exports.ProfileDescription = [
|
|
|
107
121
|
default: '',
|
|
108
122
|
description: 'JSON file providing seed values for the package / resource dicts plus optional JSON-Pointer overrides for the final projection block. Replaces the older --package-meta / --resource-meta flags. Top-level keys: `package`, `resource`, `dataset_info`. Each leaf value may be wrapped as {"value": ..., "force": true} to mark it as overriding any value discovered from URL DCAT markup AND any value qsv inferred. Force is honored across all three subtrees: dataset_info entries override their target path verbatim; package / resource entries route through the active profile\'s `field_mappings:` table (e.g. `package.title force=true` lands at `/projection/title`, beating inference and discovery). Forced values for slots the profile does not surface are silently dropped (no-op). See tests/resources/profile/dcat-init-context.README.md for a fully-populated example.',
|
|
109
123
|
},
|
|
124
|
+
{
|
|
125
|
+
displayName: 'Locate',
|
|
126
|
+
name: 'locate',
|
|
127
|
+
type: 'string',
|
|
128
|
+
default: '',
|
|
129
|
+
description: 'Name the places the data covers, as DCAT-US v3 `spatial` Locations, by looking up the densest coordinate cells (up to 40, row-weighted) with `qsv geocode`. <mode> is one of: geonames - label the bounding box with the place, admin1 or country that 80% of the sampled rows share (offline Geonames index). census - add each US state and county holding at least 5% of the sampled rows (the heaviest state always; up to 10 counties), keyed by Census GEOID (US Census Geocoder: online, keyless, cached). State and county columns, when they resolve, supply these instead, with or without coordinates, as they name every row exactly: states as USPS, FIPS or names; counties as names or GEOIDs, matched exactly within each row\'s state (TIGERweb county names). A name several counties share is noted, not guessed. both - geonames and census. Also adds the coordinates\' centroid. A lookup that cannot run is noted in projection_warnings; the bounding box is kept. Default: off.',
|
|
130
|
+
},
|
|
110
131
|
{
|
|
111
132
|
displayName: 'Memcheck',
|
|
112
133
|
name: 'memcheck',
|
|
@@ -147,7 +168,7 @@ exports.ProfileDescription = [
|
|
|
147
168
|
name: 'profile',
|
|
148
169
|
type: 'string',
|
|
149
170
|
default: '',
|
|
150
|
-
description: 'Metadata projection profile to use. Embedded names: dcat-us-v3 (default), dcat-ap-v3, croissant; geoconnex (when built with the `geoconnex` feature
|
|
171
|
+
description: 'Metadata projection profile to use. Embedded names: dcat-us-v3 (default), dcat-ap-v3, croissant; geoconnex (when built with the `geoconnex` feature, which no prebuilt binary includes: build qsv with `-F feature_capable,geoconnex`, or qsvdp with `-F datapusher_plus,geoconnex`). A path to a custom YAML profile is also accepted; embedded names always win over same-named files. See resources/profiles/README.md for the schema and authoring guide.',
|
|
151
172
|
},
|
|
152
173
|
{
|
|
153
174
|
displayName: 'Spec',
|
|
@@ -163,12 +184,19 @@ exports.ProfileDescription = [
|
|
|
163
184
|
default: false,
|
|
164
185
|
description: 'With --validate, fail the command on Required-severity schema violations, or on non-Info external-validator findings, instead of just warning. Severity comes from the DCAT-US v3 schema\'s own requirementLevel annotations, so a missing mandatory property aborts while a recommended-field advisory does not. Note: RFC4180 structural failures from `qsv validate` (emitted when a spec declares `validators`) are always appended as warnings, regardless of this flag.',
|
|
165
186
|
},
|
|
187
|
+
{
|
|
188
|
+
displayName: 'Tag Vocab',
|
|
189
|
+
name: 'tagVocab',
|
|
190
|
+
type: 'string',
|
|
191
|
+
default: '',
|
|
192
|
+
description: 'With --describegpt or --infer: a local `tag,description` CSV (the format describegpt uses for its own tag vocabulary). Only tags in it are kept - describegpt only asks the LLM to keep to the vocabulary - and they also become `theme` Concepts carrying the vocabulary\'s description.',
|
|
193
|
+
},
|
|
166
194
|
{
|
|
167
195
|
displayName: 'Validate',
|
|
168
196
|
name: 'validate',
|
|
169
197
|
type: 'boolean',
|
|
170
198
|
default: false,
|
|
171
|
-
description: 'Validate the emitted projection block against the active profile\'s declared validators. For dcat-us-v3 that\'s the vendored GSA JSON Schema bundle (see resources/dcat-us-v3/); for dcat-ap-v3 / geoconnex it\'s pyshacl over the bundled SHACL shapes; for croissant it\'s mlcroissant. Catches missing mandatory fields, cardinality issues, and shape violations. Violations append to projection_warnings by default.',
|
|
199
|
+
description: 'Validate the emitted projection block against the active profile\'s declared validators. For dcat-us-v3 that\'s the vendored GSA JSON Schema bundle (see resources/dcat-us-v3/); for dcat-ap-v3 / geoconnex it\'s pyshacl over the bundled SHACL shapes; for croissant it\'s mlcroissant. Catches missing mandatory fields, cardinality issues, and shape violations. Violations append to projection_warnings by default. Also runs `qsv validate` over the input (CSV structure + UTF-8), so a passing file is declared UTF-8 encoded and its syntactic validity is recorded as a quality measurement.',
|
|
172
200
|
},
|
|
173
201
|
],
|
|
174
202
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dartfx/n8n-nodes-qsv",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.0",
|
|
4
4
|
"description": "n8n community node for datHere QSV ultra-fast tabular data wrangling, stats, and transformations (requires 'qsv' CLI on host)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"license": "MIT",
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "Data Artifex",
|
|
18
|
+
"email": "support@dataartifex.org",
|
|
18
19
|
"url": "https://github.com/DataArtifex"
|
|
19
20
|
},
|
|
20
21
|
"homepage": "https://github.com/DataArtifex/dartfx-n8n-nodes-qsv",
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
"tsx": "^4.19.3",
|
|
55
56
|
"typescript": "^5.7.3"
|
|
56
57
|
},
|
|
57
|
-
"qsvVersion": "
|
|
58
|
+
"qsvVersion": "28.0.0",
|
|
58
59
|
"scripts": {
|
|
59
60
|
"build": "tsc && gulp build:icons",
|
|
60
61
|
"dev": "tsc --watch",
|