Thermodynamically consistent machine-learned internal state variable approach for data-driven modeling of path-dependent materials | Synapse