Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exactly one of file, filename and url must be specified in Unstructured Component #4359

Closed
erichare opened this issue Nov 1, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@erichare
Copy link
Collaborator

erichare commented Nov 1, 2024

Bug Description

This is an upstream issue as reported in: langchain-ai/langchain#26697

Reproduction

Run the following code:

from langchain_unstructured import UnstructuredLoader

loader = UnstructuredLoader(web_url="https://www.example.com/")
docs = loader.load()

for doc in docs:
print(f"{doc}\n")

Observe Exactly one of file, filename and url must be specified error

Expected behavior

Expected successful return from unstructured file loader

Who can help?

No response

Operating System

macOS 15.1

Langflow Version

1.0.19

Python Version

3.12

Screenshot

No response

Flow File

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant