UNPKG

@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

35 lines (28 loc) 1.35 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: !0 }), exports.getText2ChartSchedule = exports.getText2MultipleDataSchedule = exports.getText2DataSchedule = void 0; const schedule_1 = require("../../schedule"), types_1 = require("../../types"), getText2DataSchedule = (llm, options) => new schedule_1.Schedule([ types_1.AtomName.DATA_EXTRACT, types_1.AtomName.DATA_CLEAN ], { base: { llm: llm, showThoughts: null == options ? void 0 : options.showThoughts } }); exports.getText2DataSchedule = getText2DataSchedule; const getText2MultipleDataSchedule = (llm, options) => new schedule_1.Schedule([ types_1.AtomName.DATA_EXTRACT, types_1.AtomName.MULTIPLE_DATA_CLEAN ], { base: { llm: llm, showThoughts: null == options ? void 0 : options.showThoughts } }); exports.getText2MultipleDataSchedule = getText2MultipleDataSchedule; const getText2ChartSchedule = (llm, options) => new schedule_1.Schedule([ types_1.AtomName.DATA_EXTRACT, types_1.AtomName.DATA_CLEAN, types_1.AtomName.DATA_QUERY, types_1.AtomName.CHART_COMMAND, types_1.AtomName.CHART_GENERATE ], { base: { llm: llm, showThoughts: null == options ? void 0 : options.showThoughts }, chartGenerate: { useChartRule: !0 } }); exports.getText2ChartSchedule = getText2ChartSchedule;