How to improve streaming to handle json data to render custom ui components #6999
Unanswered
bharathbk0987
asked this question in
Help
Replies: 1 comment 1 reply
-
Looking for some help on this |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an usecase where I need to show list of product to user in cards/html table. Im using tools to get data from my database. As soon as data received my agent is processing based on user queries and responding back.
Since I need to render custom ui table I need an response data from agent is json format with predefined keys.
If I have more than 20 rows in json it's taking more than approx 80 seconds to render it.
Can you suggest the best way to handle this scenario with integrate of custom ui and stream text
Fyi: I'm using openai
Thanks in advance for your suggestions
Beta Was this translation helpful? Give feedback.
All reactions