Skip to content

[Auto release] release 2.0.3 #189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
a326fc4
docs: generate changelog of release v2.0.1
666haiwen Feb 21, 2025
76bf644
Merge pull request #180 from VisActor/docs/generate-changelog-v2.0.1
666haiwen Feb 23, 2025
959024f
Merge pull request #183 from VisActor/sync/main-2.0.2
666haiwen Feb 23, 2025
c1dcb8f
docs: generate changelog of release v2.0.2
666haiwen Feb 23, 2025
a0d3a3a
fix: insight's data is after measure transfer, may diff with originData
666haiwen Feb 24, 2025
63ebd95
Merge pull request #184 from VisActor/docs/generate-changelog-v2.0.2
666haiwen Feb 24, 2025
8863357
fix: fix usage may empty + chart generation may empty while error in llm
666haiwen Feb 24, 2025
62e4bb2
Merge branch 'pre-release/2.0.3-alpha.2' into feat/function_call
666haiwen Feb 25, 2025
952d213
feat: llm and atom support function calls
666haiwen Feb 25, 2025
3a81d22
build: prelease version 2.0.3-alpha.3
github-actions[bot] Feb 25, 2025
00ba234
feat: add response read&&write
666haiwen Feb 26, 2025
2d0a657
feat: add Partial in ctx and Options
666haiwen Feb 27, 2025
d219b7b
fix: tool_calls need array
666haiwen Feb 27, 2025
282011c
fix: tool_calls need array
666haiwen Feb 27, 2025
e844101
Merge branch 'pre-release/2.0.3-alpha.3' of https://github.com/VisAct…
666haiwen Feb 27, 2025
26af6fc
feat(agent): update type of reset params
666haiwen Mar 3, 2025
83d1a1a
fix: to#185, add stack/percent and strip chart in chart generation
666haiwen Mar 3, 2025
4177a6f
fix: fix empty value field in circleProgress + add useChartRule options
666haiwen Mar 3, 2025
1b775b8
Revert "build: prelease version 2.0.3-alpha.3"
github-actions[bot] Feb 25, 2025
efc253a
refactor: use array replace of isArray
666haiwen Mar 3, 2025
c2706e4
Merge pull request #186 from VisActor/fix/stackChart
666haiwen Mar 3, 2025
1d4cbc2
build: prelease version 2.0.3
666haiwen Mar 4, 2025
b1a9bd8
docs: update changlog of rush
666haiwen Mar 4, 2025
1f5dfac
Merge branch 'release/2.0.3' of https://github.com/VisActor/VMind int…
666haiwen Mar 4, 2025
5bcc429
feat: update change log
666haiwen Mar 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion common/config/rush/version-policies.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{
"definitionName": "lockStepVersion",
"policyName": "vmindMin",
"version": "2.0.2",
"version": "2.0.3",
"mainProject": "@visactor/vmind",
"nextBump": "patch"
}
Expand Down
65 changes: 56 additions & 9 deletions docs/assets/changelog/en/release.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,59 @@
# v2.0.3

2025-03-04

**🆕 New Features**

- **atom**: VMind's internal atomization feature now supports function call capability

**🔖 Fixes**

- **chartGeneration**: Fixed issues where stacked/percentage bar charts were not working, and bar charts were not generating correctly
- **getInsights**: Fixed an issue where, if chart values were strings, the original data obtained by insights was converted to number type, potentially causing incorrect matches

**🔖 Others**

- **@visactor/vmind**: Optimized type definitions

# v2.0.2

2025-02-23


**🔖 Fix**

- **@visactor/vmind**: fix fieldinfo may undefiend while chart-advistor

