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
Can someone help me with this SO question? I'm using the AsyncIteratorCallbackHandler to get a streaming response. This is working great using chain.arun and yielding one token at a time from the callback handler. However, when I follow it up with a database write the streaming fails the second time I call the FastAPI request. For more details, check this link: https://stackoverflow.com/questions/76630087/streaming-response-using-langchain-and-fastapi-followed-database-write
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
Uh oh!
There was an error while loading. Please reload this page.
-
Can someone help me with this SO question? I'm using the AsyncIteratorCallbackHandler to get a streaming response. This is working great using chain.arun and yielding one token at a time from the callback handler. However, when I follow it up with a database write the streaming fails the second time I call the FastAPI request. For more details, check this link:
https://stackoverflow.com/questions/76630087/streaming-response-using-langchain-and-fastapi-followed-database-write
Beta Was this translation helpful? Give feedback.
All reactions