Commit Graph

2704 Commits

Author SHA1 Message Date
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
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
Tyler f2d2f59630 Add Cerebras Node and Credential (#3377) 2024-10-23 22:09:52 +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 281d1f20e4 Chore/update flowise embed version (#3402)
* 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
2024-10-23 13:21:17 +01:00
Henry Heng 3637e0b322 Chore/models update (#3401)
* 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
2024-10-23 11:49:21 +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
Chirag 35ce647a38 Refactor ChatOpenAI_ChatModels to include stopSequence parameter (#3388)
* Refactor ChatOpenAI_ChatModels to include stopSequence parameter

* lint fix

* Stop Sequence String will now be split by comma

* Update ChatOpenAI.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-10-21 16:02:31 +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
Vincelwt 4a9ffe7b99 Lunary: feedback tracking (#3332)
* Lunary: feedback tracking

* fix incorrect param order
2024-10-21 11:32:51 +01:00
Morgan Marshall 2c6cf12d2c Update README.md (#3379)
Update instructions
2024-10-19 18:23:37 +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
Henry Heng 814754f3d5 Bugfix/Update astradb dep (#3381)
update astradb dep
2024-10-19 17:31:53 +01:00
Rob Hitt de6d675e55 Fix duplicate words in Airtable Agent description (#3368) 2024-10-17 02:00:01 +01:00
patrickreinan 5117948ccf Added NeMo Guardrails Chat component (#3331)
* added: nemoguardrails chat component

* fix: removed options argument from init

fix: generation text has been updated with content string

* fix: lint error fixed

* fix: error when get content

* fix: lint errors

* updated: added handleLLMNewToken for ChatNemoGuardrails

---------

Co-authored-by: patrick <patrick.alves@br.experian.com>
2024-10-17 01:59:10 +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
Chirag 1d193b4dbc [Feature] added Jina AI Embedding support (#3355)
* added Jina AI Embedding support

* Update JinaAIEmbedding.ts

Change model name to string type

* removed jina embeddings

* lint fix

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-10-17 01:49:46 +01:00
Anthony Bryan Gavilan Vinces 235fcfeb40 Enable Filters in MongoDB Vector Search Retriever (#3333)
* added: support to metadata filter using mongodb vector search retriever

* fix: format lint
2024-10-16 16:35:37 +01:00
Prateek Jakhar 6c3541915b fix: added search for node labels (#3348) 2024-10-13 14:43:22 +01:00