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

15 lines (14 loc) 741 B
import type { ChartCommandCtx, LLMMessage, ChartCommandOptions, BaseOptions } from '../../types'; import { AtomName } from '../../types'; import { BaseAtom } from '../base'; export declare class ChartCommandAtom extends BaseAtom<ChartCommandCtx, ChartCommandOptions> { name: AtomName; isLLMAtom: boolean; constructor(context: ChartCommandCtx, option: BaseOptions); buildDefaultOptions(): ChartCommandOptions; buildDefaultContext(context: ChartCommandCtx): ChartCommandCtx; shouldRunByContextUpdate(context: ChartCommandCtx): boolean; protected getLLMMessages(query?: string): LLMMessage[]; protected parseLLMContent(resJson: any): ChartCommandCtx; } export declare const registerChartCommandAtom: () => void;