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

Pierre/json images #62

Merged
merged 5 commits into from Mar 6, 2024
Merged

Pierre/json images #62

merged 5 commits into from Mar 6, 2024

Conversation

hexapode
Copy link
Contributor

@hexapode hexapode commented Mar 6, 2024

Add support for JSON and images

Usage:

    os.environ["LLAMA_CLOUD_API_KEY"] = "llx-..."
    parser = LlamaParse()
    filepath = os.path.join(os.path.dirname(__file__), "pdf_path.pdf")
    result = parser.get_json_result(filepath)
    print(result)
    images = parser.get_images(result, "/Users/pierre/Code/llama_parse/tmp")
    print(images)

@hexapode hexapode requested a review from jerryjliu March 6, 2024 09:54
@jerryjliu jerryjliu merged commit 81843b9 into main Mar 6, 2024
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