Commit Graph

811 Commits

Author SHA1 Message Date
Henry Heng eaec34f0bc Bugfix/Allow analytics override config (#3520)
allow analytics override config
2024-11-15 16:05:57 +00:00
Henry Heng d0571291b7 Release/2.1.4 (#3506)
release 2.1.4
2024-11-13 18:39:14 +00:00
Ilango 537aa51ef8 Enable/disable variables in override configuration (#3467)
* Add ability to enable/disable which variables can be overriden during external predictions

* Remove duplicated code

* Remove rate limit and allowed domains tab from chatflow configuration

* Show tooltip in api code dialog for override config properties

* Fix server crash when override config is not available

* update UI for chatflow config security, file upload

* Fix UI issues in security tab of chatflow configuration dialog

* Fix override config options not updating when nodes change

* Fix crash in api code dialog when overrideConfig is not available for a chatflow/agentflow. Also fix input config in api code dialog not updating when nodes change.

* Refactor override config and add override config for variables

* Update api code dialog - update how override config is read and show variable overrides

* Update how node and variable overrides are read and resolved

* Prevent api code dialog mounting on page load and only mount when api code dialog button is clicked. this should fix loading incorrect data.

* Fix variables list not showing when overrideConfig is not available

* add overrideconfig to agentflow and upsert vector

* temporarily removed enable overrideconfig on upsert, fix linting issues

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-11-13 18:21:59 +00:00
Henry Heng 3b72017a10 Chore/bump dep (#3488)
bump dep
2024-11-12 10:52:47 +00:00
Henry Heng 51e5591bbb Feature/Add multi modal to chat ollama (#3499)
* add multi modal to chat ollama

* update JSON mode description
2024-11-10 20:45:46 +00:00
Henry Heng 1e2dc03527 Bugfix/Address file name with special chars (#3496)
address file name with special chars
2024-11-09 15:21:09 +00:00
Henry Heng d64cb7028b Bugfix/metrics provider undefined error (#3489)
fix metrics provider undefined error
2024-11-08 16:22:22 +00:00
Vinod Kiran fe03683f0c FEATURE:: Support for metrics collection - Prometheus and Open Telemetry (#3420)
* adding support for prometheus and grafana

* open telemetry

* lint fixes

* missing counter and telemetry standardization

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-11-08 00:00:43 +00:00
Lucas Mohallem Ferraz cfe2061322 Update package.json (#3468)
* Update package.json

Fix #3335 and #3067

openai helpers was introduced in 4.57.3:

https://github.com/openai/openai-node/commit/1e9808ac68a22eb5fa3640a5b33d27af122f50a0

* update openai pnpm lock file

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-11-07 19:44:41 +00:00
akoo24 d9bf612448 Support global-agent for central proxy configuration (#3423)
* * Added global-agent as central Global HTTP/HTTPS proxy configurable using environment variable
**  https://www.npmjs.com/package/global-agent
* Server-Bootstrap on index.js
** import 'global-agent/bootstrap'
* added dep in package.json
** global-agent: "^3.0.0

* * Added global-agent as central Global HTTP/HTTPS proxy configurable using environment variable
**  Added env variables

* update env example

* update env and lock file

* update env and lock file

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-11-01 18:05:04 +00:00
Karlo Benčić cdd5c39bab fix: Add missing migration in MariaDB (#3409)
Add missing migration for vector store configuration in document store for MariaDB
2024-10-26 08:38:27 +08: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 116d02d0bc Bugfix/Remove in-mem vector store from document store (#3395)
remove in mem vector store from document store
2024-10-22 00:49:20 +01:00
Vincelwt 4a9ffe7b99 Lunary: feedback tracking (#3332)
* Lunary: feedback tracking

* fix incorrect param order
2024-10-21 11:32:51 +01:00
Karlo Benčić 5cb2f9a341 fix: unknown collate in AddCustomTemplate migration for MariaDB (#3378)
Fix collate in AddCustomTemplate migration for mariadb
2024-10-19 18:14:15 +01:00
Rob Hitt de6d675e55 Fix duplicate words in Airtable Agent description (#3368) 2024-10-17 02:00:01 +01:00
Chirag d1adc4fb1c feat: Add Alibaba API credential and ChatAlibabaTongyi node (#3360)
* feat: Add Alibaba API credential and ChatAlibabaTongyi node

* lint fix

* Add chatAlibabaTongyi model to models.json
and chat models

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-10-17 01:54:50 +01:00
Henry Heng 82da25d763 Bugfix/Parse vars from overrideconfig to JSON (#3347)
parse vars from overrideconfig to JSON
2024-10-13 14:21:18 +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
thiagolealassis 7868c8c3a1 Added S3_FORCE_PATH_STYLE environment variable support for AWS S3 client configuration to ensure compatibility with custom S3 endpoints and path-style URLs. This change sets the forcePathStyle option based on the environment variable, defaulting to false if not provided. (#3315)
Co-authored-by: Thiago Assis <thiago.assis@go9.tech>
2024-10-07 16:00:48 +01:00
Henry Heng 14b714824b Feature/add endpoints for realtime api (#3318)
add endpoints for realtime api
2024-10-07 13:30:57 +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 8c1f0bdbe9 Bugfix/Add version API as public (#3297)
add version API as public
2024-10-02 19:34:42 +01:00
Henry Heng 04e8d02a99 Bugfix/Upsert files extension to input field (#3288)
get upsert files extension to input field
2024-09-30 22:52:02 +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
Henry Heng b7cb8be7c3 Bugfix/Prevent streaming of chatflow tool and chain tool (#3257)
prevent streaming of chatflow tool and chain tool
2024-09-26 00:34:19 +01:00
Henry Heng a2911d2aaf Bugfix/Add header to allow sse on nginx (#3214)
add header to allow sse on nginx
2024-09-18 16:15:52 +01:00
Henry Heng 793319c9ae Release/2.1.1 (#3213)
release @2.1.1
2024-09-18 10:16:28 +01:00
Henry Heng 1c89a3309e Bugfix/Add artifacts migration script to other database types (#3210)
add artifacts migration script to other database types
2024-09-17 20:12:27 +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
안진수 44b70ca7e2 Bugfix/chatOpenAICustom model not streaming (#3179)
Bugfix/chatOpenAICustom model not streaming (FlowiseAI#1081)
* Fixed issue preventing chatOpenAICustom model from streaming
* Updated streamAvailableLLMs to include chatOpenAICustom model

Co-authored-by: AnJinSu <anjinsu96@handysoft.co.kr>
2024-09-14 13:59:29 +01:00
Henry Heng 07059182af Bugfix/implement missing delete method on pgvector (#3180)
implement missing delete method on pgvector
2024-09-12 02:28:45 +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 9094cf1ede Bugfix/Add fix for processing chunks (#3154)
add fix for processing chunks
2024-09-05 17:36:10 +01:00
Henry Heng 66a603f294 Bugfix/variables replacing (#3129)
fix variables replacing
2024-09-02 19:16:15 +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
YISH 690d04309b Avoid hard-coding returnFalse and returnTrue handle fetching. (#3091) 2024-08-28 12:06:10 +01:00
falkor f3271589a8 feature/introducting-conversational-retrieval-tool-agent (#2430)
* introducting openai-conversational-retriever-agent

* fix lint

* fix build

* rename + update description

* changing agent base from openai to tool agent

* adding author for community agent
2024-08-28 11:47:20 +01:00
Rafael Reis 455fb144a3 Add $flow to Variable Resolution in Flow Building Process (#3075)
* Add $flow to Variable Resolution in Flow Building Process

* add overrideConfig values to $flow....

* fix for replacement of $flow values inside text.

* refactor and compatibilize with agent flow
2024-08-28 11:44:25 +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 286121e4e3 Bugfix/Auth URL Bypass (#3095)
add fixes to prevent bypassing api url
2024-08-27 16:35:52 +01:00
Henry Heng 75f779f861 Bugfix/whitelist urls for non password protected instance (#3085)
whitelist urls for non password protected instance
2024-08-26 11:29:46 +01:00
Henry Heng d9a2c334a0 Feature/Update API Docs README (#3078)
* 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

* update swagger response indentation

* update api-docs README

* update README

---------

Co-authored-by: Octavian FlowiseAI <154992625+ocflowiseai@users.noreply.github.com>
2024-08-25 14:53:59 +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