Skip to content

Commit

Permalink
fix: Fix inclusion of Project ID in MM RAG notebooks (#934)
Browse files Browse the repository at this point in the history
Fixes #765 🦕
  • Loading branch information
holtskinner authored Aug 6, 2024
1 parent 3ae782e commit f0b4c3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
14 changes: 3 additions & 11 deletions gemini/qa-ops/building_DIY_multimodal_qa_system_with_mRAG.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -318,21 +318,13 @@
"outputId": "eef6a25d-f66d-403c-b420-82c541f52ec1",
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Your project ID is: lavi-llm-experiment\n"
]
}
],
"outputs": [],
"source": [
"# Define project information\n",
"\n",
"import sys\n",
"\n",
"PROJECT_ID = \"\" # @param {type:\"string\"}\n",
"PROJECT_ID = \"YOUR_PROJECT_ID\" # @param {type:\"string\"}\n",
"LOCATION = \"us-central1\" # @param {type:\"string\"}\n",
"\n",
"# if not running on Colab, try to get the PROJECT_ID automatically\n",
Expand Down Expand Up @@ -889,7 +881,7 @@
"# Specify the PDF folder with multiple PDF ~7m\n",
"\n",
"print(\n",
" \"Removing pre-exsisting images folder, since you are running the logic from scratch\"\n",
" \"Removing pre-existing images folder, since you are running the logic from scratch\"\n",
")\n",
"! rm -rf images/\n",
"\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/"
Expand All @@ -312,21 +312,13 @@
"outputId": "2d66580a-cf75-4a22-feb1-782503639ffb",
"tags": []
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Your project ID is: lavi-llm-experiment\n"
]
}
],
"outputs": [],
"source": [
"# Define project information\n",
"\n",
"import sys\n",
"\n",
"PROJECT_ID = \"\" # @param {type:\"string\"}\n",
"PROJECT_ID = \"YOUR_PROJECT_ID\" # @param {type:\"string\"}\n",
"LOCATION = \"us-central1\" # @param {type:\"string\"}\n",
"\n",
"# if not running on Colab, try to get the PROJECT_ID automatically\n",
Expand Down

0 comments on commit f0b4c3c

Please sign in to comment.