Function: getTopKEmbeddingsLearner()
getTopKEmbeddingsLearner(
queryEmbedding
,embeddings
,similarityTopK
?,embeddingsIds
?,queryMode
?): [number
[],any
[]]
Parameters
• queryEmbedding: number
[]
• embeddings: number
[][]
• similarityTopK?: number
• embeddingsIds?: any
[]
• queryMode?: VectorStoreQueryMode
= VectorStoreQueryMode.SVM
Returns
[number
[], any
[]]