@difizen/ai-flow
Version:
Scalable, out-of-the-box, agent-oriented flow
16 lines (15 loc) • 567 B
TypeScript
import type { BasicSchema } from "../interfaces/flow";
export interface Knowledge {
name: string;
id: string;
description?: string;
}
export type KnowledgeSelectorNode = ((props: {
nodeId: string;
knowledgeParam: BasicSchema[];
}) => JSX.Element) | null;
export interface KnowledgeStoreType {
KnowledgeSelector: KnowledgeSelectorNode | null;
setKnowledgeSelector: (KnowledgeSelector: KnowledgeSelectorNode) => void;
}
export declare const useKnowledgeStore: import("zustand").UseBoundStore<import("zustand").StoreApi<KnowledgeStoreType>>;