mirror of
https://github.com/open-webui/pipelines.git
synced 2026-07-21 01:55:22 -04:00
Pipeline with llamaindex streaming reponse does not work #133
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Zeeeeta on GitHub (Sep 25, 2024).
I am using llamaindex with Open WebUI pipeline, following the example on https://github.com/open-webui/pipelines/blob/main/examples/pipelines/rag/llamaindex_pipeline.py
However, if I try to use streaming reponse like the example, returning with "return response.response_gen"
Open WebUI is unable to display any result and leaving the chat as below
There is no error.
Tried to run llamaindex streaming response locally with "response.print_response_stream()" does print the result word by word.
Any help would be appreciated, thank you.
Edit: My bad, my logging of debug messages caused that.