mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 09:00:52 +03:00
Feature/Indexing (#1802)
* indexing * fix for multiple files upsert * fix default Postgres port * fix SQLite node description * add MySQLRecordManager node * fix MySQL unique index * add upsert history * update jsx ui * lint-fix * update dialog details * update llamaindex pinecone --------- Co-authored-by: chungyau97 <chungyau97@gmail.com>
This commit is contained in:
@@ -355,6 +355,11 @@ export const getUpsertDetails = (nodes, edges) => {
|
||||
innerNodes.push(nodes.find((node) => node.data.id === embeddingsId))
|
||||
}
|
||||
|
||||
if (vsNode.data.inputs.recordManager) {
|
||||
const recordManagerId = vsNode.data.inputs.recordManager.replace(/{{|}}/g, '').split('.')[0]
|
||||
innerNodes.push(nodes.find((node) => node.data.id === recordManagerId))
|
||||
}
|
||||
|
||||
for (const doc of connectedDocs) {
|
||||
const docId = doc.replace(/{{|}}/g, '').split('.')[0]
|
||||
const docNode = nodes.find((node) => node.data.id === docId)
|
||||
|
||||
Reference in New Issue
Block a user