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

13 lines (12 loc) 538 B
import { AtomName } from '../../types/atom'; import type { CustomPromptOptions } from '../../types'; import { BaseAtom } from '../base'; import type { LLMMessage } from '../../types/llm'; export declare class CustomPrompt extends BaseAtom<any, CustomPromptOptions> { name: AtomName; isLLMAtom: boolean; constructor(context: any, option: CustomPromptOptions); getLLMMessages(query?: string): LLMMessage[]; parseLLMContent(resJson: any, toolJson?: any): any; } export declare const registerCustomPromptAtom: () => void;