- Embedded
- Python SDK
- JS/TS
Parameters
Returns
List[Tuple[Document, float]]: List of (Document, score) tuples where score is normalized [0, 1]Example Usage
_similarity_search_with_relevance_scores (internal method)
_similarity_search_with_relevance_scores (internal method)
The Embedded library also exposes Keyword Arguments:
_similarity_search_with_relevance_scores, an internal method that supports a score_threshold keyword argument for server-side score filtering:Example:
Async
Python async variants
Python async variants
The Embedded and Python SDK provide async versions of this method prefixed with
a:JS/TS methods are natively async — all signatures above already return
Promise<...>. No separate async variant is needed.