@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
18 lines (17 loc) • 848 B
TypeScript
import type { DataInsightCtx } from '../../types/atom';
import { AtomName } from '../../types/atom';
import { BaseAtom } from '../base';
import type { LLMMessage } from '../../types/llm';
import type { DataInsightOptions } from './type';
export declare class DataInsightAtom extends BaseAtom<DataInsightCtx, DataInsightOptions> {
name: AtomName;
isLLMAtom: boolean;
constructor(context: DataInsightCtx, option: DataInsightOptions);
buildDefaultContext(context: DataInsightCtx): DataInsightCtx;
buildDefaultOptions(): DataInsightOptions;
shouldRunByContextUpdate(context: DataInsightCtx): boolean;
protected getLLMMessages(query?: string): LLMMessage[];
protected parseLLMContent(resJson: any): DataInsightCtx;
protected runBeforeLLM(): DataInsightCtx;
}
export declare const registerDataInsightAtom: () => void;