Skip to content

Commit 5d49813

Browse files
authored
Merge branch 'develop' into sync/main-1.2.5
2 parents ecc3bd9 + 8c924f5 commit 5d49813

File tree

3 files changed

+70
-8
lines changed

3 files changed

+70
-8
lines changed

README.md

+42-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,49 @@
1-
# @visactor/vmind
1+
2+
<div align="center">
3+
<a href="https://github.com/VisActor#gh-light-mode-only" target="_blank">
4+
<img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_light.svg"/>
5+
</a>
6+
<a href="https://github.com/VisActor#gh-dark-mode-only" target="_blank">
7+
<img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_dark.svg"/>
8+
</a>
9+
</div>
10+
11+
<div align="center">
12+
<h1>VMind</h1>
13+
</div>
14+
15+
<div align="center">
16+
17+
Not just automatic, but also fantastic.Open-source solution for intelligent visualization.
18+
19+
<p align="center">
20+
<a href="https://www.visactor.io/vmind">Introduction</a> •
21+
<a href="https://www.visactor.io/vmind/example">Demo</a> •
22+
<a href="https://www.visactor.io/vmind/guide/Intro_to_VMind">Tutorial</a> •
23+
<a href="https://www.visactor.io/vmind/api/VMind_Instance">API</a>•
24+
<a href="https://www.visactor.io/vmind/openapi">OpenApi</a>
25+
</p>
26+
27+
![](https://github.com/visactor/vmind/actions/workflows/bug-server.yml/badge.svg)
28+
![](https://github.com/visactor/vmind/actions/workflows/unit-test.yml/badge.svg)
29+
[![npm Version](https://img.shields.io/npm/v/@visactor/vmind.svg)](https://www.npmjs.com/package/@visactor/vmind)
30+
[![npm Download](https://img.shields.io/npm/dm/@visactor/vmind.svg)](https://www.npmjs.com/package/@visactor/vmind)
31+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/VisActor/VMind/blob/main/CONTRIBUTING.md#your-first-pull-request)
32+
33+
![](https://img.shields.io/badge/language-TypeScript-red.svg) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/visactor/vmind/blob/main/LICENSE)
34+
35+
</div>
36+
37+
238

339
<div align="center">
440

541
English | [简体中文](readme-zh.md)
642

743
</div>
844

45+
## 简介
46+
947
`@visactor/vmind` is an intelligent chart component based on LLM provided by [VisActor](https://www.visactor.io/), including dialog-based chart generation and editing capabilities. It provides a natural language interaction interface, allowing you to easily create chart narrative works with `@visactor/VMind` with just one sentence, and edit them through continuous dialogue, greatly improving your efficiency in creating data visualization works.
1048

1149
The main features of `@visactor/vmind` include:
@@ -17,9 +55,9 @@ The main features of `@visactor/vmind` include:
1755

1856
## Development Guide
1957

20-
### Demo Page
58+
### Docs Page
2159

22-
Enter the VChart repository and execute:
60+
Enter the VMind repository and execute:
2361

2462
```bash
2563
# Install dependencies
@@ -28,11 +66,10 @@ $ rush update
2866
$ rush docs
2967
```
3068

31-
Select VMind from the top navigation bar, enter your OpenAI Key, click generate chart, and you can experience VMind.
3269

3370
### Start the Development Page
3471

35-
Enter the VChart repository and execute:
72+
Enter the VMind repository and execute:
3673

3774
```bash
3875
# Install dependencies

packages/vmind/src/common/schema.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { LOCATION, SimpleFieldInfo, VizSchema } from '../typings';
22

33
/**
4-
* generate vizSchema from fieldInfo
5-
* @param fieldInfo SimpleFieldInfo
6-
* @returns
4+
* Generate a vizSchema from fieldInfo
5+
* @param fieldInfo SimpleFieldInfo[] - An array of field information, each element contains the field name, description, type, and role, etc.
6+
* @returns Partial<VizSchema> - Returns a partial VizSchema object, containing the transformed field information.
77
*/
88
export const getSchemaFromFieldInfo = (fieldInfo: SimpleFieldInfo[]): Partial<VizSchema> => {
99
const schema = {

readme-zh.md

+25
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,31 @@
66

77
</div>
88

9+
10+
<div align="center">
11+
12+
不仅自动,还很智能.开源智能可视化解决方案.
13+
14+
<p align="center">
15+
<a href="https://www.visactor.io/vmind">Introduction</a> •
16+
<a href="https://www.visactor.io/vmind/example">Demo</a> •
17+
<a href="https://www.visactor.io/vmind/guide/Intro_to_VMind">Tutorial</a> •
18+
<a href="https://www.visactor.io/vmind/api/VMind_Instance">API</a>•
19+
<a href="https://www.visactor.io/vmind/openapi">OpenApi</a>
20+
</p>
21+
22+
![](https://github.com/visactor/vmind/actions/workflows/bug-server.yml/badge.svg)
23+
![](https://github.com/visactor/vmind/actions/workflows/unit-test.yml/badge.svg)
24+
[![npm Version](https://img.shields.io/npm/v/@visactor/vmind.svg)](https://www.npmjs.com/package/@visactor/vmind)
25+
[![npm Download](https://img.shields.io/npm/dm/@visactor/vmind.svg)](https://www.npmjs.com/package/@visactor/vmind)
26+
[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/VisActor/VMind/blob/main/CONTRIBUTING.md#your-first-pull-request)
27+
28+
![](https://img.shields.io/badge/language-TypeScript-red.svg) [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/visactor/vmind/blob/main/LICENSE)
29+
30+
</div>
31+
32+
## 简介
33+
934
`@visactor/vmind` 是由 [VisActor](https://www.visactor.io/) 为您提供的基于大模型的图表智能组件,包括对话式的图表智能生成与编辑能力。它提供了一个自然语言交互接口,仅需一句话,您就能够轻松使用`@visactor/vmind` 创建图表叙事作品,并通过连续的对话进行编辑,极大地提高您创作数据可视化作品的效率。
1035

1136
`@visactor/vmind` 的主要特点包括:

0 commit comments

Comments
 (0)