Perform a similarity search with MyScale by vectors
similarity_search_by_vector(
self,
embedding: List[float],
k: int = 4,
where_str: Optional[str] = None,
**kwargs: Any = {}
) -> List[Document]| Name | Type | Description |
|---|---|---|
query* | str | query string |
k | int | Default: 4Top K neighbors to retrieve. Defaults to 4. |
where_str | Optional[str] | Default: Nonewhere condition string. Defaults to None. |
NOTE* | unknown | Please do not let end-user to fill this and always be aware
of SQL injection. When dealing with metadatas, remember to
use |