Practical applications and implementation of artificial intelligence in legal practice and case management