Skip to content

Commit

Permalink
Merge pull request #1339 from zc277584121/master
Browse files Browse the repository at this point in the history
add colab comment
  • Loading branch information
jaelgu authored May 29, 2024
2 parents 24b6d41 + ae8de8d commit d19e475
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bootcamp/tutorials/integration/qa_with_milvus_and_hf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"> To use the updated python packages, you may need to restart the runtime or kernel after installation."
"> If you are using Google Colab, to enable dependencies just installed, you may need to **restart the runtime**."
]
},
{
Expand Down Expand Up @@ -712,4 +712,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@
"! pip install --upgrade --quiet langchain langchain-core langchain-community langchain-text-splitters langchain-milvus langchain-openai bs4"
]
},
{
"cell_type": "markdown",
"source": [
"> If you are using Google Colab, to enable dependencies just installed, you may need to **restart the runtime**."
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "markdown",
"metadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
"id": "70cc8c56",
"metadata": {},
"source": [
"> To enable dependencies just installed, you may need to **restart the runtime**."
"> If you are using Google Colab, to enable dependencies just installed, you may need to **restart the runtime**."
]
},
{
Expand Down
9 changes: 9 additions & 0 deletions bootcamp/tutorials/quickstart/build_RAG_with_milvus.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,15 @@
"! pip install --upgrade pymilvus openai requests tqdm"
]
},
{
"cell_type": "markdown",
"source": [
"> If you are using Google Colab, to enable dependencies just installed, you may need to **restart the runtime**."
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
13 changes: 10 additions & 3 deletions bootcamp/tutorials/quickstart/image_search_with_milvus.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,15 @@
"!pip install timm"
]
},
{
"cell_type": "markdown",
"source": [
"> If you are using Google Colab, to enable dependencies just installed, you may need to **restart the runtime**."
],
"metadata": {
"collapsed": false
}
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -184,8 +193,6 @@
"from sklearn.preprocessing import normalize\n",
"from timm.data import resolve_data_config\n",
"from timm.data.transforms_factory import create_transform\n",
"import numpy as np\n",
"from pymilvus import connections\n",
"\n",
"\n",
"class FeatureExtractor:\n",
Expand Down Expand Up @@ -235,7 +242,7 @@
"metadata": {},
"outputs": [],
"source": [
"from pymilvus import MilvusClient, DataType\n",
"from pymilvus import MilvusClient\n",
"\n",
"# Set up a Milvus client\n",
"client = MilvusClient(uri=\"example.db\")\n",
Expand Down

0 comments on commit d19e475

Please sign in to comment.