mirror of
https://github.com/run-llama/llama_cloud_services.git
synced 2026-08-27 01:15:06 -04:00
md either misses text/words or formats wrong at times #152
Open
opened 2026-02-16 00:17:00 -05:00 by yindo
·
2 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#152
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 @sagarvadodaria on GitHub (Jun 15, 2024).
Originally assigned to: @hexapode on GitHub.
The value in 'text' field for a page looks correct and has better information compared to 'md'. Look at page 18 of this attached pdf.
policy.pdf
The 'text' field starts correctly with 'Hospital accommodation' .... but the 'md' field ommits it completely and starts with 'Charges for .....' . Also, the formatting in 'md' for rest of the text is messed up and not to mention spelling mistakes etc.
All that to say that the 'text' looks correct, its just conversion to 'md' that is wrong at time and hence unreliable when using both 'LlamaParseJsonNodeParser' or 'MarkdownElementNodeParser'.
Page 18: Text
'Hospital accommodation\nCharges for a standard or semi-private hospital room accommodation, not a private room or suite, or for outpatient\nservices provided by an active treatment hospital in an emergency while travelling outside your province or territory of\nresidence. These charges must be more than the amount paid by your government health insurance plan.\n\n\nHospital expenses\nPayment of up to $100 per emergency hospital stay while travelling, to cover incidental expenses. You must provide paid\noriginal receipts with your claim.\n\n\nMeals and accommodation\nWe’ll pay up to $150 per day, to a maximum of $1,500 per policy, for your commercial accommodation and meals when\nreturn to your province or territory of residence is delayed beyond your scheduled return date due to illness or injury to\nyourself or a travelling companion. An attending physician or nurse practitioner must provide a written statement that you\nor your travelling companion are unable to travel due to the illness or injury. Claims must be supported with detailed\noriginal receipts from commercial organizations and medical reports.\n\n\nMedical appliances\nThe cost of splints, casts, crutches, canes, slings, trusses, walkers, or the temporary rental of a wheelchair when\nprescribed by an attending physician or nurse practitioner, obtained outside your province or territory of residence, and\nrequired due to an accident or unexpected illness.\n\n\nParamedical services\nCharges up to $300 for services provided by a licensed or registered: physiotherapist, chiropractor, chiropodist, podiatrist\nor osteopath, including x-rays, when required for emergency treatment.\n\n\nPrescription drugs\nDrugs, serums and injectables prescribed by a physician, nurse practitioner or dentist and supplied by a licensed\npharmacist, physician, nurse practitioner or hospital. This doesn’t include vitamins, patent or proprietary products, when\nrequired for emergency treatment. You must submit original, paid receipts for claim purposes.\n\n\nPrivate registered nurse\nCoverage to a maximum of $3,000 for charges of a licensed, private registered nurse, who isn’t an immediate family\nmember, who performs registered nursing duties, during and immediately following hospitalization, when ordered by the\nattending physician or nurse practitioner.\n\n\nRelief of dental pain\nTreatment for the emergency relief of dental pain, other than accidental dental, is covered to a maximum of $200.\nTreatment must be performed at a location at least 200 km from your province or territory of residence.\n\n\nReturn of deceased\nA maximum of $3,000 towards the cost of preparation and transportation to the province or territory of residence of aS A M P L E\ndeceased insured person, excluding the cost of a coffin, or up to $2,500 towards the cost of cremation or burial at the\nplace of death, outside the province or territory of residence of the deceased insured person.\n\n\nTreatments - blood\nThe cost of whole blood, blood plasma or specialized treatments using radium and radioisotopes are covered, when\nprovided due to emergency hospitalization.\n\n\nMF_FlexCare_With_Vitality_Contract_E_0521 Page 18 of 32'
Page 18: MD
'#\nCharges for a standard or semi-private hospital room accommodation, not a private room or suite, or for outpatient services provided by an active treatment hospital in an emergency while travelling outside your province or territory of residence. These charges must be more pan pe amount paid by your government healp insurance plan.\n\nPayment of up to $100 per emergency hospital stay while travelling, to cover incidental expenses. You must provide paid original receipts wip your claim.\n\n\nWe’ll pay up to $150 per day, to a maximum of $1,500 per policy, for your commercial accommodation and meals when return to your province or territory of residence is delayed beyond your scheduled return date due to illness or injury to yourself or a travelling companion. An attending physician or nurse practitioner must provide a written statement pat you or your travelling companion are unable to travel due to pe illness or injury. Claims must be supported wip detailed original receipts from commercial organizations and medical reports.\n\n\nThe cost of splints, casts, crutches, canes, slings, trusses, walkers, or pe temporary rental of a wheelchair when prescribed by an attending physician or nurse practitioner, obtained outside your province or territory of residence, and required due to an accident or unexpected illness.\n\nCharges up to $300 for services provided by a licensed or registered: physioperapist, chiropractor, chiropodist, podiatrist or osteopap, including x-rays, when required for emergency treatment.\n\nDrugs, serums and injectables prescribed by a physician, nurse practitioner or dentist and supplied by a licensed pharmacist, physician, nurse practitioner or hospital. This doesn’t include vitamins, patent or proprietary products, when required for emergency treatment. You must submit original, paid receipts for claim purposes.\n\nCoverage to a maximum of $3,000 for charges of a licensed, private registered nurse, who isn’t an immediate family member, who performs registered nursing duties, during and immediately following hospitalization, when ordered by pe attending physician or nurse practitioner.\n\n\nTreatment for pe emergency relief of dental pain, oper pan accidental dental, is covered to a maximum of $200. Treatment must be performed at a location at least 200 km from your province or territory of residence.\n\n\nA maximum of $3,000 towards pe cost of preparation and transportation to pe province or territory of residence of a deceased insured person, excluding pe cost of a coffin, or up to $2,500 towards pe cost of cremation or burial at pe place of deap, outside pe province or territory of residence of pe deceased insured person.\n\n<treatments - blood>\nThe cost of whole blood, blood plasma or specialized treatments using radium and radioisotopes are covered, when provided due to emergency hospitalization.'
@hexapode commented on GitHub (Jun 18, 2024):
Hi!
It seems your document run into a bug, we will adress it.
(for some reason the text in your layout is not extracted correctly)
@sagarvadodaria commented on GitHub (Jun 18, 2024):
Thank you, if you can please reply to this thread whenever the bug is fixed, that would be much appreciated.On Jun 18, 2024, at 3:53 AM, Pierre-Loic Doulcet @.***> wrote:
Hi!
It seems your document run into a bug, we will adress it.
(for some reason the text in your layout is not extracted correctly)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>