Press ESC to close

how to read stream using openai completion api in swift