Skip to content

Commit

Permalink
fix: confusing chart description (langgenius#4760)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly authored May 29, 2024
1 parent e01b44a commit ba37275
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 18 deletions.
12 changes: 6 additions & 6 deletions api/core/tools/provider/builtin/chart/tools/bar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ parameters:
zh_Hans: 数据
pt_BR: dados
human_description:
en_US: data for generating bar chart
zh_Hans: 用于生成柱状图的数据
pt_BR: dados para gerar gráfico de barras
en_US: data for generating chart, each number should be separated by ";"
zh_Hans: 用于生成柱状图的数据,每个数字之间用 ";" 分隔
pt_BR: dados para gerar gráfico de barras, cada número deve ser separado por ";"
llm_description: data for generating bar chart, data should be a string contains a list of numbers like "1;2;3;4;5"
form: llm
- name: x_axis
Expand All @@ -34,8 +34,8 @@ parameters:
zh_Hans: x 轴
pt_BR: Eixo X
human_description:
en_US: X axis for bar chart
zh_Hans: 柱状图的 x 轴
pt_BR: Eixo X para gráfico de barras
en_US: X axis for chart, each text should be separated by ";"
zh_Hans: 柱状图的 x 轴,每个文本之间用 ";" 分隔
pt_BR: Eixo X para gráfico de barras, cada texto deve ser separado por ";"
llm_description: x axis for bar chart, x axis should be a string contains a list of texts like "a;b;c;1;2" in order to match the data
form: llm
12 changes: 6 additions & 6 deletions api/core/tools/provider/builtin/chart/tools/line.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ parameters:
zh_Hans: 数据
pt_BR: dados
human_description:
en_US: data for generating linear chart
zh_Hans: 用于生成线性图表的数据
pt_BR: dados para gerar gráfico linear
en_US: data for generating chart, each number should be separated by ";"
zh_Hans: 用于生成线性图表的数据,每个数字之间用 ";" 分隔
pt_BR: dados para gerar gráfico linear, cada número deve ser separado por ";"
llm_description: data for generating linear chart, data should be a string contains a list of numbers like "1;2;3;4;5"
form: llm
- name: x_axis
Expand All @@ -34,8 +34,8 @@ parameters:
zh_Hans: x 轴
pt_BR: Eixo X
human_description:
en_US: X axis for linear chart
zh_Hans: 线性图表的 x 轴
pt_BR: Eixo X para gráfico linear
en_US: X axis for chart, each text should be separated by ";"
zh_Hans: 线性图表的 x 轴,每个文本之间用 ";" 分隔
pt_BR: Eixo X para gráfico linear, cada texto deve ser separado por ";"
llm_description: x axis for linear chart, x axis should be a string contains a list of texts like "a;b;c;1;2" in order to match the data
form: llm
12 changes: 6 additions & 6 deletions api/core/tools/provider/builtin/chart/tools/pie.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ parameters:
zh_Hans: 数据
pt_BR: dados
human_description:
en_US: data for generating pie chart
zh_Hans: 用于生成饼图的数据
pt_BR: dados para gerar gráfico de pizza
en_US: data for generating chart, each number should be separated by ";"
zh_Hans: 用于生成饼图的数据,每个数字之间用 ";" 分隔
pt_BR: dados para gerar gráfico de pizza, cada número deve ser separado por ";"
llm_description: data for generating pie chart, data should be a string contains a list of numbers like "1;2;3;4;5"
form: llm
- name: categories
Expand All @@ -34,8 +34,8 @@ parameters:
zh_Hans: 分类
pt_BR: Categorias
human_description:
en_US: Categories for pie chart
zh_Hans: 饼图的分类
pt_BR: Categorias para gráfico de pizza
en_US: Categories for chart, each category should be separated by ";"
zh_Hans: 饼图的分类,每个分类之间用 ";" 分隔
pt_BR: Categorias para gráfico de pizza, cada categoria deve ser separada por ";"
llm_description: categories for pie chart, categories should be a string contains a list of texts like "a;b;c;1;2" in order to match the data, each category should be split by ";"
form: llm

0 comments on commit ba37275

Please sign in to comment.