Ask a question to get started
Enter to sendā¢Shift+Enter new line
Gets a batch of documents by id. The default implementation only loops get_by_id. Subclasses that have faster ways to retrieve data by batch should implement this method.
get_by_id
mget( self, keys: Sequence[str], ) -> list[Document | None]
keys
Sequence[str]
List of IDs for the text.