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

21 lines (20 loc) 602 B
import type { GenerateChartCellContext } from '../type'; import { ChartType as VMindChartType } from '../../../types'; import type { Cell, DataTable } from '../../../types'; export declare const getCellContextByAdvisor: (context: GenerateChartCellContext) => { chartType: VMindChartType; cell: Cell; dataset: DataTable; chartSource: string; usage: { prompt_tokens: number; completion_tokens: number; total_tokens: number; }; advisedList: { chartType: string; cell: Cell; dataset: DataTable; score: number; }[]; };