-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Support streaming openai outside Node (ie. without axios) #247
Comments
Could you provide a bit more context of what's the desired outcome? |
The official openai library (which we use) uses |
Is it possible now to make streaming OpenAI requests, for example, on Cloudflare Workers? If so, how? |
To set up Cloudflare Workers see #212 (comment) |
It's not working. I have followed those instructions and (after fixing several |
Which version of langchain are you using? |
From your
I get:
|
Update to the latest version with |
Is there an example of how to send the response of the Edit: I got it working here, in case someone is interested: https://gist.github.com/alberduris/32e4ad5827cb01c28022ded982bfd8bc |
Use this in axios adapter https://github.com/Azure/fetch-event-source
The text was updated successfully, but these errors were encountered: