eliza-core
Version:
A rendition of ELIZA program engine by Weizenbaum sharable for all javascript environments
12 lines (11 loc) • 557 B
TypeScript
import { ReassembleContext } from './interfaces';
export declare function cartesian(a: any[], b: any[]): any[];
export declare function notEmpty<T>(value: T | null | undefined): value is T;
export declare function getAssembledReply(ctx: ReassembleContext | null): string | null;
export declare function getAssembledReply(ctx: ReassembleContext | null, defaultMsg: string): string;
export declare function getAssembledContext(ctx?: ReassembleContext | null): {
reassembled: string;
annotations: {
[annotate: string]: string;
};
} | null;