Skip to content

Commit

Permalink
Update embedding call to get rid of warnings in LlamaIndex and Langch…
Browse files Browse the repository at this point in the history
…ain multimodal notebooks (NVIDIA#395)

Co-authored-by: Chris Jarrett <[email protected]>
  • Loading branch information
ChrisJar and Chris Jarrett authored Jan 31, 2025
1 parent 6ccc758 commit c423695
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions examples/langchain_multimodal_rag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@
" extract_text=False,\n",
" extract_tables=True,\n",
" extract_images=False,\n",
" ).embed(\n",
" text=False,\n",
" tables=True,\n",
" ).vdb_upload()\n",
" )\n",
" .embed()\n",
" .vdb_upload()\n",
")\n",
"\n",
"results = ingestor.ingest()"
Expand Down Expand Up @@ -215,7 +214,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.15"
"version": "3.10.16"
}
},
"nbformat": 4,
Expand Down
9 changes: 4 additions & 5 deletions examples/llama_index_multimodal_rag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,9 @@
" extract_text=False,\n",
" extract_tables=True,\n",
" extract_images=False,\n",
" ).embed(\n",
" text=False,\n",
" tables=True,\n",
" ).vdb_upload()\n",
" )\n",
" .embed()\n",
" .vdb_upload()\n",
")\n",
"\n",
"results = ingestor.ingest()"
Expand Down Expand Up @@ -187,7 +186,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.15"
"version": "3.10.16"
}
},
"nbformat": 4,
Expand Down

0 comments on commit c423695

Please sign in to comment.