Skip to content

Commit 1af3733

Browse files
authored
Update the warnings (#376)
* Add more explanation for 2.x tutorials * Put alternatives for 1.x tutorials
1 parent ed1c708 commit 1af3733

39 files changed

+904
-1025
lines changed

tutorials/01_Basic_QA_Pipeline.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"source": [
88
"# Tutorial: Build Your First Question Answering System\n",
99
"\n",
10-
"> This tutorial is based on Haystack 1.x. If you're using Haystack 2.0 and would like to follow the updated version of this tutorial, check out [Creating Your First QA Pipeline with Retrieval-Augmentation](https://haystack.deepset.ai/tutorials/27_first_rag_pipeline) and [Build an Extractive QA Pipeline](https://haystack.deepset.ai/tutorials/34_extractive_qa_pipeline). \n",
10+
"> This tutorial is based on Haystack 1.x (`farm-haystack`). If you're using Haystack 2.x (`haystack-ai`) and would like to follow the updated version of this tutorial, check out [Creating Your First QA Pipeline with Retrieval-Augmentation](https://haystack.deepset.ai/tutorials/27_first_rag_pipeline) and [Build an Extractive QA Pipeline](https://haystack.deepset.ai/tutorials/34_extractive_qa_pipeline). \n",
1111
">\n",
1212
"> For more information on Haystack 2.0, read the [Haystack 2.0 announcement](https://haystack.deepset.ai/blog/haystack-2-release).\n",
1313
"\n",

tutorials/02_Finetune_a_model_on_your_data.ipynb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
"source": [
88
"# Tutorial: Fine-Tuning a Model on Your Own Data\n",
99
"\n",
10+
"> This tutorial is based on Haystack 1.x (`farm-haystack`). If you're using Haystack 2.x (`haystack-ai`), refer to the [Haystack 2.x tutorials](https://haystack.deepset.ai/tutorials) or [Haystack Cookbook](https://haystack.deepset.ai/cookbook)\n",
11+
">\n",
12+
"> For more information on Haystack 2.x, read the [Haystack 2.0 announcement](https://haystack.deepset.ai/blog/haystack-2-release).\n",
13+
"\n",
1014
"- **Level**: Intermediate\n",
1115
"- **Time to complete**: 15 minutes\n",
1216
"- **Nodes Used**: `FARMReader`\n",

tutorials/03_Scalable_QA_System.ipynb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
"source": [
88
"# Tutorial: Build a Scalable Question Answering System\n",
99
"\n",
10+
"> This tutorial is based on Haystack 1.x (`farm-haystack`). If you're using Haystack 2.x (`haystack-ai`), refer to the [Haystack 2.x tutorials](https://haystack.deepset.ai/tutorials) or [Haystack Cookbook](https://haystack.deepset.ai/cookbook)\n",
11+
">\n",
12+
"> For more information on Haystack 2.x, read the [Haystack 2.0 announcement](https://haystack.deepset.ai/blog/haystack-2-release).\n",
13+
"\n",
1014
"- **Level**: Beginner\n",
1115
"- **Time to complete**: 20 minutes\n",
1216
"- **Nodes Used**: `ElasticsearchDocumentStore`, `BM25Retriever`, `FARMReader`\n",

0 commit comments

Comments
 (0)