Spaces:
Running
on
Zero
Running
on
Zero
import abc | |
class WebCrawler(abc.ABC): | |
def get_website_content_from_url(self, url: str): | |
"""Get the website content from an url.""" | |
pass | |
class WebSearchProvider(abc.ABC): | |
def search_web(self, query: str): | |
"""Searches the web and returns a list of urls of the result""" | |
pass |