@botonic/plugin-flow-builder
Version:
Use Flow Builder to show your contents
22 lines (21 loc) • 716 B
TypeScript
/// <reference types="react" />
import { ActionRequest } from '@botonic/react';
import { ContentFieldsBase } from './content-fields-base';
import { HtKnowledgeBaseNode } from './hubtype-fields';
export declare const DISABLED_MEMORY_LENGTH = 1;
export declare class FlowKnowledgeBase extends ContentFieldsBase {
code: string;
feedbackEnabled: boolean;
sources: string[];
text: string;
inferenceId?: string;
sourcesData: {
id: string;
name: string;
}[];
instructions: string;
hasMemory: boolean;
memoryLength: number;
static fromHubtypeCMS(component: HtKnowledgeBaseNode): FlowKnowledgeBase;
toBotonic(id: string, request: ActionRequest): JSX.Element;
}