Commit Graph

9 Commits

Author SHA1 Message Date
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 0606d2c6dd upgrade langchain version 0.1.0 2024-01-26 23:41:55 +00: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
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 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