Ask a question to get started
Enter to sendā¢Shift+Enter new line
Run similarity search with PGVector with distance.
asimilarity_search( self, query: str, k: int = 4, filter: Optional[dict] = None, **kwargs: Any = {} ) -> List[Document]
query
str
Query text to search for.
k
int
4
Number of results to return. Defaults to 4.
filter
Optional[Dict[str, str]]
None
Filter by metadata. Defaults to None.