Legal profession has "obligation to our new generation of lawyers" in optimising AI in the industry