Perform a search on a query string and return results with score.
similarity_search_with_score_by_vector(embedding: List[float], k: int = 4, param: Optional[dict] = None, expr: Optional[str] = None, timeout: Optional[int] = None, **kwargs: Any) → List[Tuple[Document, float]][source]¶
Perform a search on a query string and return results with score.
Examples using TencentVectorDB¶
TencentVectorDB
Tencent Cloud VectorDB