langchain/vectorstores/base.py/VectorStore/as_retriever
class VectorStore:    def as_retriever(self, **kwargs: Any) -> VectorStoreRetriever:
        return VectorStoreRetriever(vectorstore=self, **kwargs)