mirror of
https://github.com/run-llama/llama_cloud_services.git
synced 2026-08-26 16:56:36 -04:00
Issue with LlamaParse content_guideline_instruction #431
Closed
opened 2026-02-16 00:17:49 -05:00 by yindo
·
5 comments
No Branch/Tag Specified
main
claude/slack-session-O3953
dependabot/github_actions/slackapi/slack-github-action-3.0.3
dependabot/github_actions/pnpm/action-setup-6
cursor/llamaparse-heartbeat-timeout-retry-d4fc
cursor/s3-transaction-race-6a10
cursor/llamacloud-chart-version-0-7-1-2dc9
nprad/extract-tests
changeset-release/main
nprad/update
nprad/xlsx
logan/deprecate_llama_parse
nprad/e2e-test-freq
nprad/fix-e2e-1
nprad/fix-e2e
nprad/e2e-test-invalidate-cache
nprad/slack-msg
nprad/retries
neerajprad-patch-3
nprad/reparse-yml2
nprad/reparse-yml
nprad/hourly-extract-tests
nprad/bump-patch
nprad/bump-version
claude/refactor-invalid-extraction-error-j6fJs
pierre/supportNoExtensionFiles
pierre/allowNotExtFiles
adrian/forgot-ts-changeset
adrian/bbox-support
logan/deprecate_notice
logan/fix_publish
clelia/corrent-links-in-readme
logan/improve_polling
parse-example
logan/client_tier
javier/li-4421-notebook-demo-using-split-api
fix-sheets-api
add_sheets_options
nprad/bump-v
logan/line_level_bbox
logan/dummy_release
logan/no_presigned_url
timeout
roman/batch-parse-example
adrian/testing-utils
clelia/agent-data-mock
pierre/moreParseParameters
cursor/implement-test-plan-and-create-mocked-tests-gpt-5.1-codex-high-3eb6
dependabot/github_actions/actions/checkout-6
cursor/implement-llama-cloud-testing-utilities-and-tests-gpt-5.1-codex-high-ae1a
nprad/nb-extract
logan/propagate_retrieval_mode
logan/beta_spreadsheet
adrian/fix-npm-build
adrian/ts-params
adrian/no-org-classify
nprad/bump-0.6.78
pjames27/job-id-on-parse-failure
nprad/sourcetxt
clelia/add-classify-ts
dependabot/github_actions/actions/setup-node-6
jerry/fix_classify_nb
bogdan/add-aggressive-table-extraction
logan/safest_types_possible
logna/fix_default_bbox_values
pjames27/only-escape-single-dollar
adrian/re-enable-js
logan/loosen_packaing
terry/fix_citataion_type
adrian/fixup-tagging
logan/fix_changeset_harder
logan/fix-version
adrian/fix-tag
pjames27/escaping-notebook-md-dollarsigns
adrian/tmp-disable-ts-release
adrian/changesets-fixes
adrian/fix-token
adrian/nvmrc
adrian/changesets
adrian/update-llama-cloud-dep
mnl/parse-classify-extract
cursor/LI-3624-handle-validation-errors-for-agent-data-retrieval-7504
adrian/extraction-metadata-bug
cursor/LI-3623-add-failing-test-for-citation-field-bug-9352
adrian/no-org-id
cursor/LI-3577-refactor-agent-fields-in-llama-cloud-services-1796
mnl/getting_started_multimodal
parse-error-handling
jerry/add_classify_extract_nb
mnl/add-streaming-citations
pierre/ChartAndBbox
nprad/v0.6.64
nprad/remove-report
clelia/fix-ts-release-notes
adrian/fix-v-prefix
adrian/client-unification
adrian/lint-version
jerry/new_getting_started_notebook
surface-errors
jerry/fix_preset_nb
logan/update_notebooks
jerry/add_parse_preset_notebooks
adrian/override-base-url
logan/deprecate_some_methods
jerry/fix_composite_retriever
bump-llama-cloud-services-0-1-38
adrian/extract-file
adrian/handle-error-field
fix/export-extracted-field-metadata-types
adrian/xdist
adrian/fix-lost-dimension
logan/sec_fixes
logan/fix_audio_results
nprad/update-extract-doc
clelia/refactor-parse-ts
clelia/add-extract-to-ts
clelia/changesets
nprad/update-extract
clelia/fix-python-tests
llama-cloud-index-demo
ms/add-e2e-tests
nprad/claude
ms/remove-llamaindex
adrian/re-enable
adrian/citation-confidence-fixes
adrian/extracted-citations
clelia/restructure-docs
clelia/delete-symlink-examples
clelia/examples-symlink
clelia/add-changesets
clelia/ts-examples
logan-markewich-patch-1
clelia/no-git-checks-on-publish
clelia/add-ts-examples
clelia/ts-refactoring
clelia/add-llamacloud-index
clelia/fix-npm-release
adrian/citations
javier/bump-llamacloud-version
clelia/monorepo
multimodal-reportgen-agent
adrian/derp
adrian/public-agent-data
update_get_result
adrian/update-0.6.49
adrian/full-md
nprad/update-v0.6.48
clelia/v0.6.47
clelia/add-table-extraction
rebelde/deprecate-llama-parse
adrian/agent-file-fields
pierre/merge_tables_across_pages_in_markdown
adrian/agent-data
logan/relax_pydantic_job_object
nprad/v0.6.42
pierre/headersFooters
nprad/bump-v0.6.39
logan/except_more
add-rpe
nprad/bump-v0.6.37
nprad/fix-flaky
nprad/v0.6.36
nprad/retry-job-fetch
nprad/v-0.6.35
logan/fix_partition
pierre/high_res_ocr
pierre/addWarningOnUnusedParameter
logan/bump_llama_cloud
jerry/add_fund_analysis_nb
nprad/bump-v0.6.30
suo/allow_none_project
logan/more_optional_types
logan/v0.6.25
pierre/outlined_table_extraction
logan/v0.6.24
nprad/insider-trans
nprad/bump-v-0.6.23
fix-verify
logan/v0.6.22
extract-with-citations
logan/more_optional
logan/v0.6.20
sacha/v0.6.19
pierre/auto_mode_configuration_json
pierre/preset
logan/original_width_height_optional
bump-v0.6.16
nprad/upgrade-le
logan/nits
pierre/page_error
logan/llama-report-tests
sacha/feat/add-markdown_table_multiline_header_separator
nprad/file-col
logan/parse_readme_nits
logan/v0.6.12
logan/new_result_object
nprad/le-docs
bump-v0.6.11
logan/v0.6.10
nprad/text-input-support
pierre/add_compact_markdown_table
nprad/pooling
nprad/support-bytes
marplex/parse_layout_agent_demo
neerajprad-patch-2
jerry/add_dd_notebook
nprad/rename-test-endpoint
jerry/add_solar_panel
mnl/eu-saas-readme
jerry/fix
jerry/extract_demo
bump-v0.6.9
pierre/update_parse_mode
nprad/nb-update
bump-v0.6.7
nprad/httpx-params-only
nprad/custom-httpx-client
nprad/xfail-report
bump-v0.6.6
nprad/update-lc
george/parse-retry
ljv/sec-edits
nprad/sec-10k
bump-v0.6.5
sacha/feat/adaptive_long_table
bump-0.6.3
neerajprad-patch-1
logan/vbump
nprad/add-le
pierre/upParameters
logan/fix_workflow
logan/org_id
jerry/add_gemini2_flash_nb
logan/v0.6.0
logan/refactor_services
sacha/fix/release-pipeline
pierre/newParameters
logan/v0.5.19
pierre/newFeatures
jerry/update_auto_mode
ljv/auto-mode-extended
jerry/auto_mode_notebook
pierre/htmlHideNavigationElements
ljv/json-mode-tour
pierre/morearguments
logan/add_test
jerry/dynamic_section_retrieval
pierre/input_url
pierre/xlsx2
pierre/newParams
jerry/mm_report_gen_image
sacha/feat/continuous-mode
sacha/chore/gh-template-update
jerry/fix_rfp_example
jerry/add_annotate_links
sacha/feat/formatting-instruction
sacha/feat/add-missing-parameters
jerry/add_rfp_workflow
jerry/add_mm_contextual_retrieval
logan/check_error
jerry/fix_excel_nb
jerry/move_o1_excel
pierre/premium_mode
jerry/fix_mm_slide_deck
sacha/fix/result-type-no-json
pierre/fix_path
sour/bump
jerry/update_readme
suo/take_screenshot
jerry/add_report_gen_agent
jerry/add_report_example
jerry/small_edits
jerry/add_gpt4omini_example
pierre/fix_page_separator
jerry/nit_fix_multimodal
jerry/add_sonnet
jerry/nit_fix
jerry/add_mm_notebook
pierre/new_param
logan/v0.4.5
pierre/new_params
jerry/dcf_rag_v2
jerry/add_split_by_page
jerry/rewrite_advanced_example
pierre/new_options
jerry/add_dcf_excel
jerry/add_kg_agent
pierre/spreadsheet
fastMode
logan/add_features
fix_img_path
jerry/add_caltrain_weekend_doc
jerry/add_gpt4o_mm_rag
jerry/fix_badge
jerry/caltrain_schedule
jerry/gpt4o_nb
logan/new_params
logan/fix_image_extension
html
html_support
update-notebooks
logan/fix_tests
logan/v0.4.1
logan/qol_fixes
logan/0.4.0
pierre/extend_formats
pierre/wip
jerry/fix_mongodb_nb
jerry/fix_advanced_title
jerry/revert_revert
hz/json
logan/openai_agent
jerry/fix_grammar
new_demo
ljv/parsing-instructions-demo
jerry/add_financial_powerpoint
jerry/add_ppt_demo
jerry/support_more_file_types
logan/fix_json_bug
jerry/add_json_cookbook
pierre/json-images
logan/fix_language
jerry/add_table_comparisons
jerry/bump_version_0.3.5
jerry/add_language_cookbook
pierre/add_language_support
jerry/new_example_astra
jerry/fix_astra_example
logan/async_batch
hz/demo_v5
hz/demo_v4
logan/update_docs
jerry/fix_v10
hz/demo_V3
hz/demo_v1
hz/llama_p_demo
suo/bump_version
suo/handle_exception
hz/demo_v2
hz/hz_pdf
sour/print_job_id
jerry/nits
hz/demo
llama_parse@0.6.94
llama-cloud-services-py@0.6.94
llama_parse@0.6.93
llama-cloud-services-py@0.6.93
llama_parse@0.6.92
llama-cloud-services@0.5.4
llama-cloud-services-py@0.6.92
llama_parse@0.6.91
llama-cloud-services-py@0.6.91
llama_parse@0.6.90
llama-cloud-services-py@0.6.90
llama-cloud-services@0.5.3
llama-cloud-services@0.5.2
llama_parse@0.6.89
llama-cloud-services-py@0.6.89
llama-cloud-services@0.5.1
llama_parse@0.6.88
llama-cloud-services@0.4.3
llama-cloud-services-py@0.6.88
llama_parse@0.6.87
llama-cloud-services-py@0.6.87
llama_parse@0.6.86
llama-cloud-services-py@0.6.86
llama_parse@0.6.85
llama-cloud-services-py@0.6.85
llama_parse@0.6.84
llama-cloud-services-py@0.6.84
llama_parse@0.6.83
llama-cloud-services-py@0.6.83
llama_parse@0.6.82
llama-cloud-services@0.4.2
llama-cloud-services-py@0.6.82
llama_parse@0.6.81
llama-cloud-services@0.4.1
llama-cloud-services-py@0.6.81
llama_parse@0.6.80
llama-cloud-services-py@0.6.80
llama_parse@0.6.79
llama-cloud-services@0.4.0
llama-cloud-services-py@0.6.79
llama_parse@0.6.78
llama-cloud-services-py@0.6.78
llama_parse@0.6.77
llama-cloud-services-py@0.6.77
llama-cloud-services@0.3.10
llama-cloud-services@0.3.9
llama_parse@0.6.76
llama-cloud-services-py@0.6.76
llama_parse@0.6.75
llama-cloud-services-py@0.6.75
llama_parse@0.6.74
llama-cloud-services-py@0.6.74
llama_parse@0.6.73
llama-cloud-services@0.3.8
llama-cloud-services-py@0.6.73
llama_parse@0.6.72
llama-cloud-services-py@0.6.72
llama-cloud-services@0.3.7
v0.6.69
v0.6.68
llama-cloud-services@0.3.6
v0.6.67
v0.6.66
llama-cloud-services@0.3.5
v0.6.65
v0.6.64
llama-cloud-services@0.3.4
v0.6.63
v0.6.62
v0.6.60
v0.6.59
llama-cloud-services@0.3.3
llama-cloud-services@0.3.2
v0.6.58
v0.6.57
llama-cloud-services@0.3.1
v0.6.56
llama-cloud-services@0.3.0
v0.6.55
llama-cloud-services@v0.2.0
v0.6.54
llama-cloud-services@0.1.0
v0.6.53
v0.6.52
v0.6.51
v0.6.50
v0.6.49
v0.6.48
v0.6.47
v0.6.46
v0.6.45
v0.6.44
v0.6.43
v0.6.42
v0.6.41
v0.6.40
v0.6.39
v0.6.38
v0.6.37
v0.6.36
v0.6.35
v0.6.33
v.0.6.33
v0.6.32
v0.6.31
v0.6.30
v0.6.29
v0.6.28
v.0.6.27
v0.6.26
v0.6.25
v0.6.24
v0.6.23
v0.6.22
v0.6.21
v0.6.20
v0.6.19
v0.6.18
v0.6.17
v0.6.16
v0.6.15
v0.6.14
v0.6.12
v0.6.11
v0.6.10
v0.6.9
v0.6.8
list
v0.6.7
v0.6.6
v0.6.5
v0.6.4
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.20
v0.5.19
v0.5.18
v0.5.17
v0.5.16
v0.5.15
v0.5.14
v0.5.13
v0.5.12
v0.5.11
v0.5.10
v0.5.9
v0.5.8
v0.5.7
v0.5.6
v0.5.5
v0.5.4
v0.5.3
v0.5.2
v0.5.1
v0.5.0
v0.4.9
v0.4.8
v0.4.7
v0.4.6
v0.4.5
v0.4.4
v0.4.3
v0.4.2
v0.4.1
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: run-llama/llama_cloud_services#431
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mehwishh247 on GitHub (Feb 15, 2025).
Describe the bug
While running LlamaParse library through a Python script, the code just stopped reading the content_guideline_instruction. The same instructions work using the web GUI, but when initiated through Python script, it doesn't work
Files
medical_data.pdf
Job ID
2c92a6ea-42d4-46ac-83ca-afb9d7250aee
390c00c8-26d6-4469-a8de-4169ce229fa4
bf987cc7-226e-4ddf-bccb-bdf144ede533
0b183e90-6f4b-47b9-9349-9afec1bf56df
Client:
Please remove untested options:
Additional context
I used in default mode (balanced or accurate). I set the content_guideline_instruction instead of parsing_instructions since it was deprecated. Just in case, I tested the code with parsing instructions as well, but it still didn't work. I checked the job history and it just isn't reading the guidelines. After trying for at least 10 time, only one job actually read the instructions as template. I tried again immediately and it didn't work. Apart from instructions, I used default settings for everything.
@hitoshyamamoto commented on GitHub (Feb 15, 2025):
I’m experiencing the same issue#621.
I’ve also been using LlamaParse frequently, and after upgrading to v0.6.1, I noticed that the new parameters (e.g., content_guideline_instruction) are not being applied properly when running through the Python script. Like you mentioned, it seems to ignore the guidelines.
I started noticing this issue about 12 hours ago, and since then, I haven’t been able to get consistent results.
Additionally, I came across this documentation from LlamaCloud, which mentions new parameters like user_prompt, system_prompt_append, and system_prompt. However, when checking the LlamaParse method in the API, I couldn’t find these parameters available. Do you know if they are planned to be added in a future release?
Also, I noticed that the parsing_instruction parameter is being referred to as "template" in JobParameters.
Hopefully, the devs can clarify this soon.
@mehwishh247 commented on GitHub (Feb 16, 2025):
I hope so too. I noticed the issue around the same time when my script broke. I also noticed through web GUI how they changed the prompt names to user prompt, system prompt append, and system prompt, which are equivalent to what you wrote. I think there might be a new update coming with changed parameter names. And the new and old parameters are just not linking together. Possibly they have merged a PR into something that is affecting the process instead of pushing it as final update.
@judithnat commented on GitHub (Feb 16, 2025):
Also having the same problem. Was working perfectly but when retested yesterday, instead of nicely structured text we get just text extraction.
Lots of the documents have not been undated.
Parsing instruction seems to have been replaced by content_guideline_instruction etc. and even that is deprecated in favour of prompts. But NONE OF THESE WORK. When viewing job parameters in the sandbox they are all empty
Very difficult to deal with when working on production code
@hitoshyamamoto commented on GitHub (Feb 16, 2025):
I received a response from one of the repository contributors yesterday (issue#621), suggesting that I use the parsing_instruction parameter. I also replied to him today after testing again, and unfortunately, the issue still persists.
For now, I'll be using parsing_instruction instead of the other parameters introduced in versions 0.6.0 and 0.6.1 until this is clarified or fixed in a future update.
Additionally, I tested the new parameters that appear in the GUI—user_prompt, system_prompt_append, and system_prompt—but they do not seem to be available in the LlamaParse() method. I’ll be waiting for the next update and looking forward to the contributor’s response regarding this.
Let’s hope we get an official response soon regarding these changes and whether the new parameters are expected to work properly.
@SaiCharan878 commented on GitHub (Jun 30, 2025):
Hi, I am having the same issue with all three prompts (user_prompt, system_prompt_append, and system_prompt). does anyone in the thread found any solution? the user_prompt is working fine in GUI but not in my script.