Skip to content

Commit

Permalink
auto mode off
Browse files Browse the repository at this point in the history
  • Loading branch information
dglogo committed Jan 4, 2025
1 parent 2ce05c3 commit 37a2649
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,14 +308,7 @@
"\n",
" file_path = \"./san_francisco_budget_2023.pdf\"\n",
"\n",
" documents = LlamaParse(\n",
" result_type=\"markdown\",\n",
" auto_mode=True,\n",
" auto_mode_trigger_on_image_in_page=True,\n",
" auto_mode_trigger_on_table_in_page=True,\n",
" # auto_mode_trigger_on_text_in_page=\"<text_on_page>\"\n",
" # auto_mode_trigger_on_regexp_in_page=\"<regexp_on_page>\"\n",
" ).load_data(file_path)\n",
" documents = LlamaParse(result_type=\"markdown\").load_data(file_path)\n",
"\n",
" index = VectorStoreIndex.from_documents(documents)\n",
" index.storage_context.persist(persist_dir=PERSIST_DIR)"
Expand Down

0 comments on commit 37a2649

Please sign in to comment.