mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-08-17 02:10:31 +03:00
feat(url): added html loader instead of text
This commit is contained in:
parent
971aa083a5
commit
ea5883ddb9
@ -1,5 +1,5 @@
|
||||
from .common import process_file
|
||||
from langchain.document_loaders import TextLoader
|
||||
from langchain.document_loaders import UnstructuredHTMLLoader
|
||||
|
||||
def process_html(vector_store, file):
|
||||
return process_file(vector_store, file, TextLoader, ".html")
|
||||
return process_file(vector_store, file, UnstructuredHTMLLoader, ".html")
|
Loading…
Reference in New Issue
Block a user