[PR #400] [MERGED] Remove JSON from valid result types #722

Closed
opened 2026-02-16 00:18:54 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/llama_cloud_services/pull/400
Author: @BinaryBrain
Created: 9/13/2024
Status: Merged
Merged: 9/18/2024
Merged by: @BinaryBrain

Base: mainHead: sacha/fix/result-type-no-json


📝 Commits (1)

  • 35c5497 Remove JSON from valid result types

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 llama_parse/utils.py (+0 -1)

📄 Description

Make this invalid (as it should be):

parser = LlamaParse(result_type="json")
documents = parser.load_data(pdf_file_name)

The way of getting the json is:

parser.get_json_result(path)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/llama_cloud_services/pull/400 **Author:** [@BinaryBrain](https://github.com/BinaryBrain) **Created:** 9/13/2024 **Status:** ✅ Merged **Merged:** 9/18/2024 **Merged by:** [@BinaryBrain](https://github.com/BinaryBrain) **Base:** `main` ← **Head:** `sacha/fix/result-type-no-json` --- ### 📝 Commits (1) - [`35c5497`](https://github.com/run-llama/llama_cloud_services/commit/35c54971d063e043fc89416236a4cac40a603935) Remove JSON from valid result types ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `llama_parse/utils.py` (+0 -1) </details> ### 📄 Description Make this invalid (as it should be): ```py parser = LlamaParse(result_type="json") documents = parser.load_data(pdf_file_name) ``` The way of getting the json is: ```py parser.get_json_result(path) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 00:18:54 -05:00
yindo closed this issue 2026-02-16 00:18:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/llama_cloud_services#722