* 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
* add code interpreter
* add artifacts to view message dialog
* Update pnpm-lock.yaml
---------
Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>
* 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>
* New Feature: Custom Templates in the marketplace.
* New Feature: Custom Templates in the marketplace.
* Custom Template Delete and Shortcut in the dropdown menu
* auto detect framework
* minor ui fixes
* adding custom template feature for tools
* ui tool dialog save template
---------
Co-authored-by: Henry <hzj94@hotmail.com>
* add export all function
* modify exportAll to reuse existing code from other services
* modify routes of export-import
* add exportAll function into UI
* add errorhandler
* add importAll Function into UI for ChatFlow
* modify importAll Function to import tools
* remove appServer variable
* modify exportAll to exportData for new requirement in backend
* chore modify type camelCase to PascalCase in exportImportService
* add import export for variables, assistants, and checkboxes for UI
---------
Co-authored-by: Henry <hzj94@hotmail.com>
* Document Store - Phase 2
* Adding additional columns for vector store config, document store phase 2
* Adding additional columns for vector store config, document store phase 2
* Document Store - Phase 2 - Upsert and Query
* ux cleanup
* retrieval settings and more ux changes
* adding MMR params to execution
* Making the upsert process async.
* add upsert history changes
* making the searchParams dynamic
* removing unnecessary params
* add ability to delete data from vector store
* update margin for vector store query
* adding option to save config in the retrieval playground
* adding chunk number for query return chunks
* Adding a Document Store node in the VectorStore category
* update doc store status, ui touchup
---------
Co-authored-by: Henry <hzj94@hotmail.com>
* Chore/Vertically center side menu button labels
- Some labels, such as 'Agentflows', were not vertically centered in
their containers in the side menu (MuiDrawer component).
- Fixed the alignment by styling text containers (`<ListItemText>`) with
automatic vertical margins.
- Maintained existing vertical margins by adding a 4px vertical margin
to the primary text element (`<Typography>`).
- Note: future work is needed to fix vertical alignment of the BETA
chip, plus the margin between primary text elements and the secondary
captions should probably be reduced by half.
* Chore/Vertically center side menu BETA chips
- The 'BETA' chips in the side menu were not vertically centered in
their containers in the side menu (MuiDrawer component).
- These chips previously appeared to be vertically centered only by
coincidence and only when their corresponding text label had no caption.
* Chore/Adjust top margin of captions in side menu
- Added `mt: -0.6` to the secondary (caption) label to replicate the
original gap between the primary and secondary labels.
- This adjustment was needed only after the vertical alignment of the
primary text labels were fixed in a prior commit.
* Feature: Option to add apikeys to the DB instead of api.json.
* add api storage type env variable
* code cleanup and simplification.
* md table fixes
---------
Co-authored-by: Henry <hzj94@hotmail.com>
* Update get chat messages and stats filter to work with feedback type filter
* Add feedback type filter to view messages dialog
* Fix issues with feedback type filter
* add openai new model (gpt-4o) in the assistant
* add openai new model (gpt-4o) in the models.json
* add openai new model: gpt-40 mini
* fix the new model name
* Add OpenAI new model gpt-4o-mini
* use existing route to get all chatflows
* add export all chatflows functionality
* add read exported all chatflows json file functionality
* add save chatflows functionality in server
* chore rename saveChatflows to importChatflows and others
* chore rewrite snackbar message
* fix import chatflows when no data in chatflows db
* add handle when import file array length is 0
* chore update and add meaning comment in importChatflows
* update method of storing flowdata for importChatflows function
* Refresh/redirect to chatflows when import is successful
* fix lint
---------
Co-authored-by: Ilango <rajagopalilango@gmail.com>