langchain/docstore/arbitrary_fn.py/DocstoreFn/__init__
class DocstoreFn:    def __init__(
        self,
        lookup_fn: Callable[[str], Union[Document, str]],
    ):
        self._lookup_fn = lookup_fn