Skip to content

Commit 3285a9f

Browse files
author
Nitin Kanukolanu
committed
Add comprehensive installation instructions to migration notebooks
- Add detailed Python dependencies installation section to both notebooks - Include pip, conda, and Google Colab installation commands - Specify minimum version requirements for compatibility - Provide multiple installation methods for different environments - Replace generic text with actionable installation commands
1 parent b73fd94 commit 3285a9f

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

python-recipes/vector-search/06_hnsw_to_svs_vamana_migration.ipynb

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,30 @@
7979
"\n",
8080
"Then run: `docker-compose up -d`\n",
8181
"\n",
82-
"**Manual Installation (if needed):**\n",
82+
"**📚 Python Dependencies Installation:**\n",
8383
"\n",
84+
"Install the required Python packages:\n",
8485
"\n",
85-
"**For Google Colab:** All dependencies will be installed automatically."
86+
"```bash\n",
87+
"# Install core dependencies\n",
88+
"pip install redisvl numpy sentence-transformers\n",
89+
"\n",
90+
"# Or install with specific versions for compatibility\n",
91+
"pip install redisvl>=0.2.0 numpy>=1.21.0 sentence-transformers>=2.2.0\n",
92+
"```\n",
93+
"\n",
94+
"**For Google Colab users, run this cell:**\n",
95+
"\n",
96+
"```python\n",
97+
"!pip install redisvl sentence-transformers numpy\n",
98+
"```\n",
99+
"\n",
100+
"**For Conda users:**\n",
101+
"\n",
102+
"```bash\n",
103+
"conda install numpy\n",
104+
"pip install redisvl sentence-transformers\n",
105+
"```"
86106
]
87107
},
88108
{

python-recipes/vector-search/07_flat_to_svs_vamana_migration.ipynb

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,30 @@
6565
"\n",
6666
"Then run: `docker-compose up -d`\n",
6767
"\n",
68-
"**Manual Installation (if needed):**\n",
68+
"**📚 Python Dependencies Installation:**\n",
6969
"\n",
70+
"Install the required Python packages:\n",
7071
"\n",
71-
"**For Google Colab:** All dependencies will be installed automatically."
72+
"```bash\n",
73+
"# Install core dependencies\n",
74+
"pip install redisvl numpy sentence-transformers\n",
75+
"\n",
76+
"# Or install with specific versions for compatibility\n",
77+
"pip install redisvl>=0.2.0 numpy>=1.21.0 sentence-transformers>=2.2.0\n",
78+
"```\n",
79+
"\n",
80+
"**For Google Colab users, run this cell:**\n",
81+
"\n",
82+
"```python\n",
83+
"!pip install redisvl sentence-transformers numpy\n",
84+
"```\n",
85+
"\n",
86+
"**For Conda users:**\n",
87+
"\n",
88+
"```bash\n",
89+
"conda install numpy\n",
90+
"pip install redisvl sentence-transformers\n",
91+
"```"
7292
]
7393
},
7494
{

0 commit comments

Comments
 (0)