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,
)
| 90 | |
| 91 | @abc.abstractmethod |
| 92 | def query( |
| 93 | self, |
| 94 | *args: Any, |
| 95 | **kwargs: Any, |
| 96 | ) -> List[Union[str, Image]]: |
| 97 | """Retrieve the keys from the vectorstores. |
| 98 | |
| 99 | Args: |
| 100 | data: the query data. |
| 101 | top_k: the number of results to return. |
| 102 | **kwargs: Other keyword arguments that subclasses might use. |
| 103 | |
| 104 | Returns: |
| 105 | the corresponding values from the memory. |
| 106 | """ |
no outgoing calls
no test coverage detected