Commit Graph

24 Commits

Author SHA1 Message Date
Lê Nam Khánh 761ffe6851
chore: fix typos in packages/components/nodes/prompts/ChatPromptTemplate/ChatPromptTemplate.ts (#5438)
Fix typos in packages/components/nodes/prompts/ChatPromptTemplate/ChatPromptTemplate.ts
2025-11-07 11:30:01 +00:00
Henry Heng 84a0a45ff7
Chore/leave default timeout for sandbox execution (#5263)
leave default timeout for sandbox execution
2025-09-28 11:27:19 +01:00
Henry Heng dca91b979b
Refactor/Update code execution sandbox implementation across components (#4904)
refactor: Update code execution sandbox implementation across components

- Replaced NodeVM usage with a new createCodeExecutionSandbox function for improved sandbox management.
- Enhanced JavaScript code execution with executeJavaScriptCode function, allowing for better handling of libraries and output streaming.
- Updated multiple components to utilize the new sandboxing approach, ensuring consistent execution environment.
- Added validation for UUIDs and URLs in various tools to enhance input safety.
- Refactored input handling in CustomFunction and IfElseFunction to streamline variable management.
2025-07-21 00:09:01 +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 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
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
Henry Heng 72a03dc6e8
Bugfix/Returned message array (#3065)
add fix for returned message array
2024-08-23 13:52:07 +01:00
Henry Heng 0a36aa7ef4
Feature/Add message history to agents (#3031)
add message history to agents
2024-08-17 19:28:01 +01:00
Lucas Cruz c7306c93d7
Add prompt template from langfuse (#2883)
* feat: add langfuse prompt template

* style: change component label

* style: adjust some semi-colons and add author field

* add credential to PromptLangfuse.ts

* fix linting issue

---------

Co-authored-by: Henry Heng <henryheng@flowiseai.com>
2024-08-07 12:08:31 +01:00
Henry 0606d2c6dd upgrade langchain version 0.1.0 2024-01-26 23:41:55 +00:00
abhishekshankr a763297676 Fixed icons borders 2023-12-23 11:27:32 -05:00
abhishekshankr 6e68df0d27 Update icons 2023-12-18 03:51:21 -05:00
vinodkiran cd6538c5f2 Spelling Corrections. 2023-10-26 11:11:10 +05:30
Henry 57bfd5f1b1 add json parse fix 2023-10-25 13:53:33 +01:00
Yavisht Katgara b34856b71b fix: ChatPromptTemplate function name 2023-10-16 18:32:25 +11:00
Henry 05dd23b01d - update marketplaces
- add version to nodes and credentials
- hover over node actions
2023-07-28 15:56:40 +01:00
Henry 2f10d46abc add handleEscapeChar 2023-07-25 00:32:50 +01:00
Henry 511c4995e9 format prompt values revamp 2023-06-28 22:59:56 +01:00
chungyau97 b6a5cd0cb3 remove returnJSONStr function 2023-06-27 23:07:31 +08:00
chungyau97 ae3387ceda add returnJSONStr 2023-06-05 21:44:37 +07:00
Henry 17207e01db add format prompt values to prompt template 2023-04-18 23:27:05 +01:00
Henry 9281b57ef1 - update LangchainJS version
- add types & interfaces

- small ui bug fix

- update marketplace files
2023-04-13 18:32:00 +01:00
Henry 58e06718d1 Add more nodes for agents, loaders 2023-04-10 13:56:44 +01:00
Henry 05c86ff9c5 Initial push 2023-04-06 22:17:34 +01:00