mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
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:
@@ -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 }
|
||||
*/
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user