UnstructuredHTMLLoader fail when given Path
type document
#29090
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
Description
I'm trying to use langchain to parse HTML file and give a
Path
type variable according to the doc.The doc says
UnstructuredHTMLLoader
could receivefile_path: str | List[str] | Path | List[Path]
.However, actually it could only deal with the
str
type input...System Info
The text was updated successfully, but these errors were encountered: