Using Flow Graph for Setting AI Communications