clwoz-models
Version:
Models for ConversationLearner
19 lines (18 loc) • 484 B
TypeScript
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License.
*/
export interface LGItem {
lgName: string;
actionId?: string;
text: string;
suggestions: string[];
hash?: string;
}
/**
* Parses OBI .dialog files from custom format into structured data.
*/
export declare class ObiUtils {
static addToLGMap(text: string, lgMap: LGItem[]): void;
}
export declare function hashText(text: string): string;