Add couchbase vectore store support (#3093)

* Add couchbase vectore store support

* Uncomment couchbase code

* lint fix

---------

Co-authored-by: Henry <hzj94@hotmail.com>
This commit is contained in:
Prajwal Pai
2024-10-26 07:06:38 +05:30
committed by GitHub
parent cdd5c39bab
commit 884dd8949a
8 changed files with 159 additions and 148 deletions
@@ -1,7 +1,3 @@
/*
* Temporary disabled due to the incompatibility with the docker node-alpine:
* https://github.com/FlowiseAI/Flowise/pull/2303
import { INodeParams, INodeCredential } from '../src/Interface'
class CouchbaseApi implements INodeCredential {
@@ -36,4 +32,3 @@ class CouchbaseApi implements INodeCredential {
}
module.exports = { credClass: CouchbaseApi }
*/
@@ -10,9 +10,11 @@ baseUrl
```json
{
"config_id": "bedrock",
"messages": [{
"role":"user",
"content":"Hello! What can you do for me?"
}]
"messages": [
{
"role": "user",
"content": "Hello! What can you do for me?"
}
]
}
```
```
@@ -1,7 +1,3 @@
/*
* Temporary disabled due to the incompatibility with the docker node-alpine:
* https://github.com/FlowiseAI/Flowise/pull/2303
import { flatten } from 'lodash'
import { Embeddings } from '@langchain/core/embeddings'
import { Document } from '@langchain/core/documents'
@@ -231,4 +227,3 @@ class Couchbase_VectorStores implements INode {
}
module.exports = { nodeClass: Couchbase_VectorStores }
*/
+1
View File
@@ -69,6 +69,7 @@
"assemblyai": "^4.2.2",
"axios": "1.6.2",
"cheerio": "^1.0.0-rc.12",
"couchbase": "4.4.1",
"chromadb": "^1.5.11",
"cohere-ai": "^7.7.5",
"crypto-js": "^4.1.1",
+5 -5
View File
@@ -37,11 +37,11 @@
}
.chatflow-canvas .react-flow__handle-connecting {
cursor: not-allowed;
background: #db4e4e !important;
cursor: not-allowed;
background: #db4e4e !important;
}
.chatflow-canvas .react-flow__handle-valid {
cursor: crosshair;
background: #5dba62 !important;
}
cursor: crosshair;
background: #5dba62 !important;
}