Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
dl4ds
/
tutor_dev
like
0
Configuration error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
1898f97
tutor_dev
/
modules
/
retriever
/
base.py
XThomasBU
initial commit
d92c997
5 months ago
raw
Copy download link
history
blame
Safe
245 Bytes
# template for retriever classes
class
BaseRetriever
:
def
__init__
(
self, config
):
self.config = config
def
return_retriever
(
self
):
"""
Returns the retriever object
"""
raise
NotImplementedError