Ask a question to get started
Enter to sendā¢Shift+Enter new line
Search the marqo index for the most similar documents.
similarity_search( self, query: Union[str, Dict[str, float]], k: int = 4, **kwargs: Any = {} ) -> List[Document]
query
Union[str, Dict[str, float]]
The query for the search, either
k
int
4
The number of documents to return. Defaults to 4.