@erdoai/cli 0.23.0 → 0.23.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/dist/index.js +4 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -490,9 +490,11 @@ var ErdoClient = class {
|
|
|
490
490
|
"/v1/datasets"
|
|
491
491
|
);
|
|
492
492
|
}
|
|
493
|
-
|
|
493
|
+
// The endpoint's field is `question` (QueryDataNaturalLanguageInput). Sending
|
|
494
|
+
// `query` made every `erdo datasets query` fail with "question is required".
|
|
495
|
+
queryDataset(slug, question, timezone) {
|
|
494
496
|
return this.request("POST", `/v1/datasets/${encodeURIComponent(slug)}/query-nl`, {
|
|
495
|
-
|
|
497
|
+
question,
|
|
496
498
|
timezone
|
|
497
499
|
});
|
|
498
500
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@erdoai/cli",
|
|
3
|
-
"version": "0.23.
|
|
4
|
-
"description": "Erdo CLI
|
|
3
|
+
"version": "0.23.1",
|
|
4
|
+
"description": "Erdo CLI \u2014 drive datasets, pages, and evals from the terminal or CI",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
7
7
|
"erdo": "dist/index.js"
|