Commit Graph

2723 Commits

Author SHA1 Message Date
Maicon Matsubara d20a970a7b Bugfix/redis connection is closed (#3591)
* Added redis open connection if it is closed

* Removed unecessary modification

* Added check connection in all methods

* Renamed method

* added await on method call

* Refactor Redis connection handling: remove singleton pattern, ensure connections are opened and closed per operation.

---------

Co-authored-by: Maicon Matsubara <maicon@fullwise.com.br>
2024-12-03 16:14:40 +00:00
Henry Heng 3b804d7777 Release/2.2.1 (#3607)
minor patch fix @2.2.1
2024-11-29 13:18:27 +00:00
Ong Chung Yau 56c00ebf38 fix/unable-to-upload-documents (#3606)
fix: unable to upload documents
2024-11-29 13:07:22 +00:00
Henry Heng 3478b39a40 Release/2.2.0 (#3601)
flowise@2.2.0
2024-11-28 16:05:49 +00:00
Henry Heng f6858f4ec9 Chore/update flowise embed version@2.0.8 (#3602)
* 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

* update flowise embed version

* update flowise-embed version

* update flowise embed version in pnpm lock file
2024-11-28 12:04:23 +00:00
Henry Heng 940c8fd3b0 Chore/LC v0.3 (#3517)
* bump langchain version to 0.3, upgrades on all chat models

* update all docs loader to have documents and text output options

* fix pnpm lock file
2024-11-28 11:06:12 +00:00
Aaron McIntyre 126808b62a Fix 'label' undefined errors for sequential agents (#3585)
Fix 'label' undefined errors

Commit adds some optional chaining around 2 reads of 'label'
property.
2024-11-27 23:27:49 +00:00
Henry Heng c50c7bdcce Chore/models update (#3590)
* 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

* update anthropic models

* add 3.5 haiku

* update vertex embedding models

* add azure o1 models
2024-11-27 11:02:15 +00:00
Henry Heng 4c1951d5b6 Feature/Extract Metadata Retriever (#3579)
add extract metadata retriever
2024-11-26 21:06:17 +00:00
Henry Heng 76ae921240 Feature/add ability to show variable output (#3580)
add ability to show variable output
2024-11-26 21:06:03 +00:00
toi500 af5e6b0968 Enhanced Chat Embed Configuration View (#3559)
* Changes Made to Embed Chat Configuration
1. Consolidated multiple configuration functions into a single `defaultThemeConfig` object
2. Added full theme configuration support for both popup and fullpage modes
3. Fixed fullpage chat window sizing to use 100% height and width
4. Improved code formatting and readability

* fix: replace empty customCSS quotes with backticks in theme configuration output

* refactor: improve script output formatting for embed chat code

* Fixed incorrect spacing in React component theme prop string templates.
2024-11-25 23:08:59 +00:00
Henry Heng 7d9e1514b1 Bugfix/Upsert files override (#3569)
add fix for upsert files
2024-11-25 17:26:32 +00:00
Henry Heng a2c36b4447 Feature/Add new doc store upsert and refresh API (#3556)
add new doc store upsert and refresh API
2024-11-25 15:47:13 +00:00
saatchi-david 36496b1611 Added new gpt4o model and set "gpt 4o (latest)" as default model for ChatOpenAI node. (#3543)
* Chore/Add gpt-4o-2024-11-20

* add the latest gpt4o model.

* Update models.json - fix linting

* Update models.json - fix linting issue 2

* Updated default model in ChatOpenAI node from gpt 3.5 turbo gpt4o

* Update ChatOpenAI.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-21 19:28:54 +00:00
Tyler 919cb5097e Redis default port is 6379 (#3548) 2024-11-21 19:09:54 +00:00
Henry Heng ebf9a98341 Release/2.1.5 (#3535)
flowise@2.1.5
2024-11-19 16:13:30 +00:00
Henry Heng bc77e400ed Bugfix/OverrideConfig for Upsert Vector (#3527)
* update bugfix for override config vars

* add overrideConfig to upsert vector
2024-11-16 18:11:30 +00:00
Henry Heng 47e723be02 Bugfix/Query Runner already released (#3525)
Merge branch 'feature/add-couchbase-vectore-store' into feature/Couchbase
2024-11-16 14:33:58 +00:00
Henry Heng 1ccd97685c Bugfix/Override config vars (#3524)
update bugfix for override config vars
2024-11-16 14:03:29 +00:00
serhiy-matoffo 16ceed1bda Feature/Add support for state-based metadata filter to Retriever Tool (#3501)
* Added support for state-based metadata filter to Retriever Tool

* Update RetrieverTool.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-16 13:59:42 +00:00
Henry Heng 38ddbd8283 Feature/Add stripe toolkit (#3522)
add stripe toolkit
2024-11-15 20:28:07 +00:00
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 0153735704 Feature/Postgres agent memory (#3495)
* add postgres to agent memory

* add mysql agent memory
2024-11-09 14:15:44 +00:00
ZacharyQin b01772302e feat: Add Custom Api Url Param for Self-hosted FireCrawl endpoint (#3480)
* feat: Add Custom api url for Self-hoseted FireCrawl endpoint

* Update FireCrawlApi.credential.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-09 00:44:17 +00:00
Tyler 835b1511d7 Add Up and Down arrow functionality to chat messages (#3440)
* Add Up and Down arrow functionality to chat messages

- Works like Linux shell
- History limited to 10 messages

* Fix linting errors

* Update EmbedChat.jsx

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-09 00:43:33 +00:00
Henry Heng d64cb7028b Bugfix/metrics provider undefined error (#3489)
fix metrics provider undefined error
2024-11-08 16:22:22 +00:00
Ryno ccc0088d0d feat: Add BraveSearchAPI document loader (#3486) 2024-11-08 12:59:22 +00:00
Henry Heng 275c9e3a1e Update otel.config.yml 2024-11-08 01:36:51 +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
khakanali 8466e1a0b0 fix(proxy): restrict proxy to exact /api routes only (#3456) 2024-11-07 23:04:54 +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
Henry Heng eeb1d17f50 Chore/MongoDB Connection (#3469)
getting rid of singleton design and properly close connection after every interaction
2024-11-07 19:05:00 +00:00
akoo24 a6183aba7a Azure OpenAI Embeddings ignores env variable AZURE_OPENAI_BASE_PATH (#3452)
* Set azureOpenAIBasePath to undefined if empty to enforce usage of env variable AZURE_OPENAI_BASE_PATH in @langchain+openai@0.0.30_encoding@0.1.13_langchain@0.2.11/node_modules/@langchain/openai/dist/embeddings.cjs
2024-11-07 19:04:37 +00:00
serhiy-matoffo 99f28a2dff Update commonUtils.ts (#3470)
Fixed a bug in `restructureMessages` leading to blowing up of the message content with escape characters and eventually crashing the flow with "repetitive patterns" error
2024-11-06 16:30:45 +00:00
Henry Heng afd2ddbdde Chore/Add Haiku 3.5 (#3471)
* 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

* update anthropic models

* add 3.5 haiku

* update vertex embedding models
2024-11-06 16:16:35 +00:00
Jérémy JOURDIN 012eabc996 [Azure OpenAI] Make credentials optional when env variables are set (#3418)
* Make Azure OpenAI credentials optional when env variables are set

* Add documentation for env vars
2024-11-01 22:09:13 +00:00
Jérémy JOURDIN a159da5bfe [Usntructured loaders] Make Unstructured API URL optional when environment variable is present (#3414)
* Make Unstructured API URL optional when environment variable is present

* Fix empty apiUrl option in Unsctructured flowise loader

* Add focumentation for env vars
2024-11-01 22:03:53 +00:00
Jérémy JOURDIN 15d59a9052 [Prostgres Vector Store] Add PGVector Driver option + Fix null character issue w/ TypeORM Driver (#3367)
* Add PGVector Driver option + Fix null character issue w/ TypeORM Driver

* Handle file upload case with PGVector

* Cleanup

* Fix data filtering for chatflow uploaded files

* Add distanceStrategy parameter

* Fix query to improve chatflow uploaded files filtering

* Ensure PGVector release connections

* Await client connected

* Make Postgres credentials optionnal when set on env variables

* Document env variables in nodes directories

* Prevent reuse client

* Fix empty metadataFilter

* Update CONTRIBUTING.md

* Update Postgres.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-11-01 18:13:45 +00:00
Henry Heng 39380a4bc7 Bugfix/add proxy env vars to docker compose (#3438)
add proxy env vars to docker compose
2024-11-01 18:13:21 +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
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
Henry Heng c3c6f4894d Bugfix/Updated Readme (#3434)
updated Readme
2024-10-31 14:14:52 +00:00
Henry Heng ebc4641a60 Bugfix/Openai assistant thread not found (#3426)
fix openai assistant thread not found by exponential backoff retries
2024-10-29 15:26:59 +00:00
Jim Mendenhall cf0617537c Update models.json (#3419)
Added new Voyage embedding models
2024-10-27 12:30:44 +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