Commit Graph

10 Commits

Author SHA1 Message Date
Vinod Kiran 26444ac3ae Feature/sse (#3125)
* Base changes for ServerSide Events (instead of socket.io)

* lint fixes

* adding of interface and separate methods for streaming events

* lint

* first draft, handles both internal and external prediction end points.

* lint fixes

* additional internal end point for streaming and associated changes

* return streamresponse as true to build agent flow

* 1) JSON formatting for internal events
2) other fixes

* 1) convert internal event to metadata to maintain consistency with external response

* fix action and metadata streaming

* fix for error when agent flow is aborted

* prevent subflows from streaming and other code cleanup

* prevent streaming from enclosed tools

* add fix for preventing chaintool streaming

* update lock file

* add open when hidden to sse

* Streaming errors

* Streaming errors

* add fix for showing error message

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-09-17 08:01:25 +01:00
Henry 0606d2c6dd upgrade langchain version 0.1.0 2024-01-26 23:41:55 +00:00
Henry 4f940b0d91 chck for empty string 2023-12-28 02:02:49 +00:00
Henry c9a6622df7 added LLM to moderation to detect similar deny sentences 2023-12-28 01:07:45 +00:00
abhishekshankr 4ce79acdf6 Update OpenAI Icons 2023-12-19 17:52:50 -05:00
abhishekshankr 739b8f08be Updated moderation icons 2023-12-18 03:33:53 -05:00
vinodkiran 887b003cdd Bugfix: Simple Moderation, making the checks case-insensitive 2023-11-28 20:53:33 +05:30
Henry 3536c2afec fix memory nodes 2023-11-27 15:34:28 +00:00
Henry 12c688aae0 update langchain version 2023-11-24 14:29:50 +00:00
vinodkiran b3f44e0495 ResponsibleAI - Input Moderation - Renaming of files for better clarity and alignment to functionality 2023-11-23 10:48:00 +05:30