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

feat: add ignoreErrors flag to LlamaParse #959

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

KindOfAScam
Copy link
Contributor

No description provided.

Copy link

changeset-bot bot commented Jun 22, 2024

🦋 Changeset detected

Latest commit: 5f23c8f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages
Name Type
llamaindex Patch
docs Patch
@llamaindex/community Patch
@llamaindex/experimental Patch
@llamaindex/cloudflare-worker-agent-test Patch
@llamaindex/next-agent-test Patch
@llamaindex/nextjs-edge-runtime-test Patch
@llamaindex/next-node-runtime-test Patch
@llamaindex/waku-query-engine-test Patch
@llamaindex/autotool-02-next-example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Jun 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
llama-index-ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2024 6:23am

@KindOfAScam KindOfAScam changed the title feat: add ignoreErrors flag to LlamaParse + update docs feat: add ignoreErrors flag to LlamaParse Jun 23, 2024
@KindOfAScam KindOfAScam marked this pull request as ready for review June 23, 2024 00:27
@KindOfAScam
Copy link
Contributor Author

KindOfAScam commented Jun 24, 2024

This also fixes an error that would not create the directory if it did not exist in getImages
#961

for (const image of page.images) {
const imageName = image.name;
// Get the full path
let imagePath = `${downloadPath}/${jobId}-${imageName}`;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you factor that out to a own method? it's getting too big...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Factored this and fetching and saving the image out

.changeset/tasty-bears-joke.md Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants