You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm building a chatbot to chat with my SQL database. I implemented streaming via astream_events because my responses were taking too long. However, I noticed that while the first response is very fast and comes within 5 seconds, any response after that takes a long time (around a minute or so). Has anyone faced an issue like this?
Here is my code for reference:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm building a chatbot to chat with my SQL database. I implemented streaming via astream_events because my responses were taking too long. However, I noticed that while the first response is very fast and comes within 5 seconds, any response after that takes a long time (around a minute or so). Has anyone faced an issue like this?
Here is my code for reference:
I am keeping the system prompt and the table names private. Any help would be appreciated
Beta Was this translation helpful? Give feedback.
All reactions