MCPcopy
hub / github.com/langroid/langroid / get_documents_by_ids

Method get_documents_by_ids

langroid/vector_store/base.py:414–423  ·  view source on GitHub ↗

Get documents by their ids. Args: ids (List[str]): List of document ids. Returns: List[Document]: List of documents

(self, ids: List[str])

Source from the content-addressed store, hash-verified

412
413 @abstractmethod
414 def get_documents_by_ids(self, ids: List[str]) -> List[Document]:
415 """
416 Get documents by their ids.
417 Args:
418 ids (List[str]): List of document ids.
419
420 Returns:
421 List[Document]: List of documents
422 """
423 pass
424
425 @abstractmethod
426 def delete_collection(self, collection_name: str) -> None:

Callers 1

add_context_windowMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected