Skip to content

Commit

Permalink
fix: Fixes to RAG Engine Intro notebook (#1398)
Browse files Browse the repository at this point in the history
  • Loading branch information
holtskinner authored Nov 12, 2024
1 parent 1bf1f70 commit 01da1f7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gemini/rag-engine/intro_rag_engine.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,7 @@
},
"outputs": [],
"source": [
"from IPython.display import Markdown\n",
"from vertexai.preview import rag\n",
"from vertexai.preview.generative_models import GenerativeModel, Tool"
]
Expand Down Expand Up @@ -374,7 +375,7 @@
")\n",
"\n",
"response = rag.import_files(\n",
" corpus_name=rag_corpus.corpus_name,\n",
" corpus_name=rag_corpus.name,\n",
" paths=[INPUT_GCS_BUCKET],\n",
" chunk_size=1024, # Optional\n",
" chunk_overlap=100, # Optional\n",
Expand Down

0 comments on commit 01da1f7

Please sign in to comment.