Spaces:
Running
on
Zero
Running
on
Zero
Delete web_search_interfaces.py
Browse files- web_search_interfaces.py +0 -15
web_search_interfaces.py
DELETED
@@ -1,15 +0,0 @@
|
|
1 |
-
import abc
|
2 |
-
|
3 |
-
|
4 |
-
class WebCrawler(abc.ABC):
|
5 |
-
@abc.abstractmethod
|
6 |
-
def get_website_content_from_url(self, url: str):
|
7 |
-
"""Get the website content from an url."""
|
8 |
-
pass
|
9 |
-
|
10 |
-
|
11 |
-
class WebSearchProvider(abc.ABC):
|
12 |
-
@abc.abstractmethod
|
13 |
-
def search_web(self, query: str):
|
14 |
-
"""Searches the web and returns a list of urls of the result"""
|
15 |
-
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|