Isolate the speech of two people in an audio record with two people only
The task of isolating 2 or more speakers is called speaker diarization,
here a list of softwares and useful resources.

Once you have the 2 or more audio files containing the individual voices, you could run some speech-to-text network that also outputs time information.