A generator for creating messages from a conversation tree
import Generator from '@ef-carbon/chat-bot-generator-conversation';
import Provider, { start } from '@ef-carbon/converation-provider-demo';
import { Cache } from '@ef-carbon/conversation';
import { enGB } from '@ef-carbon/locale';
const provider = new Provider();
const cache = new Cache({ provider });
const generator = new Generator<string>({ cache, id: start, locale: enGB });
// Use the generator with any project that understands the chat-bot iterator policy