|
55 | 55 | "</ol>" |
56 | 56 | ] |
57 | 57 | }, |
58 | | - { |
59 | | - "cell_type": "markdown", |
60 | | - "id": "fab91607-b6a5-476b-8128-83faf28aba91", |
61 | | - "metadata": {}, |
62 | | - "source": [ |
63 | | - "<hr style=\"height:2px;border:none;\">\n", |
64 | | - "<p style = 'font-size:16px;font-family:Arial;'><b>Note:</b> Before running this notebook, please ensure that the <code>Initialization_and_Model_Load.ipynb</code> notebook has been executed.</p>" |
65 | | - ] |
66 | | - }, |
67 | 58 | { |
68 | 59 | "cell_type": "markdown", |
69 | 60 | "id": "af488e36-1525-4f87-943a-5f6881283ac1", |
|
181 | 172 | "Select * from DEMO_Cust_Travel.Complaints sample 5;" |
182 | 173 | ] |
183 | 174 | }, |
| 175 | + { |
| 176 | + "cell_type": "markdown", |
| 177 | + "id": "162a0e9e-67d5-4bf6-8aca-21b49c37cac7", |
| 178 | + "metadata": {}, |
| 179 | + "source": [ |
| 180 | + "<p style = 'font-size:16px;font-family:Arial;'>Before proceeding further we will cross check that the embedding model is loaded in the database." |
| 181 | + ] |
| 182 | + }, |
| 183 | + { |
| 184 | + "cell_type": "code", |
| 185 | + "execution_count": null, |
| 186 | + "id": "4219e81b-c712-49a5-a365-b8f0a368db8e", |
| 187 | + "metadata": {}, |
| 188 | + "outputs": [], |
| 189 | + "source": [ |
| 190 | + "%var model=\"bge-small-en-v1.5\"" |
| 191 | + ] |
| 192 | + }, |
| 193 | + { |
| 194 | + "cell_type": "code", |
| 195 | + "execution_count": null, |
| 196 | + "id": "0fc43ea5-70a7-4804-8117-1dfb3ee111f6", |
| 197 | + "metadata": {}, |
| 198 | + "outputs": [], |
| 199 | + "source": [ |
| 200 | + "select model_id from embeddings_models where model_id = '${model}'" |
| 201 | + ] |
| 202 | + }, |
| 203 | + { |
| 204 | + "cell_type": "markdown", |
| 205 | + "id": "194ee355-24ba-4908-b6a7-0b5c12a7c2fd", |
| 206 | + "metadata": { |
| 207 | + "tags": [] |
| 208 | + }, |
| 209 | + "source": [ |
| 210 | + "<p style = 'font-size:16px;font-family:Arial;'>If you see the message \" Unable to run SQL: Unable to run SQL query: Database reported error:3807:Object 'embeddings_models' does not exist.\", Please execute this notebook: <br><a href = './Initialization_and_Model_Load_Travel_Insights.ipynb'>Initialization_and_Model_Load_Travel_Insights</a>. " |
| 211 | + ] |
| 212 | + }, |
| 213 | + { |
| 214 | + "cell_type": "markdown", |
| 215 | + "id": "504385c3-0364-47f8-8742-5b7f5f84a74e", |
| 216 | + "metadata": {}, |
| 217 | + "source": [ |
| 218 | + "<div class=\"alert alert-block alert-info\">\n", |
| 219 | + "<p style = 'font-size:16px;font-family:Arial'>If you see the message \"<i>Unable to run SQL: Unable to run SQL query: Database reported error:3807:Object 'embeddings_models' does not exist.</i>\",<br>Please execute this notebook: <a href = './Initialization_and_Model_Load_Travel_Insights.ipynb'><b>Initialization_and_Model_Load_Travel_Insights<b></a>.\n", |
| 220 | + "</div>" |
| 221 | + ] |
| 222 | + }, |
184 | 223 | { |
185 | 224 | "cell_type": "markdown", |
186 | 225 | "id": "bf769b70-a60b-4f29-b399-c9ee96e1697e", |
|
0 commit comments