Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add streaming responses to web UI #47

Open
ErikBjare opened this issue Nov 22, 2023 · 2 comments
Open

Add streaming responses to web UI #47

ErikBjare opened this issue Nov 22, 2023 · 2 comments
Labels
enhancement New feature or request webui

Comments

@ErikBjare
Copy link
Owner

This might require significant rewrite of how tokens are output, turning the request into a generator that emits tokens instead of a full message. The tokens can then be collected until an end of message token, returned over the API, while being consummated into a message at the end.

@ErikBjare ErikBjare added the enhancement New feature or request label Nov 22, 2023
@nslieske
Copy link

In my opinion, the web interface should be a lower priority. The tool works very well on the command line, so to divert your efforts towards a web UI is not efficient. If someone else wants to step up, then it makes sense. What's the motivation for the web interface at all?

@ErikBjare
Copy link
Owner Author

It is a lower priority :)

It's not that much of a distraction, the changes required would improve the code overall anyway.

The web UI is nice for browsing past conversations, and in theory it'd be nice if it could act like a Jupyter-notebook style thing with inline plots and such. But you're right, I'm not going to divert significant efforts towards it right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request webui
Projects
None yet
Development

No branches or pull requests

2 participants