Retrieve the keys from the vectorstores. Args: data: the query data. top_k: the number of results to return. **kwargs: Other keyword arguments that subclasses might use. Returns: the corresponding values from the memory.
(
self,
*args: Any,
**kwargs: Any,
)
| 73 | |
| 74 | @abc.abstractmethod |
| 75 | def similarity_search( |
| 76 | self, |
| 77 | *args: Any, |
| 78 | **kwargs: Any, |
| 79 | ) -> List[Union[str, Image]]: |
| 80 | """Retrieve the keys from the vectorstores. |
| 81 | |
| 82 | Args: |
| 83 | data: the query data. |
| 84 | top_k: the number of results to return. |
| 85 | **kwargs: Other keyword arguments that subclasses might use. |
| 86 | |
| 87 | Returns: |
| 88 | the corresponding values from the memory. |
| 89 | """ |
| 90 | |
| 91 | @abc.abstractmethod |
| 92 | def query( |
nothing calls this directly
no outgoing calls
no test coverage detected