Package sk.iway.iwcm.rag.vectorstore
Class VectorSearchResult
java.lang.Object
sk.iway.iwcm.rag.vectorstore.VectorSearchResult
Result from a vector similarity search.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleReturns the rerank score when available, otherwise the original retrieval score.voidsetChunkId(Long chunkId) voidsetChunkIndex(Integer chunkIndex) voidsetChunkText(String chunkText) voidsetEntityId(Long entityId) voidsetEntityType(String entityType) voidsetRerankScore(Double rerankScore) voidsetSimilarity(Double similarity) voidsetSourcePath(String sourcePath) voidsetSourceTitle(String sourceTitle) voidsetSourceUrl(String sourceUrl)
-
Constructor Details
-
VectorSearchResult
public VectorSearchResult() -
VectorSearchResult
-
-
Method Details
-
getRankingScore
public double getRankingScore()Returns the rerank score when available, otherwise the original retrieval score. -
getChunkId
-
getEntityType
-
getEntityId
-
getChunkIndex
-
getChunkText
-
getSimilarity
-
getRerankScore
-
getSourceTitle
-
getSourceUrl
-
getSourcePath
-
setChunkId
-
setEntityType
-
setEntityId
-
setChunkIndex
-
setChunkText
-
setSimilarity
-
setRerankScore
-
setSourceTitle
-
setSourceUrl
-
setSourcePath
-