AI based diagnostics for Software Defined Vehicles