mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
modify parse for topP and topK
This commit is contained in:
@@ -86,7 +86,7 @@ class QdrantUpsert_VectorStores implements INode {
|
||||
const embeddings = nodeData.inputs?.embeddings as Embeddings
|
||||
const output = nodeData.outputs?.output as string
|
||||
const topK = nodeData.inputs?.topK as string
|
||||
const k = topK ? parseInt(topK, 10) : 4
|
||||
const k = topK ? parseFloat(topK) : 4
|
||||
|
||||
// connect to Qdrant Cloud
|
||||
const client = new QdrantClient({
|
||||
|
||||
Reference in New Issue
Block a user