mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
modify parse for topP and topK
This commit is contained in:
@@ -85,7 +85,7 @@ class Qdrant_Existing_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