Commit Graph

1779 Commits

Author SHA1 Message Date
Henry Heng 81699a1e56
Bugfix/validate chatflow uuid (#4730)
* validate chatflow uuid

* validate chatflow uuid
2025-06-25 14:26:16 +01:00
Henry Heng 4038eb13fc
Bugfix/GoogleDrive Loader Folder id (#4714)
* fix google drive loader folder id

* lint fix
2025-06-24 09:53:42 +01:00
Henry Heng 2e42dfb635
Bugfix/Gemini Structured Output (#4713)
* fix gemini structured output

* update issues templates
2025-06-23 19:10:41 +01:00
Henry Heng 543800562e
Chore/API for AgentflowV2 (#4696)
* Enhancement: Introduce prepended chat history handling in Agent and LLM nodes.

- Added support for `prependedChatHistory` in both `Agent` and `LLM` classes to allow for initial message context.
- Implemented validation for history schema in execution flow to ensure proper format.
- Refactored utility functions to include JSON sanitization and validation methods for improved data handling.

* update prediction swagger
2025-06-22 13:16:35 +01:00
Henry Heng 035b5555a9
Bugfix/HTTP Node Body Parsing (#4694)
Enhancement: Add JSON sanitization and parsing methods to HTTP agentflow.

- Introduced `sanitizeJsonString` to clean problematic escape sequences and fix common JSON formatting issues.
- Added `parseJsonBody` to attempt parsing JSON directly, with fallback to sanitization if parsing fails, providing clearer error messages for invalid JSON.
- Updated request handling to utilize the new parsing method for JSON and x-www-form-urlencoded body types.
2025-06-20 12:29:55 +01:00
Henry Heng a107aa7a77
Chore/Update issue templates and add new tools (#4687)
* Enhancement: Update issue templates and add new tools

- Updated bug report template to include a default label of 'bug'.
- Updated feature request template to include a default label of 'enhancement'.
- Added new credential class for Agentflow API.
- Enhanced Agent and HTTP nodes to improve tool management and error handling.
- Added deprecation badges to several agent and chain classes.
- Introduced new tools for handling requests (GET, POST, DELETE, PUT) with improved error handling.
- Added new chatflows and agentflows for various use cases, including document QnA and translation.
- Updated UI components for better handling of agent flows and marketplace interactions.
- Refactored utility functions for improved functionality and clarity.

* Refactor: Remove beta badge and streamline template title assignment

- Removed the 'BETA' badge from the ExtractMetadataRetriever class.
- Simplified the title assignment in the agentflowv2 generator by using a variable instead of inline string manipulation.
2025-06-19 18:11:24 +01:00
Henry Heng 306b6fbb31
Release/3.0.2 (#4629)
flowise@3.0.2
2025-06-11 14:18:51 +01:00
toi500 3d2c5c90e9
Fix: Correct formatting of Condition Agent prompt (#4626) 2025-06-11 14:07:02 +01:00
toi500 dfb401ad83
feat: Add configurable system prompt to Condition Agent (#4587)
* feat: Add configurable system prompt to Condition Agent

* Update system prompt to HTML for UI readability

* fix: Remove invalid default routing and sync hardcoded role-based examples

* Update ConditionAgent.ts

* Update ConditionAgent.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-06-10 18:38:02 +01:00
Vinod Kiran e17994d8fe
Evaluations for Agentflows v2 & Assistants (#4589)
* New Feature: Evaluations for AgentFlow v2

* New Feature: Evaluations for Assistants and minor tweaks on other evaluations.

* do not store messages during evaluation for agent flows.

* common cost formatting

* moving the category names to description (in create dialog) and adjusting the side drawer label

* lint fixes

* Enhancement: Add auto-refresh toggle for evaluations with 5-second interval and adjust grid item size for metrics display.

* 1) chatflow types are stored in additional config
2) messages are now stored with type "Evaluations"
3) Message Dialog has a new Type in the ChatType Filter Dropdown
4) Chatflow badges on the view page, have the right canvas URL
5) outdated API returns chatflow type along with the stale indicator.
6) UI - Flow Indicator Icons are shown in the Chatflows Used chips & side drawer

* Refactor JWT error handling to return 401 status for expired refresh tokens. Update chat message ID assignment to remove UUID fallback. Enhance ViewMessagesDialog to set default chat type filters and implement a new method for determining chat type sources. Modify EvalsResultDialog to open links in a new tab and adjust icon sizes for better consistency. Clean up unused imports in EvaluationResultSideDrawer.

* handling on Click for deleted flows and minor code cleanup

* evals ui fix

* Refactor evaluation service to improve error handling and data parsing. Update additionalConfig handling to default to an empty object if not present. Enhance type definitions for better clarity. Adjust MetricsItemCard to prevent overflow and improve layout consistency.

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-06-10 16:11:22 +01:00
Henry Heng 2387a06ce4
Feature/GoogleDocs (#4613)
* add teams, gmail, outlook tools

* update docs link

* update credentials for oauth2

* add jira tool

* add google drive, google calendar, google sheets tools, powerpoint, excel, word doc loader

* update jira logo

* Refactor Gmail and Outlook tools to remove maxOutputLength parameter and enhance request handling. Update response formatting to include parameters in the output. Adjust Google Drive tools to simplify success messages by removing unnecessary parameter details.

* Update pnpm-lock.yaml

* add google docs
2025-06-09 00:30:03 +01:00
Henry Heng 6495c64dac
Feat/add headers to custom mcp (#4581)
* add headers to custom mcp

* Refactor MCP fetch method and update CustomMCP documentation to include variable usage in headers
2025-06-07 16:23:42 +01:00
Henry Heng 02a6753498
Bugfix/Overrideconfig Analytics in AgentflowV2 (#4599)
* fix(utils/buildAgentflow): enhance analytic handler configuration to support overrides

* fix(agentflow): integrate analytic handlers for tool execution tracking
2025-06-07 01:53:31 +01:00
Ahmed Rowaihi 7dfa269502
fix(components/weaviate): fix metadata special chars upsertion failure (#4436)
* Enhancement: Add recursive key normalization for metadata in Weaviate vector store

- Introduced `normalizeKeysRecursively` utility to standardize metadata keys.
- Updated Weaviate vector store to apply normalization on document metadata before processing.

* format(compnonents/utils): format for ci

* Update utils.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-06-07 00:19:02 +01:00
Ademílson Tonato 0c5f7ea003
feat: add search functionality to FireCrawl with customizable parameters (#4535)
* feat: add search functionality to FireCrawl with customizable parameters

* refactor: unify request parameters in FireCrawl to include integration identifier

* Update FireCrawl Document Loader to version 4.0, enhancing parameter labels and adding conditional visibility for URL and crawler options based on selected crawler type.

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-06-07 00:06:39 +01:00
Henry Heng 30c4180d97
Feature/Add teams, gmail, outlook tools (#4577)
* add teams, gmail, outlook tools

* update docs link

* update credentials for oauth2

* add jira tool

* add google drive, google calendar, google sheets tools, powerpoint, excel, word doc loader

* update jira logo

* Refactor Gmail and Outlook tools to remove maxOutputLength parameter and enhance request handling. Update response formatting to include parameters in the output. Adjust Google Drive tools to simplify success messages by removing unnecessary parameter details.
2025-06-06 19:52:04 +01:00
Ong Chung Yau 5f7f83a5d2
feature/apiloader-ca-upload (#4533)
feat: add CA(.pem, .crt) upload in API Loader
2025-06-05 19:29:52 +01:00
Henry Heng d134b66bd8
Bugfix/tool node selected tool (#4579)
* fix tool node selected tool

* fix tool node config

* update node to display tool node icons
2025-06-04 17:54:36 +01:00
Henry Heng aa0984e802
Bugfix/Tool node selected tool (#4578)
fix tool node selected tool
2025-06-04 13:44:09 +01:00
Henry Heng a88337cc83
Bugfix/config input for multiple same fields (#4548)
* fix config input for multiple same fields

* fix custom tool not selected
2025-05-31 17:03:03 +01:00
Henry Heng 7c803f4e0b
Release/3.0.1 (#4537)
flowise@3.0.1
2025-05-29 17:49:17 +01:00
Henry Heng 954e6c88f4
Feat/add supergateway MCP (#4303)
* add supergateway MCP

* update supergateway mcp
2025-05-28 17:21:01 +01:00
Saket Aryan 9682a0ccd9
feat:Adds new Param in getChatMessages for better context handling (#4273)
* Adds Current Message Param in getChatMessages to use Mem0 more effectively

* Revert "Adds Current Message Param in getChatMessages to use Mem0 more effectively"

This reverts commit 086be60b0a.

* Used the input param for Getting the Input text inside of Mem0 Node

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-28 16:02:52 +01:00
Henry Heng da8d0f12d6
Bugfix/Disable default user input if memory is disabled for first node (#4530)
disable default user input if memory is disabled for first node
2025-05-28 15:04:45 +01:00
Henry Heng 3d6bf72e73
Feature/Custom MCP vars (#4527)
* add input vars to custom mcp

* add ability to specify vars in custom mcp, fix other ui issues

* update setup org ui
2025-05-28 12:47:53 +01:00
nikitas-novatix 4326cbe6b5
Fix: Patching redis socket crash fix (#4431)
* redis keepalive mechanism for all redis

* removed offline queue commands

* Simplified changes for consistency. Added REDIS_KEEP_ALIVE env variable.

* update redis socket alive env variable

* lint fix

* put pingInterval back again because it's needed

* removed comment

* linting

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-27 19:54:17 +01:00
nikitas-novatix 7e7ff24941
BugFix/Patch: PostGreSQL Record Manager (#4430)
* removed the pgcrypto extension creation (Azure bug)

* changing "now" to "extract"
2025-05-27 19:54:00 +01:00
Esteban Josse 729043bcba
Feature: add missing chat mistral ai models (#4492)
* add codestral-latsest and devstral-small-2505 models to chatMistralAI

* Update models.json

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-27 18:58:08 +01:00
Henry Heng d06b7d7aef
Bugfix/Google Gemini Image Input (#4515)
always allow image input for all gemini llms
2025-05-27 18:48:43 +01:00
Henry Heng 01dab4365a
Bugfix/AgentflowV2 State (#4512)
* add persistence state, http node variables, custom function flow state

* update marketplace templates
2025-05-27 18:01:39 +01:00
Ademílson Tonato 572fb31a1c
chore: update Firecrawl version and add FirecrawlExtractTool (#4073)
* chore: update Firecrawl version and add FirecrawlExtractTool

* refactor: update outputs format

* chore: update Firecrawl request headers to include X-Origin and X-Origin-Type

* feat: add FireCrawl testing suite for scraping, crawling, and data extraction

- Introduced FireCrawl-TEST.ts to validate FireCrawlLoader functionality.
- Implemented tests for basic scraping, crawling with text splitting, data extraction, and extract status retrieval.
- Enhanced error handling in FireCrawlLoader for better debugging.

* Update pnpm-lock.yaml

* refactor: FireCrawl API integration to improve parameter handling and error logging

* refractor firecrawl

* Update FireCrawl.ts

removed console log

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-27 14:58:35 +01:00
korade-krushna eca190dca6
[ BUG #4498] Use Correct Key For Basic Auth and Optional Password (#4501)
Use Correct Key For Basic Auth and Optional pass

Co-authored-by: Krishna Korade <kkorde@aistrike.com>
2025-05-27 14:36:20 +01:00
Henry Heng 5a37227d14
Chore/refractor (#4454)
* markdown files and env examples cleanup

* components update

* update jsonlines description

* server refractor

* update telemetry

* add execute custom node

* add ui refractor

* add username and password authenticate

* correctly retrieve past images in agentflowv2

* disable e2e temporarily

* add existing username and password authenticate

* update migration to default workspace

* update todo

* blob storage migrating

* throw error on agent tool call error

* add missing execution import

* add referral

* chore: add error message when importData is undefined

* migrate api keys to db

* fix: data too long for column executionData

* migrate api keys from json to db at init

* add info on account setup

* update docstore missing fields

---------

Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-05-27 07:29:42 +01:00
Henry Heng e35a126b46
Chore/Gemini 2.5 Flash (#4489)
* 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

* add o3 mini

* add wolframalpha tool

* Update pnpm-lock.yaml

* add claude sonnet 3.7 to vertex and bedrock

* Update pnpm-lock.yaml

* update gemini
2025-05-23 14:06:14 +08:00
Henry Heng 9bc6bfed69
Chore/Claude 4 (#4488)
* 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

* add o3 mini

* add wolframalpha tool

* Update pnpm-lock.yaml

* add claude sonnet 3.7 to vertex and bedrock

* Update pnpm-lock.yaml
2025-05-23 13:49:36 +08:00
Henry Heng 86782e9971
Bugfix/throw error on agent tool call error (#4464)
throw error on agent tool call error
2025-05-20 14:47:21 +08:00
Henry Heng 6cf1c82f04
Bugfix/correctly retrieve past images in agentflowv2 (#4453)
correctly retrieve past images in agentflowv2
2025-05-18 18:16:17 +08:00
k-santos 9170cac58b
bugfix: change field to be optional (#4446)
fix: make customModelName field as optional
2025-05-18 18:16:08 +08:00
Henry Heng a6e64230b4
Release/3.0.0 (#4425)
release@3.0.0
2025-05-15 09:30:18 +08:00
Henry Heng 82d16458e4
Bugfix/Update file loader (#4420)
* update file loader

* delete temp for o1

* fix tavily
2025-05-14 10:30:33 +08:00
nikitas-novatix eadf1b11b3
Fix: Add keep-alive options to Redis clients to prevent idle timeouts and socket closing. (#4377)
* redis keepalive mechanism for all redis

* removed offline queue commands

* Simplified changes for consistency. Added REDIS_KEEP_ALIVE env variable.

* update redis socket alive env variable

* lint fix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-14 10:29:32 +08:00
Henry Heng 98e75ad7d6
Bugfix/ui streaming when model streaming is off (#4424)
fix ui streaming when model streaming is off
2025-05-14 00:07:54 +08:00
Henry Heng 7924fbce0d
Feature/agentflow v2 (#4298)
* agent flow v2

* chat message background

* conditon agent flow

* add sticky note

* update human input dynamic prompt

* add HTTP node

* add default tool icon

* fix export duplicate agentflow v2

* add agentflow v2 marketplaces

* refractor memoization, add iteration nodes

* add agentflow v2 templates

* add agentflow generator

* add migration scripts for mysql, mariadb, posrgres and fix date filters for executions

* update agentflow chat history config

* fix get all flows error after deletion and rename

* add previous nodes from parent node

* update generator prompt

* update run time state when using iteration nodes

* prevent looping connection, prevent duplication of start node, add executeflow node, add nodes agentflow, chat history variable

* update embed

* convert form input to string

* bump openai version

* add react rewards

* add prompt generator to prediction queue

* add array schema to overrideconfig

* UI touchup

* update embedded chat version

* fix node info dialog

* update start node and loop default iteration

* update UI fixes for agentflow v2

* fix async drop down

* add export import to agentflowsv2, executions, fix UI bugs

* add default empty object to flowlisttable

* add ability to share trace link publicly, allow MCP tool use for Agent and Assistant

* add runtime message length to variable, display conditions on UI

* fix array validation

* add ability to add knowledge from vector store and embeddings for agent

* add agent tool require human input

* add ephemeral memory to start node

* update agent flow node to show vs and embeddings icons

* feat: add import chat data functionality for AgentFlowV2

* feat: set chatMessage.executionId to null if not found in import JSON file or database

* fix: MariaDB execution migration script to utf8mb4_unicode_520_ci

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-05-10 10:21:26 +08:00
nikitas-novatix e467d0615c
Fix(PostgresRecordManager): Handle time correctly and ensure schema creation (#4381)
added pgvector check and time handling for postgresql record manager
2025-05-07 00:27:47 +08:00
Adolfo Usier ac9d732550
Updated the Groq chat node and also Llama Index Groq node. #4383 (#4384)
* adding DeepSeekr1 distill to groq

* Added max_tokens to groq.ts and chatGroqLlamaindex.ts plus updated groq models removing the outdated models and adding new models such as compound-beta

* Patched OpenAI typo on ChatGroq_LLamaIndex.ts

* Patching groq llamaindex

* Patched pnpm lint error

* Removed retundant image

* Update ChatGroq_LlamaIndex.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-07 00:15:32 +08:00
patrickreinan d75e847091
Feature/added litellm component (#4327)
* feat: add ChatLitellm component and LitellmApi credential

* fix: lint errors

* Update LLMFilterCompressionRetriever.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-05-06 22:41:49 +08:00
Henry Heng c3610ff3c7
Chore/Close mcp connection (#4375)
* close mcp connection

* update file types
2025-05-06 10:28:18 +08:00
Ong Chung Yau df26e8aef9
feature/add-perplexity-node (#4376)
* added perplexity node

* last stable release

* Update ChatPerplexity.ts

* update

* Update ChatPerplexity.ts

* Update ChatPerplexity.ts

* pnpm lint fix

* feat: update @langchain/community from 0.3.24 to 0.3.29

---------

Co-authored-by: Marvin <marvin.chin@regentmarkets.com>
2025-05-05 14:34:07 +08:00
toi500 f5b9c6907e
fix(nodes): Correct path and case sensitivity for Cheerio Web Scraper icon (#4359)
* fix Cheerio Web Scraper for online deployments

* fix: change node name
2025-05-02 21:53:00 +07:00
Aditya Addanki e1979e42c3
added_o4mini_model (#4365)
* added_o4mini_model

* fix: pnpm run lint-fix

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
2025-05-01 18:05:30 +08:00
Henry Heng 5b4693cca3
Release/2.2.8 (#4354)
release@2.2.8
2025-04-28 15:56:39 +08:00
toi500 925ca7be81
Feature/Add Cheerio Web Scraper node (#4337)
* feat: add Free Web Scraper tool

* fix: remove unused variable 'finalCount'

* feat(tools): Add configurable timeout to handle edge scenarios

* add sitemap mode and rename Cheerio Web Scraper node

* refactor: simplify tool description for broader LLM compatibility
2025-04-28 15:45:36 +08:00
May Ramati Kroitero 6dcc7bb152
feature: add additional parameters to Tavily API tool (#4353)
* feat: add additional parameters to Tavily API tool

* update descirption

* fix version

* lint fix

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-28 15:45:05 +08:00
Hans fc6eea7653
Support custom base URL for ChatGoogleGenerativeAI (#4347)
feat: Support custom base URL for ChatGoogleGenerativeAI
2025-04-27 12:15:17 +08:00
Zero Gu ac0450523a
Feature: Upgrade MCP version and support SSE mode. (#4329)
Upgrade MCP version and support SSE mode.

Co-authored-by: guwenjia <guwenjia@bilibili.com>
2025-04-27 12:13:06 +08:00
Vinod Kiran f8ca105822
Adding cost metrics for mistral range of models (#4338) 2025-04-27 10:56:52 +08:00
Vinod Kiran 9c1652570e
adding cost values to models.json file (#4330)
* updating cost values to models.json file

* Update models.json

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-23 19:10:53 +08:00
Nick Wong ddba891dcb
Fix: Default vision model overriding custom model name for AWS Chat Bedrock. (#4309)
fix condition to not default to claude haiku when custom model name is provided
2025-04-18 20:30:45 +08:00
Shibin Das 9d9135bed5
feat: add "Jira" document loader (#4247) (#4248)
* feat: add "Jira" document loader (#4247)

* chore: Remove console.log

* Update Jira.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-16 02:54:16 +08:00
Asharib Ali e75c831beb
feat: Add GPT-4.1 series models support (#4305)
* feat: add GPT-4.1 series models support to OpenAI Assistant Dialog

* Update models.json

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-16 00:14:09 +08:00
Arif Romadhan 416e57380e
add history chat timestamp in mongodb (#4296) 2025-04-15 02:39:37 +08:00
toi500 4009eb227b
Fix(FlowiseChatGoogleGenerativeAI): 400 Bad Request errors from Gemini API when converting tool schemas - MCP tools. (#4294)
* fix: 400 Bad Request errors from Gemini API when converting tool schemas (MCP tools).

* Update FlowiseChatGoogleGenerativeAI.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-15 00:27:32 +08:00
toi500 d71369c3b7
Fix(FlowiseChatGoogleGenerativeAI): Prevent "parts must not be empty" API error in Seq Agents (#4292)
* Fix(FlowiseChatGoogleGenerativeAI): Prevent "parts must not be empty" API error in Seq Agents

* Fix: Update pnpm-lock.yaml to resolve CI issues

* convert role function and tool to function

* remove comment

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-04-15 00:27:09 +08:00
Hans d3510d1054
Support cache system instructs for Google GenAI (#4148)
* Support cache system instructs for Google GenAI

* format code

* Update FlowiseGoogleAICacheManager.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-04-14 23:26:03 +08:00
Hans 654bd48849
Support `getNumTokens` for ChatGoogleGenerativeAI (#4149) 2025-04-14 23:21:15 +08:00
allen c318fc57e9
Feat: Support Google Cloud Storage (#4061)
* support google cloud storage

* update example and docs for supporting google cloud storage

* recover the indent of pnpm-lock-yaml

* populate the logs to google logging

* normalize gcs storage paths

---------

Co-authored-by: Ilango <rajagopalilango@gmail.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2025-04-14 22:52:54 +08:00
Henry Heng d53b1b657f
Bugfix/Prevent empty user message when using STT (#4280)
prevent empty user message when using STT
2025-04-11 13:15:17 +08:00
Sunny Modi 5faff52053
Add new Llama 4 model options to Groq (#4278)
Add new Groq model options to `groqChat` section in `models.json`

* Add `meta-llama/llama-4-maverick-17b-128e-instruct`
* Add `meta-llama/llama-4-scout-17b-16e-instruct`
2025-04-10 12:12:28 +08:00
Ilango 36870e94d4
Update how credential data is saved in db when using aws secrets manager (#4271)
* Update how credential data is saved in db when using aws secrets manager

* Run lint-fix and update env example
2025-04-09 14:07:18 +05:30
toi500 ca69a39b82
feat(Mem0): Add option to use Flowise Chat ID (#4257)
* feat(Mem0): Add option to use Flowise Chat ID

* refactor(Mem0): Simplify prependMessages handling in getChatMessages
2025-04-07 11:46:32 +08:00
Henry Heng b988cae58c
Bugfix/Prevent transforming double curly brackets (#4252)
prevent transforming double curly brackets
2025-04-04 16:19:04 +08:00
Boris Feld dd56d03b78
feat: Add Opik Tracer integration (#4194)
This update adds support for Opik tracer in Flowise. It includes new
credential components, analytic nodes, and UI assets for both tracers. The
changes enhance observability by allowing users to integrate Opik for better
model monitoring, analysis and evaluation.
2025-04-03 15:57:54 +08:00
Aman Agarwal 3bd2d63a19
[fix 4206]: fix the empty array return for getBaseClasses when using typeorm driver and not the PGVectorStore (#4225)
fix the empty array return for getBaseClasses when using typeorm driver and not the PGVectorStore

Co-authored-by: Aman Agarwal <aman@syook.com>
2025-04-03 01:47:14 +08:00
Michael Vonrueden d7c0858424
feat: Enterprise Github (#4221) 2025-04-03 01:17:56 +08:00
jonSuits 9957184680
Add Detailed Streaming to the Tool Agent (#4155)
* Add Detailed Streaming to the Tool Agent

* lint fix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-04-03 01:14:35 +08:00
Egor Kopylov cb06df4584
Improve Error Messaging for Missing LLM Node Input Variables and Optimize Lodash Imports (#4167)
enhance input error logging
2025-04-03 01:08:42 +08:00
Saket Aryan 13fce45856
Adds Mem0 Memory Node (#4213)
* Adds Mem0 Memory Node

* fix: update pnpm-lock.yaml

---------

Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
Co-authored-by: chungyau97 <chungyau97@gmail.com>
2025-03-31 10:53:01 +08:00
Ilango 4fa2672c9d
NVIDIA NIM fixes (#4215)
* fix: udpate label to "NVIDIA NIM API Key"

* test: update tag from ":latest" to ":1.8.0-rtx"

* test: add image URL path "nvcr.io/nim/"

* fix/nvidia-nim-2 (#4208)

* fix: update nim-container-manager

* feat: add "DeepSeek R1 Distill Llama 8B"

* fix/nidia-nim-3 (#4209)

* chore: add error message NVIDIA NIM is not installed.

* chore: standardize NVIDIA NGC API Key

* chore: capitalize Nvidia to NVIDIA

* chore: generalize error message for chat models

* fix/nvidia-nim-4-yau (#4212)

* test: nimRelaxMemConstraints and hostPort

* test: add logger for hostPort and nimRelaxMemConstraints

* test: nim-container-manager version 1.0.9

* test: parseInt nimRelaxMemConstraints

* test: update nim-container-manager version to 1.0.10

* chore: update nim-container-manager version to 1.0.11

* Update start container behaviour - show existing containers and give users the choice

* Go back to previous step when clicking start new so user can change port number

* Update condition for showing existing container dialog

* Fix start new in different port not working

* Update get container controller

* Update again

* fix: generalize error message for chat models

* Update getContainer controller

* Fix incorrect image check in getContainer controller

* Update existing container dialog text

* Fix styles in container exists dialog for nvidia nim

---------

Co-authored-by: chungyau97 <chungyau97@gmail.com>
Co-authored-by: Ong Chung Yau <33013947+chungyau97@users.noreply.github.com>
2025-03-24 15:20:09 +05:30
Henry Heng c5455137f9
Bugfix/Validate URL for postCore (#4172)
validare url for postCore
2025-03-13 20:00:32 +00:00
Sarge Joseph 2b9a1ae316
Add an Ollama baseUrl in chatflow configuration for Follow-up prompts (#4169)
Add abn Ollama baseUrl in chatflow configuration for Follow-up prompts
2025-03-13 19:59:27 +00:00
Henry Heng c2b830f279
Bugfix/arbitrary create attachemnt file upload (#4171)
fix arbitrary create attachemnt file upload
2025-03-13 19:46:27 +00:00
Gene Ruebsamen 829d2b1597
Weaviate - expose Hybrid Search (#4127)
Hybrid Search for Weaviate
2025-03-13 13:30:24 +00:00
Michael Young 4130156397
feat: Add SSL configuration option for Postgres connections (#4130)
Update README files for Postgres Record Manager and Vector Store to include a new SSL environment variable, allowing optional SSL configuration for database connections
2025-03-13 10:57:38 +00:00
Henry Heng 9d9aaaa886
Bugfix/S3 Credentials (#4166)
only set s3 credentials when access key and secret key exist
2025-03-12 22:21:05 +00:00
Henry Heng 93cf47ce40
Chore/update pnpm run dev (#4154)
update pnpm run dev
2025-03-10 15:33:06 +00:00
Asharib Ali 69a272201a
Add Sequential Thinking MCP tool for structured problem-solving (#4143) 2025-03-10 10:15:10 +00:00
Henry a369f0c1cc flowise-components@2.2.7-patch.1 2025-03-07 17:14:27 +00:00
Henry Heng ac7cf30e01
Feature/Custom MCP (#4136)
* add mcp tools

* add custom MCP
2025-03-06 21:27:28 +00:00
Henry Heng cf7d841f88
Release/2.2.7 (#4135)
release@2.2.7
2025-03-06 14:27:12 +00:00
Henry Heng 713ed26971
Feature/MCP (Model Context Protocol) (#4134)
add mcp tools
2025-03-06 13:57:18 +00:00
Henry Heng 9c22bee991
Feature/Add multi select option to composio (#4122)
* add multi select option to composio

* Update pnpm-lock.yaml
2025-03-06 09:59:33 +00:00
Henry Heng da04289ecf
Release/2.2.6 (#4102)
flowise@2.2.6
2025-02-28 12:25:48 +00:00
owengo e58c8b953d
Several features for OpenAPI toolkit and OpenAI Assistants (#3989)
* Allows 'x-strict' attribute in OpenAPI spec tool and other json spec objects, this allows the OpenAI Assistant to have function calls with 'strict' mode. Also allows the OpenAI assistant to call several tools in the same run. And adds a checkbox 'remove Nulls' for the OpenAPI toolkit so that parameters with null values are not passed to the backend api.

* fix lint errors

---------

Co-authored-by: Olivier Schiavo <olivier.schiavo@wengo.com>
2025-02-28 12:05:57 +00:00
Harsha 289c2591d6
Add gpt 4.5 (#4100)
Add gpt 4.5
2025-02-28 10:58:10 +00:00
Henry Heng 1678815540
Feature/nim container (#3966)
* add nim container setup

* check if image or container exist before pulling

* update NIM dialog

* update chat nvidia api key

* update nim container version

* update nim container version
2025-02-27 09:14:01 +00:00
Vinod Kiran 9a92aa12f9
New Feature: Add post postprocessing of response from LLM using custom JS Function (#4079)
* New Feature: Add post postprocessing of response from LLM using custom Javascript functions

* Disable Save when there is no content

* add post processing ui changes, disable streaming

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-02-26 17:40:03 +00:00
Henry Heng a8d74336dd
Bugfix/Add date input type for custom tool (#4087)
add date input type for custom tool
2025-02-26 15:37:25 +00:00
Henry Heng 97a196e11a
Chore/patch deps (#4015)
patch deps
2025-02-26 15:19:13 +00:00
Hans 86a26f6ae3
Fix vector store filter not work (#4065)
* Fix vector store filter not work

* Update ExtractMetadataRetriever.ts

* Update HydeRetriever.ts

* Update MultiQueryRetriever.ts

* Update SimilarityThresholdRetriever.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-02-26 15:03:54 +00:00
Henry Heng d8dc1820e1
Claude 3.7 on Vertex and Bedrock (#4082)
* 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

* add o3 mini

* add wolframalpha tool

* Update pnpm-lock.yaml

* add claude sonnet 3.7 to vertex and bedrock
2025-02-26 10:59:14 +00:00
Thanos Kontokostas 229366968a
Adding Tavily custom tool (#4027)
Adding Tavily custom tool
2025-02-25 21:31:17 +00:00
Henry Heng ac138a7a27
Chore/Claude 3.7 (#4075)
* 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

* add o3 mini

* add wolframalpha tool

* Update pnpm-lock.yaml
2025-02-24 22:18:03 +00:00
Ali Saleh 0e10952b45
feat: Add Arize & Phoenix Tracer Integration (#4046)
Added Arize Phoenix Tracer

Co-authored-by: Ilango <ilango.rajagopal@flowiseai.com>
2025-02-24 20:11:30 +05:30
Henry Heng f71e5cbfb6
Chore/Update vertex dependency (#4058)
update vertex dependency
2025-02-22 01:11:34 +00:00
saatchi-david c0a74782d8
o3-mini Adjustments. (#4009)
* Update AzureChatOpenAI.ts - corrected reasoning description and default

- Description for reasoning effort only mentioned o1. Added o3.
- Changed reasoning effort default to medium as this is OpenAI's default / what users will most likely expect (https://platform.openai.com/docs/guides/reasoning)

* Update ChatOpenAI.ts - corrected reasoning description and default

- Description for reasoning effort only mentioned o1. Added o3.
- Changed reasoning effort default to medium as this is OpenAI's default / what users will most likely expect (https://platform.openai.com/docs/guides/reasoning)

* Update models.json - add specific model ID for o3-mini

- Added o3-mini-2025-01-31
- Updated "o3-mini" label to "o3-mini (latest)"
This allows the user to choose a specific model ID and avoid the risk of unexpected behavior if the "o3-mini" alias is updated.
2025-02-12 19:20:44 +00:00
Henry Heng 23ccef165d
Bugfix/Typeorm Postgres Driver Not Found (#4024)
add bugfix for driver not found
2025-02-12 19:19:52 +00:00
Gene Ruebsamen 0449e80395
Late Chunking support for Jina Embeddings (#4002)
* Late Chunking support for Jina Embeddings

* improved constructor handling. remove redundant code.

* remove unnessary function overrides, since late_chunking parameter only needs to be stored in the class.
2025-02-08 14:10:18 +00:00
toi500 96dd1aaeea
Update Gemini models as per the Gemini API Documentation. (#3996)
* update gemini models

* fix

* remove pleceholder
2025-02-06 19:20:13 +00:00
Henry Heng c96d634db2
Bugfix/update view message dialog (#3994)
* update view message dialog

* update lock file

* update github main action

* update github main action

* Update style.scss

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml
2025-02-06 11:05:06 +00:00
Henry Heng aeb82c2fb4
Release/2.2.5 (#3983)
* release 2.2.5

* update pnpm lock file

* Update pnpm-lock.yaml

* Update pnpm-lock.yaml
2025-02-04 10:28:52 +00:00
Henry Heng a0b4abdd13
Feature/update openai version, add reasoning effort param, add o3 mini (#3973)
* update openai version, add reasoning effort param

* update azure

* add filter for pinecone llamaindex

* update graph cypher qa chain
2025-02-04 08:43:27 +00:00
inkyu 2a0e712b7d
feat: preserve UI state memory on API override (#3957) 2025-02-03 17:12:09 +00:00
Jamal Almonawer جمال المناور e1ea1c68d1
Fix: Ensure normalizeURL retains port number (#3959)
* fix: Preserve port in normalizeURL function

The normalizeURL function was previously ignoring the port in the URL.
This fix explicitly includes the port if present (e.g., `:3000`).

* fix lint problem

fix lint problem
2025-02-03 17:02:00 +00:00
Gene Ruebsamen 8d327e465c
Expose dimensions parameter on Jina Embeddings (#3969)
* Expose dimensions parameter on Jina Embeddings

* fix linting issue

* update description text to refer to dimensions

* Update JinaAIEmbedding.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2025-02-03 17:01:50 +00:00
Gene Ruebsamen 7d125d50d4
update cohere rerank models to v3.0 and v3.5 (#3972) 2025-02-03 01:44:27 +00:00
Henry Heng 20a797d2e0
Feature/Add ability to create new doc store on upsert (#3965)
add ability to create new doc store on upsert, update firecrawl properties
2025-02-01 14:28:50 +00:00
Henry Heng a49177f7fb
Chore/O3 MINI (#3962)
* 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

* add o3 mini

* add wolframalpha tool
2025-02-01 01:17:40 +00:00
Adolfo Usier 315536ed6e
Adding DeepSeekR1 Distill to Groq modal (#3961)
adding DeepSeekr1 distill to groq
2025-02-01 00:09:41 +00:00
Henry Heng 9a68b4b021
Chore/update nvidia NIM label (#3943)
update nvidia NIM label
2025-01-30 10:36:05 +00:00
Henry Heng a2a475ba7a
Feature/Add bullmq redis for message queue processing (#3568)
* add bullmq redis for message queue processing

* Update pnpm-lock.yaml

* update queue manager

* remove singleton patterns, add redis to cache pool

* add bull board ui

* update rate limit handler

* update redis configuration

* Merge add rate limit redis prefix

* update rate limit queue events

* update preview loader to queue

* refractor namings to constants

* update env variable for queue

* update worker shutdown gracefully
2025-01-23 14:08:02 +00:00
Henry Heng e26fc63be0
Feature/Custom Function to Seq Agent (#3612)
* add custom function to seq agent

* add seqExecuteFlow node
2025-01-23 13:04:40 +00:00
Yi-Cheng Wang 50a7339299
fix: Correct logic error in tool input assignment for ChatflowTool (#3903)
The previous code incorrectly assigned `toolInput` to an empty string when `customInput` was non-empty. Corrected the logic to ensure that `toolInput` is assigned `customInput` when `useQuestionFromChat` is false and `customInput` is non-empty.
2025-01-22 18:22:24 +00:00
Nguyễn Đức Hùng ca559c5f21
Update model names for deepseek components (#3911) 2025-01-22 12:43:57 +00:00
Henry Heng 4aa97b0c9a
Bugfix/Escape JSON in Prompt Message (#3901)
add fix to only get variables when there is no colon
2025-01-20 19:18:28 +00:00
itaismith 3fc4e79089
Add tenant and database configs for Chroma Cloud credentials (#3872)
* Add tenant and database configs for Chroma Cloud credentials

* Lint fix
2025-01-20 18:39:00 +00:00
Henry Heng 320eab65d6
Chore/Add base options to azure chat openai (#3886)
* add base options to azure chat openai

* add base options to embeddings
2025-01-20 18:29:27 +00:00
Nguyễn Đức Hùng 9c2203be62
Feature: Add Jina AI Rerank Retriever (#3898) 2025-01-20 12:33:42 +00:00
supraface 5c9f17814b
Bugfix/Handling empty strings when resolving variables (#3864)
Bugfix for how to handle empty strings when resolving variables
2025-01-16 15:14:06 +00:00
Henry Heng c89be26024
Bugfix/update get chat messages chattype (#3881)
update get chat messages chattype
2025-01-16 14:53:36 +00:00
Henry Heng 62d5d1e8ef
Bugfix/add hidden properties to custom tool (#3875)
add hidden properties to custom tool
2025-01-15 13:43:58 +00:00
Henry Heng ef96b57303
Release/2.2.4 (#3870)
flowise@2.2.4 release
2025-01-14 20:47:48 +00:00
Jérémy JOURDIN 24eb437bad
[Feature] improve CsvLoader & clean code (#3830)
* Improve CSV Loader

* Improve S3 Loaders

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-01-14 16:47:04 +00:00
Light cc87d85675
Chore: Update @langchain/community (#3787)
* update package versions

* fix updated field defs due to lib update

* Merge branch 'main' into chore/Upgrade-LC-version

# Conflicts:
#	packages/components/package.json
#	pnpm-lock.yaml

* lintfix

* fix follow up prompt dialog

* lintfix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-01-14 16:30:51 +00:00
Henry Heng aab493c3c7
Feature/OpenRouter (#3865)
add open router
2025-01-13 20:35:59 +00:00
Hugues Chocart 89c5eb0492
Lunary: fix user messages (#3852)
Update handler.ts
2025-01-12 23:01:02 +00:00
Henry Heng d60242c224
Feat/add multer s3 (#3854)
* add multer s3

* add types multer s3

* update multer s3 implementation

* Revert "update multer s3 implementation"

This reverts commit 9a25bf57a9.

* update storage utils

* update multer storage type on routes

* revert getMulterStorage

* revert getMulterStorage

* update getmulterstorage

* update getmulterstorage

* update getmulterstorage
2025-01-12 23:00:34 +00:00
Lucas Mohallem Ferraz 1ae78c2739
[Feat] Allow AWS SECRETS MANAGER instead of storing AES Encrypted in db (#3616)
* AWS Secrets

* AWS Secrets support

* add examples

* remove test compose

* fix lint

* update aws secret manager implementation

* update secret manager client

* update comments

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2025-01-08 20:24:57 +00:00
Ryan Halliday c2c1ca9162
Slight Redis Memory description change to include units (#3824)
Slight message change to include units
2025-01-08 01:05:10 +00:00
Ahmed Rowaihi e429af139e
feat(follow-up/ollama): support ollama provider (#3795) 2025-01-07 20:43:43 +00:00
Henry Heng 9a417bdc95
Bugfix/update nodevm sandbox options, sanitize tablename (#3818)
* update nodevm sandbox options, sanitize tablename

* sanitize file name when getFileFromStorage
2025-01-07 15:26:25 +00:00
Henry Heng 7aead83d61
Feature/update json loader to have dynamic metadata (#3811)
update json loader to have dynamic metadata
2025-01-06 16:18:49 +00:00
Sunny Modi 3b13e8345a
Feature/Add Groq for followup prompts (#3806)
Feature/Add-Groq-for-followup-prompts
2025-01-04 16:52:01 +00:00
Henry Heng 1111101cff
Bugfix/Anthropic messages in agentflow (#3801)
fix anthropic messages in agentflow
2025-01-03 22:47:46 +00:00
Ahmed Rowaihi e22c60115e
clean(components): is debug boolean syntax shorthand (#3770)
🧹 CLEAN(components): is debug boolean syntax shorthand
2025-01-03 14:20:59 +00:00
Elon Zito d71ad22e27
[BUGFIX] Fix value.startsWith is not a function error (#3747)
* Fix value.startsWith is not a function error

* Check for empty array
2025-01-02 17:07:43 +00:00
Nguyễn Đức Hùng b34a82335d
bugfix: Add nil check in escapeAllStrings to prevent TypeError when upsert vectors (#3789) 2025-01-02 16:41:40 +00:00
Hans 9cceba2240
Add `rerank-2` and `rerank-2-lite` for Voyage AI Rerank Retriever (#3776)
Add `rerank-2`
2025-01-02 13:51:59 +00:00
Henry Heng 5ba0ded4cc
Feature/add nvdia nim (#3749)
* add nvdia nim

* add base path
2024-12-31 18:16:58 +00:00
Henry Heng 4e434fd725
Release/2.2.3 (#3756)
release @2.2.3
2024-12-23 12:03:03 +00:00
Anthony Bryan Gavilan Vinces a7c1ab881c
Feature/Add Neo4j GraphRag support (#3686)
* added: Neo4j database connectivity, Neo4j credentials, supports the usage of the GraphCypherQaChain node and modifies the FewShotPromptTemplate node to handle variables from the prefix field.

* Merge branch 'main' of github.com:FlowiseAI/Flowise into feature/graphragsupport

* revert pnpm-lock.yaml

* add: neo4j package

* Refactor GraphCypherQAChain: Update version to 1.0, remove memory input, and enhance prompt handling

- Changed version from 2.0 to 1.0.
- Removed the 'Memory' input parameter from the GraphCypherQAChain.
- Made 'cypherPrompt' optional and improved error handling for prompt validation.
- Updated the 'init' and 'run' methods to streamline input processing and response handling.
- Enhanced streaming response logic based on the 'returnDirect' flag.

* Refactor GraphCypherQAChain: Simplify imports and update init method signature

- Consolidated import statements for better readability.
- Removed the 'input' and 'options' parameters from the 'init' method, streamlining its signature to only accept 'nodeData'.

* add output, format final response, fix optional inputs

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-23 01:35:53 +00:00
Nguyễn Đức Hùng 93f3a5d98a
Feat/deepseek chat node (#3732)
* Feat: Add deepseek models to components configuration

* Feat: Implement Deepseek API integration with chat models and add SVG icon

* Refactor: Remove image input options and add missing baseOptions in deepseek chat node
2024-12-21 12:54:39 +00:00
Jérémy JOURDIN 0381a99c4d
[Feature] Repair JSON from LLM in StructuredOutputParserAdvanced (#3723)
Repair JSON from LLM in StructuredOutputParserAdvanced

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-21 12:51:56 +00:00
Pavel Nasovich bbe0203f4e
[Feature] Update Exa category filter with new values (#3746)
Added `financial report` and `linkedin profile` categories.
2024-12-20 18:43:25 +00:00
Abhishek Patil b29523d093
Feature/add composio tool (#3722)
* feat: add composio tool

* fix: improve error handling & field description

* update composio tools for refresh and sorting

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-19 13:36:56 +00:00
vijaykammili 2df129f91b
Vertex Gemini Custom Model Changes (#3737) 2024-12-19 11:40:14 +00:00
Jean Ibarz c809f4165a
feat: Add conversation history selection options to ConditionAgent node (#3719)
* feat: Enhance ConditionAgent with conversation history selection options

- Added a new parameter `conversationHistorySelection` to allow users to choose which messages from the conversation history to include in prompts.
- Options include: User Question, Last Conversation Message, All Conversation Messages, and Empty.
- Default selection is set to 'All Conversation Messages' for improved context management in sequential LLM and Agent nodes.

* Bump version from 2.0 to 3.0
2024-12-18 23:27:01 +00:00
Eduard-Constantin Ibinceanu 1b48d564f9
Add missing inputs (#3726)
* Add missing inputs

* Change version
2024-12-18 22:55:02 +00:00
Anthony Bryan Gavilan Vinces 2360f5fdeb
Feature/Add Azure Cognitive speech-to-text functionality (#3718)
* feat: Add Azure Cognitive Services integration for speech-to-text functionality

- Introduced a new credential class for Azure Cognitive Services.
- Updated speech-to-text processing to support Azure Cognitive Services as a provider.
- Enhanced UI components to include Azure Cognitive Services options and inputs for configuration.
- Added necessary imports and error handling for Azure API requests.

* Update SpeechToText.jsx linting

* refactor: Update audio file handling in SpeechToText component

- Removed the dependency on 'form-data' and replaced it with a Blob for audio file uploads.
- Simplified the audio file appending process to the form data.
- Cleaned up the headers in the Axios request by removing unnecessary form data headers.

This change enhances the efficiency of audio file processing in the speech-to-text functionality.

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-18 01:35:16 +00:00
Anthony Bryan Gavilan Vinces 4c29b2390c
Feature/Add Groq Whisper support (#3706)
* feat: Add Groq Whisper support to SpeechToText component

- Introduced a new speech-to-text provider, Groq Whisper, in both the backend and UI components.
- Updated SpeechToTextType to include GROQ_WHISPER.
- Implemented Groq client integration for audio transcription with customizable model, language, and temperature options.
- Added UI elements for Groq Whisper configuration, including input fields for model, language, and temperature settings.

* turn speech to text none status to false when other was selected

---------

Co-authored-by: Henry <hzj94@hotmail.com>
2024-12-17 23:11:07 +00:00
Jean Ibarz d5498858ec
Chore/Enhancement: Improve 'Require Approval' Description to Indicate MemoryAgent Dependency (#3680)
* Update 'Require Approval' button description to clarify dependency on MemoryAgent

* Refine RequiredApproval message description

* Fix message description by removing unscaped character ('\')

* Break line

* docs: clarify and enhance the "Require Approval" description for Agent node

* chore: slight update of the description
2024-12-17 19:39:49 +00:00
Henry Heng 85abd157a2
Bugfix/Get value with nested metadata filter (#3695)
add ability to get value with nested metadata filter
2024-12-12 14:57:38 +00:00
Ajay Satish bfd677059e
feat. add epub support #3629 (#3668)
* feat. add epub support

* Add dependencies
2024-12-12 13:30:31 +00:00
Jean Ibarz 26b78ad55a
feat: Add options to filter conversation history messages used in sequential LLM and Agent nodes (#3653)
* feat: Add option to disable conversation history

- Add new `disableConversationHistory` boolean parameter in LLMNodes.ts and Agent.ts to optionally skip including conversation history in prompts
- Fix potential error in Agent.ts when messages array is empty by adding null safety checks
- Improve memory efficiency by allowing stateless interactions when history isn't needed

* feat: add conversation history filtering options

Replace the disable conversation history feature with a more flexible filtering system that allows selecting:
- User question only
- Last message only
- All messages (default)
- No messages

This provides more granular control over conversation context management.

* chore: break lines

* chore: removed ending semi columns

* chore: fix eslint errors

* fix(sequentialagents): improve conversation history filtering logic

- Remove unnecessary state.messages check for user_question case
- Add proper null handling for last_message and all_messages cases
- Remove @ts-ignore comments with proper typing

* Update LLMNode.ts

* Update Agent.ts

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-12-12 13:29:28 +00:00
Eduard-Constantin Ibinceanu 99d4bacd8a
IBM Watsonx LLM node (#3674)
* Add node icon

* Add node
2024-12-11 10:42:49 +00:00
Henry Heng b087f4c4a1
Release/2.2.2 (#3673)
flowise@2.2.2 release
2024-12-10 16:14:22 +00:00
Henry Heng ddca80d4e0
Bugfix/Prevent open connections on typeorm datasource (#3652)
prevent open connections on typeorm datasource
2024-12-08 21:06:07 +00:00
Jean Ibarz 680fe8dee1
feat(models): add Llama 3.3 70B models to groqChat (#3651)
* feat(models): add Llama 3.3 70B models to groqChat

Add Meta's latest Llama 3.3 70B models to groqChat options:
- llama-3.3-70b-versatile: New versatile model for general tasks
- llama-3.3-70b-specdec: Specialized model for specific tasks

These models offer comparable quality to Llama 3.1 405B at 1/5th the size,
with improvements in:
- Reasoning and math capabilities
- General knowledge tasks
- Instruction following
- Tool use and JSON outputs
- Code generation and feedback

* Revert minor version bump
2024-12-08 01:24:29 +00:00
Henry Heng 7d1234a8b4
Bugfix/SQLite agent memory node (#3650)
* add dedicated agent memory nodes

* sqlite agent memory fix

* Update pnpm-lock.yaml
2024-12-06 23:50:43 +00:00
Henry Heng cadc3b8fb3
Feature/Add dedicated agent memory nodes (#3649)
add dedicated agent memory nodes
2024-12-06 22:16:01 +00:00
Henry Heng fe2ed26999
Feature/Custom Assistant Builder (#3631)
* add custom assistant builder

* add tools to custom assistant

* add save assistant button
2024-12-06 22:11:17 +00:00
Henry Heng e02045285f
Chore/Bump Pinecone Dep to V4 (#3646)
* bump dep

* Update pnpm-lock.yaml

* update pinecone to v4
2024-12-06 22:10:57 +00:00
Eduard-Constantin Ibinceanu e773181b61
IBM Watsonx embeddings node (#3648)
* Add icon image

* Add embeddings node

* Fix typo
2024-12-06 22:10:46 +00:00
João Paulo 09d20fa5ad
fix: change data source lifecycle on agent memory mysql saver (#3578)
* fix: change data source lifecycle on agent memory mysql saver

* Update mysqlSaver.ts

* Update pgSaver.ts

* linting fix

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-12-06 19:49:49 +00:00
Eduard-Constantin Ibinceanu ba8a462bf8
[Bugfix] Milvus search error (#3623)
Fix milvus search error
2024-12-03 23:41:39 +00:00
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
Henry Heng 3478b39a40
Release/2.2.0 (#3601)
flowise@2.2.0
2024-11-28 16:05:49 +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
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
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
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 d0571291b7
Release/2.1.4 (#3506)
release 2.1.4
2024-11-13 18:39:14 +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 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
Ryno ccc0088d0d
feat: Add BraveSearchAPI document loader (#3486) 2024-11-08 12:59: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:

1e9808ac68

* 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