chatpickle
Version:
Conversation Tests for Chatbots
14 lines (13 loc) • 400 B
TypeScript
import { BotClient } from './BotClient';
export default class LexClient extends BotClient {
private botName;
private botAlias;
private userId;
private lastResponse;
private sessionAttributes;
private props;
private lex;
constructor(botContext: any, userContext: any);
speak(inputText: string): Promise<string>;
fetch(attributePath: string): Promise<string>;
}