[more detail about v2.0.2](https://github.com/VisActor/VMind/releases/tag/v2.0.2)

# v2.0.1

2025-02-21


**🆕 New feature**

- **@visactor/vmind**: Support DeepSeek and other custom model with api-key
- **@visactor/vmind**: 12 new chart types added for chart generation
- **@visactor/vmind**: Add text2Chart API
- **@visactor/vmind**: Add getInsights API

**🔖 other**

- **@visactor/vmind**: Overall architecture upgrade


[more detail about v2.0.1](https://github.com/VisActor/VMind/releases/tag/v2.0.1)

# v1.2.12

2024-06-17


**🔖 New featureure**
- **@visactor/vmind**: intelligent insight module
- **@visactor/vmind**: add custom model type support

- **@visactor/vmind**: intelligent insight module
- **@visactor/vmind**: add custom model type support
- **@visactor/vmind**: take skylark model when no model type match

[more detail about v1.2.12](https://github.com/VisActor/VMind/releases/tag/v1.2.12)
Expand All @@ -17,7 +64,7 @@


**🐛 Fixes**

Fix reference error in node.

[more detail about v1.2.11](https://github.com/VisActor/VMind/releases/tag/v1.2.11)
Expand All @@ -28,13 +75,13 @@ Fix reference error in node.


**🆕 New New featureures**
- **@visactor/vmind**: Refactored the VMind basic framework: abstracted TaskNode, Application class, used Meta for flow arrangement, and improved code reusability and scalability.
- **@visactor/vmind**: Intelligent chart generation: supports generating spec templates without a data set; supports filling data into spec templates.
- **@visactor/vmind**: Intelligent chart generation: supports selecting chart types from a specified list of chart types.

- **@visactor/vmind**: Refactored the VMind basic framework: abstracted TaskNode, Application class, used Meta for flow arrangement, and improved code reusability and scalability.
- **@visactor/vmind**: Intelligent chart generation: supports generating spec templates without a data set; supports filling data into spec templates.
- **@visactor/vmind**: Intelligent chart generation: supports selecting chart types from a specified list of chart types.

**🐛 Fixes**

Intelligent data aggregation: replaced alasql keyword in SQL to further improve the success rate of SQL execution.

[more detail about v1.2.9](https://github.com/VisActor/VMind/releases/tag/v1.2.9)
Expand Down
66 changes: 57 additions & 9 deletions docs/assets/changelog/zh/release.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,60 @@
# v2.0.3

2025-03-04

**🆕 新增功能**

- **atom**: VMind内部原子化功能支持function call能力

**🔖 Fix**

- **chartGeneration**: 修复堆积类/百分比柱图不生效的问题,修复条形图无法正确生成的问题
- **getInsights**: 修复当图表数值为string时,洞察得到的原始数据为转为number类型的数据项,导致匹配可能有误的问题

**🔖 其他**

- **@visactor/vmind**: 类型定义优化


# v2.0.2

2025-02-23


**🔖 Fix**

- **@visactor/vmind**: fix fieldinfo may undefiend while chart-advistor

[更多详情请查看 v2.0.2](https://github.com/VisActor/VMind/releases/tag/v2.0.2)

# v2.0.1

2025-02-21


**🆕 新增功能**

- **@visactor/vmind**: Support DeepSeek and other custom model with api-key
- **@visactor/vmind**: 12 new chart types added for chart generation
- **@visactor/vmind**: Add text2Chart API
- **@visactor/vmind**: Add getInsights API

**🔖 其他**

- **@visactor/vmind**: Overall architecture upgrade


[更多详情请查看 v2.0.1](https://github.com/VisActor/VMind/releases/tag/v2.0.1)

# v1.2.12

2024-06-17


**🔖 新增功能ure**
- **@visactor/vmind**: intelligent insight module
- **@visactor/vmind**: add custom model type support

- **@visactor/vmind**: intelligent insight module
- **@visactor/vmind**: add custom model type support
- **@visactor/vmind**: take skylark model when no model type match

[更多详情请查看 v1.2.12](https://github.com/VisActor/VMind/releases/tag/v1.2.12)
Expand All @@ -17,7 +65,7 @@


**🐛 Fixes**

Fix reference error in node.

[更多详情请查看 v1.2.11](https://github.com/VisActor/VMind/releases/tag/v1.2.11)
Expand All @@ -28,13 +76,13 @@ Fix reference error in node.


**🆕 New 新增功能ures**
- **@visactor/vmind**: Refactored the VMind basic framework: abstracted TaskNode, Application class, used Meta for flow arrangement, and improved code reusability and scalability.
- **@visactor/vmind**: Intelligent chart generation: supports generating spec templates without a data set; supports filling data into spec templates.
- **@visactor/vmind**: Intelligent chart generation: supports selecting chart types from a specified list of chart types.

- **@visactor/vmind**: Refactored the VMind basic framework: abstracted TaskNode, Application class, used Meta for flow arrangement, and improved code reusability and scalability.
- **@visactor/vmind**: Intelligent chart generation: supports generating spec templates without a data set; supports filling data into spec templates.
- **@visactor/vmind**: Intelligent chart generation: supports selecting chart types from a specified list of chart types.

**🐛 Fixes**

Intelligent data aggregation: replaced alasql keyword in SQL to further improve the success rate of SQL execution.

[更多详情请查看 v1.2.9](https://github.com/VisActor/VMind/releases/tag/v1.2.9)
Expand Down
2 changes: 1 addition & 1 deletion packages/calculator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/calculator",
"version": "2.0.2",
"version": "2.0.3",
"description": "SQL-like query executor with DSL",
"main": "lib",
"module": "es",
Expand Down
2 changes: 1 addition & 1 deletion packages/chart-advisor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/chart-advisor",
"version": "2.0.2",
"version": "2.0.3",
"description": "图表推荐模块",
"main": "lib",
"module": "es",
Expand Down
8 changes: 7 additions & 1 deletion packages/vmind/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"name": "@visactor/vmind",
"entries": [
{
"version": "2.0.3",
"tag": "@visactor/vmind_v2.0.3",
"date": "Tue, 04 Mar 2025 08:58:32 GMT",
"comments": {}
},
{
"version": "2.0.2",
"tag": "@visactor/vmind_v2.0.2",
Expand Down Expand Up @@ -164,4 +170,4 @@
"comments": {}
}
]
}
}
13 changes: 12 additions & 1 deletion packages/vmind/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Change Log - @visactor/vmind

This log was last generated on Sun, 23 Feb 2025 10:21:08 GMT and should not be manually modified.
This log was last generated on Tue, 04 Mar 2025 08:58:32 GMT and should not be manually modified.

## 2.0.3
Tue, 04 Mar 2025 08:58:32 GMT

### Updates

- Fixed issues where stacked/percentage bar charts were not working, and bar charts were not generating correctly
- Fixed an issue where, if chart values were strings, the original data obtained by insights was converted to number type, potentially causing incorrect matches
- Optimized type definitions
- Feat: VMind's internal atomization feature now supports function call capability


## 2.0.2
Sun, 23 Feb 2025 10:21:08 GMT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ export function DataInput(props: IPropsType) {
const specJson = JSON5.parse(spec);
const { insights } = await vmind.current.getInsights(specJson, {
maxNum: numLimits,
algorithmOptions: {
pearsonCorrelation: { withoutSeries: true, threshold: 0.75 },
lofOutlier: { threshold: 2 },
statisticsBase: { defaultLeftAxisName: '左轴', defaultRightAxisName: '右轴' }
},
detailMaxNum: [
{ types: ['outlier', 'pair_outlier', 'extreme_value', 'turning_point', 'majority_value'], maxNum: 3 },
{ types: ['abnormal_band'], maxNum: 3 },
Expand Down
2 changes: 1 addition & 1 deletion packages/vmind/__tests__/experiment/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function revisedTestData(data: DataExtractionResult, reGenerateDataClean = false
dataset: caseResult.dataset,
fieldInfoResult: caseResult.fieldInfoResult,
defaultResult: caseResult.defaultResult.map(v => {
dataClean.reset(v.context as any);
dataClean.reset(v.context);
return {
...v,
dataClean: dataClean._runWithOutLLM()
Expand Down
6 changes: 3 additions & 3 deletions packages/vmind/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@visactor/vmind",
"version": "2.0.2",
"version": "2.0.3",
"main": "cjs/index.js",
"module": "esm/index.js",
"types": "esm/index.d.ts",
Expand Down Expand Up @@ -93,14 +93,14 @@
},
"dependencies": {
"chroma-js": "^3.1.1",
"@visactor/chart-advisor": "workspace:2.0.2",
"@visactor/chart-advisor": "workspace:2.0.3",
"@visactor/vdataset": "~0.17.4",
"@visactor/vutils": "~0.17.4",
"axios": "^1.4.0",
"json5": "~2.2.3",
"dayjs": "~1.11.10",
"js-yaml": "~4.1.0",
"@visactor/calculator": "workspace:2.0.2",
"@visactor/calculator": "workspace:2.0.3",
"alasql": "~4.3.2",
"@visactor/vchart-theme": "^1.11.2",
"jstat": "~1.9.6",
Expand Down
3 changes: 2 additions & 1 deletion packages/vmind/src/applications/dataExtraction/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ export const getText2ChartSchedule = (llm: LLMManage, options: ILLMOptions) => {
return new Schedule(
[AtomName.DATA_EXTRACT, AtomName.DATA_CLEAN, AtomName.DATA_QUERY, AtomName.CHART_COMMAND, AtomName.CHART_GENERATE],
{
base: { llm, showThoughts: options?.showThoughts }
base: { llm, showThoughts: options?.showThoughts },
chartGenerate: { useChartRule: true }
}
);
};
Loading
Loading