0xacx / chatGPT-shell-cli

Simple shell script to use OpenAI's ChatGPT and DALL-E from the terminal. No Python or JS required.
https://gptshell.cc
MIT License
1.05k stars 151 forks source link

Streaming response feature request. Any Update? #99

Open 191338780 opened 1 year ago

191338780 commented 1 year ago

Can the output result increase the effect of character-by-character output, similar to the effect of the web version?

janiosarmento commented 1 year ago

Why would someone want that? (Honest question)

0xacx commented 1 year ago

@191338780 The API can return a streaming response, so I think it's certainly possible to get the response and manipulate the characters in some way to achieve that streaming effect, but I don't have a clear solution planned in my head for this right now.

@janiosarmento the value it adds (to me), is that you don't have to wait for the complete response to finish. You can already start reading the response. In practice, imho reading streaming text can feel a bit disorientating sometimes.

To conclude I think it would be a nice UX addition but since there are other features that could add more functionality, it is pretty low in priority to me.