Commit Graph

556 Commits

Author SHA1 Message Date
khakanali 8466e1a0b0 fix(proxy): restrict proxy to exact /api routes only (#3456) 2024-11-07 23:04:54 +00:00
Henry Heng 598f9a6fa0 Bugfix/Save default credential data when add new (#3435)
save default credential data when add new
2024-11-01 01:12:51 +00:00
Prajwal Pai 884dd8949a Add couchbase vectore store support (#3093)
* Add couchbase vectore store support

* Uncomment couchbase code

* lint fix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-10-26 02:36:38 +01:00
Henry Heng 95e0f01912 Release/2.1.3 (#3403)
update flowise@2.1.3
2024-10-23 13:29:25 +01:00
Henry Heng 53e504c32f Feature/Full File Uploads & Message Delete API (#3314)
* add functionality for full file uploads, add remove messages from view dialog and API

* add attachments swagger

* update question to include uploadedFilesContent

* make config dialog modal lg size
2024-10-23 11:00:46 +01:00
Henry Heng a0d93f910f Feature/add rendering html tags for share chatbot (#3343)
add rendering html tags for share chatbot
2024-10-21 11:37:13 +01:00
Prateek Jakhar 6c3541915b fix: added search for node labels (#3348) 2024-10-13 14:43:22 +01:00
Henry Heng a5d4b55bbd Bugfix/Follow up prompts status (#3341)
bugfixes of follow up prompts status, unauthroized error message and rate limit ui
2024-10-11 15:43:28 +01:00
Henry Heng f7ad125bbd Release/2.1.2 (#3324)
release@2.1.2
2024-10-09 16:50:50 +01:00
Henry Heng 10bfba78dd Bugfix/Rate limit updating (#3311)
fix rate limit updating
2024-10-05 13:33:53 +01:00
Ilango c9d8b8716b Feature: Follow-up Prompts (#3280)
* Add migrations - add follow up prompts column to chatflow and chat message

* Add configuration tab for follow-up prompts

* Add follow up prompts functionality

* Pin zod version in components - this was causing a type error with structured outputs

* Generate follow up prompts if enabled and return it in stream, response, and save to database

* Show follow up prompts after getting response

* Add google gen ai for generating follow up prompts and fix issues

* Add config for google gen ai and update model options

* Update follow-up prompts ui and styles

* Release/2.1.0 (#3204)

flowise@2.1.0 release

* Chore/update flowise embed version to 2.0.0 (#3205)

* update flowise-embed version on lock file

* add agent messages to share chatbot

* Update pnpm-lock.yaml

* update flowise-embed version

* update flowise-embed to 1.3.9

* update embed version to 2.0

* Bugfix/CodeInterpreter E2B Credential (#3206)

* 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

* uncomment e2b credential

---------

Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>

* Release/2.1.0 (#3207)

* flowise@2.1.0 release

* update flowise-components@2.1.1

* Bugfix/Add artifacts migration script to other database types (#3210)

add artifacts migration script to other database types

* Release/2.1.1 (#3213)

release @2.1.1

* Bugfix/Add header to allow sse on nginx (#3214)

add header to allow sse on nginx

* Bugfix/remove invalid markdown (#3219)

remove invalid markdown

* Correct "as" casing (#3216)

* Correct "as" casing

* Remove "version" line from docker compose file

* Update docker-compose.yml

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>

* chore: update unstructured API url and doc reference (#3224)

chore: udpate unstructured API url and doc reference

* Feature/add ability to specify dynamic metadata to jsonlines (#3238)

* add ability to specify dynamic metadata to jsonlines

* fix additional metadata

* Bugfix/Buffer Memory for Anthropic (#3242)

fix buffer memory

* Added env vars to ui and api URL  (#3141)

* feat: add environment vars to split application in different deployments for better scalability

* update: package.json

added start script ui

---------

Co-authored-by: patrick <patrick.alves@br.experian.com>

* Added 1-click deployment link for Alibaba Cloud.  (#3251)

* Added a link for Alibaba Cloud Deployment

* change service name

---------

Co-authored-by: yehan <gn398171@alibaba-inc.com>

* Chore/Groq Llama3.2 (#3255)

* add gemini flash

* add gemin flash to vertex

* add gemin-1.5-flash-preview to vertex

* add azure gpt 4o

* add claude 3.5 sonnet

* add mistral nemo

* add groq llama3.1

* add gpt4o-mini to azure

* o1 mini

* add groq llama 3.2

* Bugfix/Prevent streaming of chatflow tool and chain tool (#3257)

prevent streaming of chatflow tool and chain tool

* Bugfix/Enable Custom Tool Optional Input Schema (#3258)

* prevent streaming of chatflow tool and chain tool

* enable optional input schema

* Bugfix/Searxng tool not working (#3263)

fix searxng tool not working

* LunaryAI automatic Thread and User tracking (#3233)

* Lunary Thread/User tracking

* Clean console logs

* Clean

* Remove commented lines

* Remove commented line

* feat: enable autofocus to the `new chatflow title` to improve usability (#3260)

This dialog has only one input and it is the primary one, there is no need for an extra click to be able to set the title

* feat: save a new Chatflow when the `ENTER` key is pressed (#3261)

This simple event handler improve the usability of the UI by avoiding having to use the mouse or having to tab twice and then hit enter to save a flow

* feat: save Chatflow title when the `ENTER` key is pressed or discard upon `ESC` is pressed (#3265)

This simple event handler improves the usability of the UI by avoiding having to use the mouse to save or dicard title changes

* feat: enable autofocus to the `edit chatflow title` field to improve UI usability (#3264)

feat: enable autofocus to the `edit chatflow title` field to improve usability

The canvas header has only one input and it is the primary one, there is no need for an extra click to be able to edit the title

* feat: add search keyboard shortcut based on the current platform (#3267)

* feat: highlight valid/invalid connection between nodes (#3266)

Change the inputs background to green/red to hint compatible connections, in adition to the `not-allowed` mouse cursor for incompatible connections

* Bugfix/add fixes for search of view header (#3271)

add fixes for search of view header

* fix: warning when passing a boolean to border property of a Card (#3275)

By default MainCard wrappers like NodeCardWrapper and CardWrapper add a a solid border of 1px, but if the `MainCard.border` prop is used (`false`) the border prop was wrongly set to a boolean instead of string

* feat: add shortcut text hint to the search field (#3269)

* feat: add shortcut text hint to the search field

* fix: search box width to fit the shortcut hint text

* fix: error when not running on Mac due to an undefined `os` variable

* fix: warning when a non-boolean values was used to set `checked` prop of a SwitchInput component (#3276)

fix: warning when a non-boolean values was used to set`checked` prop of SwitchInput component

The problem was that in the useEffect hook the plain value was used without validation like in useState

* Bugfix/Throw error to prevent SSE from retrying (#3281)

throw error to prevent SSE from retrying

* Pin zod version in components - this was causing a type error with structured outputs

* Fix conflicts in pnpm lock

* fix ui changes for follow up prompts

* Fix button disable state in follow-up prompts configuration

* Fix follow-up prompts not showing up for agent flows

* Show follow up prompts if last message is apiMessage and follow up prompts are available

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
Co-authored-by: Vinod Paidimarry <vinodkiran@outlook.in>
Co-authored-by: Cross <github@dillfrescott.com>
Co-authored-by: cragwolfe <cragcw@gmail.com>
Co-authored-by: patrickreinan <patrickreinan@gmail.com>
Co-authored-by: patrick <patrick.alves@br.experian.com>
Co-authored-by: yehan <34835250+yehanyh@users.noreply.github.com>
Co-authored-by: yehan <gn398171@alibaba-inc.com>
Co-authored-by: Vincelwt <vincelwt@users.noreply.github.com>
Co-authored-by: Humberto Rodríguez A. <rhumbertgz@users.noreply.github.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2024-10-04 16:44:28 +01:00
Henry Heng 01ae2ac7c4 Bugfix/Throw error to prevent SSE from retrying (#3281)
throw error to prevent SSE from retrying
2024-09-28 03:11:03 +01:00
Humberto Rodríguez A. 99cb8c32cb fix: warning when a non-boolean values was used to set checked prop of a SwitchInput component (#3276)
fix: warning when a non-boolean values was used to set`checked` prop of SwitchInput component

The problem was that in the useEffect hook the plain value was used without validation like in useState
2024-09-27 13:50:05 +01:00
Humberto Rodríguez A. da0a15eee1 feat: add shortcut text hint to the search field (#3269)
* feat: add shortcut text hint to the search field

* fix: search box width to fit the shortcut hint text

* fix: error when not running on Mac due to an undefined `os` variable
2024-09-27 13:48:33 +01:00
Humberto Rodríguez A. d3c5abf8be fix: warning when passing a boolean to border property of a Card (#3275)
By default MainCard wrappers like NodeCardWrapper and CardWrapper add a a solid border of 1px, but if the `MainCard.border` prop is used (`false`) the border prop was wrongly set to a boolean instead of string
2024-09-27 11:07:39 +01:00
Henry Heng a02846077e Bugfix/add fixes for search of view header (#3271)
add fixes for search of view header
2024-09-26 19:05:46 +01:00
Humberto Rodríguez A. d2d3f3d0cf feat: highlight valid/invalid connection between nodes (#3266)
Change the inputs background to green/red to hint compatible connections, in adition to the `not-allowed` mouse cursor for incompatible connections
2024-09-26 15:47:43 +01:00
Humberto Rodríguez A. 4381656a6e feat: add search keyboard shortcut based on the current platform (#3267) 2024-09-26 15:26:54 +01:00
Humberto Rodríguez A. aeb5525bb0 feat: enable autofocus to the edit chatflow title field to improve UI usability (#3264)
feat: enable autofocus to the `edit chatflow title` field to improve usability

The canvas header has only one input and it is the primary one, there is no need for an extra click to be able to edit the title
2024-09-26 15:26:13 +01:00
Humberto Rodríguez A. b8b34832b4 feat: save Chatflow title when the ENTER key is pressed or discard upon ESC is pressed (#3265)
This simple event handler improves the usability of the UI by avoiding having to use the mouse to save or dicard title changes
2024-09-26 15:25:47 +01:00
Humberto Rodríguez A. eafa06015a feat: save a new Chatflow when the ENTER key is pressed (#3261)
This simple event handler improve the usability of the UI by avoiding having to use the mouse or having to tab twice and then hit enter to save a flow
2024-09-26 15:25:21 +01:00
Humberto Rodríguez A. 9f6fcb9cf6 feat: enable autofocus to the new chatflow title to improve usability (#3260)
This dialog has only one input and it is the primary one, there is no need for an extra click to be able to set the title
2024-09-26 15:08:35 +01:00
Vincelwt 18f916a7e1 LunaryAI automatic Thread and User tracking (#3233)
* Lunary Thread/User tracking

* Clean console logs

* Clean

* Remove commented lines

* Remove commented line
2024-09-26 12:01:33 +01:00
patrickreinan 383a7132a4 Added env vars to ui and api URL (#3141)
* feat: add environment vars to split application in different deployments for better scalability

* update: package.json

added start script ui

---------

Co-authored-by: patrick <patrick.alves@br.experian.com>
2024-09-24 15:28:25 +01:00
Henry Heng 793319c9ae Release/2.1.1 (#3213)
release @2.1.1
2024-09-18 10:16:28 +01:00
Henry Heng 7840a37f2f Release/2.1.0 (#3204)
flowise@2.1.0 release
2024-09-17 11:15:12 +01:00
Henry Heng b02f279e9d Feature/Code Interpreter (#3183)
* 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>
2024-09-17 08:44:56 +01:00
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
Vinod Kiran b02bdc74ad Feature: Custom Templates (#3169)
* 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>
2024-09-16 14:44:39 +01:00
Ong Chung Yau 56f9208d7c Feature/export import stage 2 (#3063)
* 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>
2024-09-10 18:15:45 +01:00
Henry Heng 474793486b Bugfix/Prevent sending non image file (#3173)
* bugfix to prevent sending non image file

* fix typo
2024-09-09 21:02:47 +01:00
Aman Soni 0e30db172a Embed Chat Configuration Updated (#3151) 2024-09-05 17:43:46 +01:00
Henry Heng f4647044bd Feature/Hide or Show agent messages for share chatbot (#3140)
ability to hide/show agent messages for share chatbot
2024-09-03 22:53:43 +01:00
Henry Heng 2a21f18bf8 Bugfix/Allow empty uploads of images (#3135)
allow empty uploads of images
2024-09-03 17:29:25 +01:00
Henry Heng 7103912203 Release/2.0.7 (#3107)
flowise@2.0.7 patch bugfix release
2024-08-28 19:56:14 +01:00
Henry Heng 61e721fee7 Bugfix/prevent upsert when images are uploaded (#3102)
prevent upsert when images are uploaded
2024-08-28 19:06:04 +01:00
Henry Heng 58d995a4f3 Release/2.0.6 (#3097)
flowise@2.0.6 release
2024-08-27 16:56:24 +01:00
Henry Heng 66acd0c000 Feature/add ability to upload file from chat (#3059)
add ability to upload file from chat
2024-08-25 13:22:48 +01:00
Octavian FlowiseAI e8f5f07735 Feature: interactive swagger-ui auto-generated API docs from express (#1812)
* Add interactive swagger-ui auto-generated API docs from express

* Update README.md

* Update index.ts //@ts-ignore

* Fix eslint no-console error

* Add swagger paths

* Add all end  points

* Update swagger.yml

* update swagger yml file

* update swagger config

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-08-25 13:22:07 +01:00
Henry Heng f57dc2477f Release/2.0.5 (#3001)
🥳 flowise patch bugfix @2.0.5
2024-08-12 14:51:17 +01:00
Henry Heng 3f1a10250f Bugfix/Loader delete error (#3002)
fix loader delete error
2024-08-12 14:42:15 +01:00
Henry Heng 376e644cec Feature/Add ability to get vars from text input (#2986)
add ability to get vars from text input
2024-08-09 17:31:21 +01:00
Henry Heng 0c161956ad Release/2.0.4 (#2971)
🥳 flowise patch bugfix @2.0.4
2024-08-08 00:32:57 +01:00
Henry Heng f4dfe1803d Release/2.0.3 (#2966)
🥳 flowise@2.0.3
2024-08-07 19:20:44 +01:00
Vinod Kiran c0bae635b0 Document Store - Phase 2 (#2912)
* 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>
2024-08-07 18:59:52 +01:00
Kyle Nakamura 44adebe953 Chore/Vertically center text labels in MuiDrawer side menu (#2954)
* 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.
2024-08-07 11:47:30 +01:00
Henry Heng 70d7420d02 Feature/Seq Agent Nodes Update (#2942)
update all seg agent nodes to 2.0 for UI UX improvements
2024-08-06 11:30:08 +01:00
Henry Heng 7153093bfc Release/2.0.2 (#2934)
🥳 flowise@2.0.2 release
2024-08-05 13:18:39 +01:00
Henry Heng 27cb143fef Feature/Community Node (#2902)
add feature to enable community node
2024-07-29 16:52:47 +01:00
Shreyans Pathak 1338501658 fix: Autofocus on the add node search input field (#2887)
fix: autofocus on the search input field
2024-07-27 01:12:53 +01:00