@visactor/vmind
Version:
<div align="center"> <a href="https://github.com/VisActor#gh-light-mode-only" target="_blank"> <img alt="VisActor Logo" width="200" src="https://github.com/VisActor/.github/blob/main/profile/logo_500_200_light.svg"/> </a> <a href="https://githu
27 lines (23 loc) • 908 B
JavaScript
import { Schedule } from "../../schedule";
import { AtomName } from "../../types";
export const getText2DataSchedule = (llm, options) => new Schedule([ AtomName.DATA_EXTRACT, AtomName.DATA_CLEAN ], {
base: {
llm: llm,
showThoughts: null == options ? void 0 : options.showThoughts
}
});
export const getText2MultipleDataSchedule = (llm, options) => new Schedule([ AtomName.DATA_EXTRACT, AtomName.MULTIPLE_DATA_CLEAN ], {
base: {
llm: llm,
showThoughts: null == options ? void 0 : options.showThoughts
}
});
export const getText2ChartSchedule = (llm, options) => new Schedule([ AtomName.DATA_EXTRACT, AtomName.DATA_CLEAN, AtomName.DATA_QUERY, AtomName.CHART_COMMAND, AtomName.CHART_GENERATE ], {
base: {
llm: llm,
showThoughts: null == options ? void 0 : options.showThoughts
},
chartGenerate: {
useChartRule: !0
}
});