src/InteractionBuilder.ts
Function buildInteraction
has 58 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const buildInteraction = async (interactionOptions: IInteractionOptions, authKeys: any) => {
const definedInteractionOptions = defaultOptions(interactionOptions);
console.time("all");
console.time("timeframe");
Function defaultOptions
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function defaultOptions(interactionOptions: IInteractionOptions): IDefinedInteractionOptions {
const rootPath: string = interactionOptions.rootPath || "";
const speechPath: string =
interactionOptions.speechPath || DEFAULT_INTERACTION_OPTIONS.speechPath;
const synonymPath: string =