Skip to content
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

enhancement: update streaming code to follow EventSource protocol #1405

Open
5 tasks done
ajndkr opened this issue Nov 30, 2023 · 1 comment
Open
5 tasks done

enhancement: update streaming code to follow EventSource protocol #1405

ajndkr opened this issue Nov 30, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ajndkr
Copy link

ajndkr commented Nov 30, 2023

⚠️ Please check that this feature request hasn't been suggested before.

  • I searched previous Ideas in Discussions didn't find any similar feature requests.
  • I searched previous Issues didn't find any similar feature requests.

🔖 Feature description

The project uses lanarky for langchain streaming. After v0.8,

  • EventSource protocol is enforced for server-sent events
  • StreamingResponse for langchain objects has been refactored

Related documentation: https://lanarky.ajndkr.com/learn/adapters/langchain/fastapi/#streaming

✔️ Solution

As the author of lanarky, I would love to assist here. I can handle the python side but someone else needs to take over the client side changes.

❓ Alternatives

No response

📝 Additional Context

No response

Acknowledgements

  • My issue title is concise, descriptive, and in title casing.
  • I have searched the existing issues to make sure this feature has not been requested yet.
  • I have provided enough information for the maintainers to understand and evaluate this request.
@ajndkr ajndkr added the enhancement New feature or request label Nov 30, 2023
@ajndkr
Copy link
Author

ajndkr commented Nov 30, 2023

cc @awtkns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant