bramses / chatgpt-md

A (nearly) seamless integration of ChatGPT into Obsidian.
MIT License
824 stars 61 forks source link

Real Streaming #19

Closed lukemt closed 1 year ago

lukemt commented 1 year ago

Hi!

I was wandering if the streaming functionality isn't actually real streaming but rather an animation, because the completions take quite a while to start.

If this is the case then maybe we can implement real streaming of the responses?

I found a working example with typescript here: https://github.com/whichlight/chatgpt-api-streaming

lukemt commented 1 year ago

I'd be happy to help btw :)

bramses commented 1 year ago

Hi @lukemt, good idea, I'm not sure if it will work in Obsidian but I'll look into it. Thanks for the resource!

lukemt commented 1 year ago

Yeah let's hope this works. I found the example after failing to get davinci and gpt-4 to code the thing. Somehow Bing did find this zero star repo

bramses commented 1 year ago

Fixed by https://github.com/bramses/chatgpt-md/releases/tag/1.2.0 ! Check it out!