@retrivora-ai/rag-engine 1.4.4 → 1.4.5
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.
|
@@ -1704,11 +1704,13 @@ When presenting structured data, statistics, or comparisons, decide if it is bes
|
|
|
1704
1704
|
2. NO math expressions (e.g., use 100, NOT 50+50).
|
|
1705
1705
|
3. dataKeys MUST exactly match the property names in the data objects.
|
|
1706
1706
|
4. data objects MUST be FLAT (no nested objects or arrays).
|
|
1707
|
-
5. DO NOT output naked JSON
|
|
1707
|
+
5. DO NOT output naked JSON or markdown tables for visualizations.
|
|
1708
|
+
6. ALWAYS wrap your visualization data in a \`\`\`chart ... \`\`\` code block.
|
|
1708
1709
|
\`\`\`chart
|
|
1709
1710
|
{
|
|
1710
1711
|
"type": "bar" | "line" | "pie",
|
|
1711
1712
|
"xAxisKey": "name",
|
|
1713
|
+
"name": "Distribution Chart",
|
|
1712
1714
|
"dataKeys": ["value"],
|
|
1713
1715
|
"data": [{"name": "A", "value": 10}]
|
|
1714
1716
|
}
|
|
@@ -2267,7 +2269,8 @@ When presenting structured data, statistics, or comparisons, decide if it is bes
|
|
|
2267
2269
|
2. NO math expressions (e.g., use 100, NOT 50+50).
|
|
2268
2270
|
3. dataKeys MUST exactly match the property names in the data objects.
|
|
2269
2271
|
4. data objects MUST be FLAT (no nested objects or arrays).
|
|
2270
|
-
5. DO NOT output naked JSON
|
|
2272
|
+
5. DO NOT output naked JSON or markdown tables for visualizations.
|
|
2273
|
+
6. ALWAYS wrap your visualization data in a \`\`\`chart ... \`\`\` code block.
|
|
2271
2274
|
\`\`\`chart
|
|
2272
2275
|
{
|
|
2273
2276
|
"type": "bar" | "line" | "pie",
|
package/dist/handlers/index.js
CHANGED
|
@@ -3273,11 +3273,13 @@ When presenting structured data, statistics, or comparisons, decide if it is bes
|
|
|
3273
3273
|
2. NO math expressions (e.g., use 100, NOT 50+50).
|
|
3274
3274
|
3. dataKeys MUST exactly match the property names in the data objects.
|
|
3275
3275
|
4. data objects MUST be FLAT (no nested objects or arrays).
|
|
3276
|
-
5. DO NOT output naked JSON
|
|
3276
|
+
5. DO NOT output naked JSON or markdown tables for visualizations.
|
|
3277
|
+
6. ALWAYS wrap your visualization data in a \`\`\`chart ... \`\`\` code block.
|
|
3277
3278
|
\`\`\`chart
|
|
3278
3279
|
{
|
|
3279
3280
|
"type": "bar" | "line" | "pie",
|
|
3280
3281
|
"xAxisKey": "name",
|
|
3282
|
+
"name": "Distribution Chart",
|
|
3281
3283
|
"dataKeys": ["value"],
|
|
3282
3284
|
"data": [{"name": "A", "value": 10}]
|
|
3283
3285
|
}
|
|
@@ -3830,7 +3832,8 @@ When presenting structured data, statistics, or comparisons, decide if it is bes
|
|
|
3830
3832
|
2. NO math expressions (e.g., use 100, NOT 50+50).
|
|
3831
3833
|
3. dataKeys MUST exactly match the property names in the data objects.
|
|
3832
3834
|
4. data objects MUST be FLAT (no nested objects or arrays).
|
|
3833
|
-
5. DO NOT output naked JSON
|
|
3835
|
+
5. DO NOT output naked JSON or markdown tables for visualizations.
|
|
3836
|
+
6. ALWAYS wrap your visualization data in a \`\`\`chart ... \`\`\` code block.
|
|
3834
3837
|
\`\`\`chart
|
|
3835
3838
|
{
|
|
3836
3839
|
"type": "bar" | "line" | "pie",
|
package/dist/handlers/index.mjs
CHANGED
package/dist/server.js
CHANGED
|
@@ -3358,11 +3358,13 @@ When presenting structured data, statistics, or comparisons, decide if it is bes
|
|
|
3358
3358
|
2. NO math expressions (e.g., use 100, NOT 50+50).
|
|
3359
3359
|
3. dataKeys MUST exactly match the property names in the data objects.
|
|
3360
3360
|
4. data objects MUST be FLAT (no nested objects or arrays).
|
|
3361
|
-
5. DO NOT output naked JSON
|
|
3361
|
+
5. DO NOT output naked JSON or markdown tables for visualizations.
|
|
3362
|
+
6. ALWAYS wrap your visualization data in a \`\`\`chart ... \`\`\` code block.
|
|
3362
3363
|
\`\`\`chart
|
|
3363
3364
|
{
|
|
3364
3365
|
"type": "bar" | "line" | "pie",
|
|
3365
3366
|
"xAxisKey": "name",
|
|
3367
|
+
"name": "Distribution Chart",
|
|
3366
3368
|
"dataKeys": ["value"],
|
|
3367
3369
|
"data": [{"name": "A", "value": 10}]
|
|
3368
3370
|
}
|
|
@@ -3921,7 +3923,8 @@ When presenting structured data, statistics, or comparisons, decide if it is bes
|
|
|
3921
3923
|
2. NO math expressions (e.g., use 100, NOT 50+50).
|
|
3922
3924
|
3. dataKeys MUST exactly match the property names in the data objects.
|
|
3923
3925
|
4. data objects MUST be FLAT (no nested objects or arrays).
|
|
3924
|
-
5. DO NOT output naked JSON
|
|
3926
|
+
5. DO NOT output naked JSON or markdown tables for visualizations.
|
|
3927
|
+
6. ALWAYS wrap your visualization data in a \`\`\`chart ... \`\`\` code block.
|
|
3925
3928
|
\`\`\`chart
|
|
3926
3929
|
{
|
|
3927
3930
|
"type": "bar" | "line" | "pie",
|
package/dist/server.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@retrivora-ai/rag-engine",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
4
|
"description": "Retrivora AI is a plug-and-play AI engine for RAG chat experiences — generic vector DB + LLM provider, embeddable or standalone.",
|
|
5
5
|
"author": "Abhinav Alkuchi",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,11 +58,13 @@ export class LangChainAgent {
|
|
|
58
58
|
2. NO math expressions (e.g., use 100, NOT 50+50).
|
|
59
59
|
3. dataKeys MUST exactly match the property names in the data objects.
|
|
60
60
|
4. data objects MUST be FLAT (no nested objects or arrays).
|
|
61
|
-
5. DO NOT output naked JSON
|
|
61
|
+
5. DO NOT output naked JSON or markdown tables for visualizations.
|
|
62
|
+
6. ALWAYS wrap your visualization data in a \`\`\`chart ... \`\`\` code block.
|
|
62
63
|
\`\`\`chart
|
|
63
64
|
{
|
|
64
65
|
"type": "bar" | "line" | "pie",
|
|
65
66
|
"xAxisKey": "name",
|
|
67
|
+
"name": "Distribution Chart",
|
|
66
68
|
"dataKeys": ["value"],
|
|
67
69
|
"data": [{"name": "A", "value": 10}]
|
|
68
70
|
}
|
package/src/core/Pipeline.ts
CHANGED
|
@@ -108,7 +108,8 @@ export class Pipeline {
|
|
|
108
108
|
2. NO math expressions (e.g., use 100, NOT 50+50).
|
|
109
109
|
3. dataKeys MUST exactly match the property names in the data objects.
|
|
110
110
|
4. data objects MUST be FLAT (no nested objects or arrays).
|
|
111
|
-
5. DO NOT output naked JSON
|
|
111
|
+
5. DO NOT output naked JSON or markdown tables for visualizations.
|
|
112
|
+
6. ALWAYS wrap your visualization data in a \`\`\`chart ... \`\`\` code block.
|
|
112
113
|
\`\`\`chart
|
|
113
114
|
{
|
|
114
115
|
"type": "bar" | "line" | "pie",
|