Ask a question to get started
Enter to sendā¢Shift+Enter new line
Return documents from Marqo that are similar to the query as well as their scores.
similarity_search_with_score( self, query: Union[str, Dict[str, float]], k: int = 4 ) -> List[Tuple[Document, float]]
query
str
The query to search with, either as a string or a weighted
k
int
4
The number of documents to return. Defaults to 4.