Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update package import in notebook

davidmezzettid101ea10f7b3
diff --git a/examples/05_Labeling_with_zero_shot_classification.ipynb b/examples/05_Labeling_with_zero_shot_classification.ipynb
index 32167a24..133b8de2 100644
--- a/examples/05_Labeling_with_zero_shot_classification.ipynb
+++ b/examples/05_Labeling_with_zero_shot_classification.ipynb
@@ -72,7 +72,7 @@
"source": [
"%%capture\n",
"\n",
- "from txtai.labels import Labels\n",
+ "from txtai.pipeline import Labels\n",
"\n",
"# Create labels model\n",
"labels = Labels()\n",
@@ -103,7 +103,7 @@
"base_uri": "https://localhost:8080/"
},
"id": "-K2YJJzsVtfq",
- "outputId": "4bd3e29c-d7ef-44ab-825b-29435af98893"
+ "outputId": "ce29f32c-49da-4178-ae27-7c444df62340"
},
"source": [
"sections = [\"Dodgers lose again, give up 3 HRs in a loss to the Giants\",\n",
@@ -168,7 +168,7 @@
"base_uri": "https://localhost:8080/"
},
"id": "uIf064M9pbjn",
- "outputId": "34ebdc56-37c9-41cd-917d-56863d1371ee"
+ "outputId": "6cf15ade-286f-4167-d7d6-449849bacd16"
},
"source": [
"tags = [\"😀\", \"😡\"]\n",