refactor: loader chunker typing (#324)

This commit is contained in:
cachho
2023-07-26 19:44:57 +02:00
committed by GitHub
parent a8552686b4
commit 55bfd7cafe
10 changed files with 34 additions and 9 deletions

View File

@@ -3,10 +3,11 @@ import logging
import requests
from bs4 import BeautifulSoup
from embedchain.loaders.base_loader import BaseLoader
from embedchain.utils import clean_string
class WebPageLoader:
class WebPageLoader(BaseLoader):
def load_data(self, url):
"""Load data from a web page."""
response = requests.get(url)