@ekairos/dataset 1.21.15-beta.0 → 1.21.19-beta.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.
|
@@ -5,10 +5,10 @@ const ai_1 = require("ai");
|
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
6
|
function createGenerateSchemaTool({ service, datasetId, sandbox, isNested, fileId }) {
|
|
7
7
|
return (0, ai_1.tool)({
|
|
8
|
-
description: `Generate a formal JSON schema for a SINGLE RECORD (row) from the file. This schema describes the structure of ONE record, not the entire dataset or array of records. Requirements:
|
|
9
|
-
1. Schema describes ONE RECORD structure only (no array wrappers)
|
|
10
|
-
2. All property names MUST use lowercaseCamelCase convention (e.g., 'productName', 'unitPrice')
|
|
11
|
-
3. Each property MUST have a description field
|
|
8
|
+
description: `Generate a formal JSON schema for a SINGLE RECORD (row) from the file. This schema describes the structure of ONE record, not the entire dataset or array of records. Requirements:
|
|
9
|
+
1. Schema describes ONE RECORD structure only (no array wrappers)
|
|
10
|
+
2. All property names MUST use lowercaseCamelCase convention (e.g., 'productName', 'unitPrice')
|
|
11
|
+
3. Each property MUST have a description field
|
|
12
12
|
4. The schema description must explain what one record represents and field mappings from original file`,
|
|
13
13
|
inputSchema: zod_1.z.object({
|
|
14
14
|
schemaTitle: zod_1.z.string().describe("Title for the RECORD schema in PascalCase (e.g., 'ProductRecord', 'TransactionRecord')"),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ekairos/dataset",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.19-beta.0",
|
|
4
4
|
"description": "Pulzar Dataset Tools",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"typecheck": "tsc --noEmit"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@ekairos/story": "^1.21.
|
|
42
|
-
"@ekairos/domain": "^1.21.
|
|
41
|
+
"@ekairos/story": "^1.21.19-beta.0",
|
|
42
|
+
"@ekairos/domain": "^1.21.19-beta.0",
|
|
43
43
|
"@instantdb/admin": "^0.22.13",
|
|
44
44
|
"@instantdb/core": "^0.22.13",
|
|
45
45
|
"@vercel/sandbox": "^0.0.23",
|