|
11 | 11 | "- **Level**: Beginner\n",
|
12 | 12 | "- **Time to complete**: 15 minutes\n",
|
13 | 13 | "- **Components Used**: [`ExtractiveReader`](https://docs.haystack.deepset.ai/docs/extractivereader), [`InMemoryDocumentStore`](https://docs.haystack.deepset.ai/docs/inmemorydocumentstore), [`InMemoryEmbeddingRetriever`](https://docs.haystack.deepset.ai/docs/inmemoryembeddingretriever), [`DocumentWriter`](https://docs.haystack.deepset.ai/docs/documentwriter), [`SentenceTransformersDocumentEmbedder`](https://docs.haystack.deepset.ai/docs/sentencetransformersdocumentembedder), [`SentenceTransformersTextEmbedder`](https://docs.haystack.deepset.ai/docs/sentencetransformerstextembedder)\n",
|
14 |
| - "- **Goal**: After completing this tutorial, you'll have learned how to build a Haystack pipeline that uses an extractive model to display where the answer to your query is.\n", |
15 |
| - "\n", |
16 |
| - "> This tutorial uses the latest version of Haystack 2.x (`haystack-ai`). For more information on Haystack 2.0, read the [Haystack 2.0 announcement](https://haystack.deepset.ai/blog/haystack-2-release) or visit the [Haystack Documentation](https://docs.haystack.deepset.ai/docs/intro).\n", |
17 |
| - "\n" |
| 14 | + "- **Goal**: After completing this tutorial, you'll have learned how to build a Haystack pipeline that uses an extractive model to display where the answer to your query is." |
18 | 15 | ]
|
19 | 16 | },
|
20 | 17 | {
|
|
108 | 105 | "\n",
|
109 | 106 | "The data has already been cleaned and preprocessed, so turning it into Haystack `Documents` is fairly straightfoward.\n",
|
110 | 107 | "\n",
|
111 |
| - "Using an `InMemoryDocumentStore` here keeps things simple. However, this general approach would work with [any document store that Haystack 2.0 supports](https://docs.haystack.deepset.ai/docs/document-store).\n", |
| 108 | + "Using an `InMemoryDocumentStore` here keeps things simple. However, this general approach would work with [any document store that Haystack supports](https://docs.haystack.deepset.ai/docs/document-store).\n", |
112 | 109 | "\n",
|
113 | 110 | "The `SentenceTransformersDocumentEmbedder` transforms each `Document` into a vector. Here we've used [`sentence-transformers/multi-qa-mpnet-base-dot-v1`](https://huggingface.co/sentence-transformers/multi-qa-mpnet-base-dot-v1). You can substitute any embedding model you like, as long as you use the same one in your extractive pipeline.\n",
|
114 | 111 | "\n",
|
|
656 | 653 | "source": [
|
657 | 654 | "## Wrapping it up\n",
|
658 | 655 | "\n",
|
659 |
| - "If you've been following along, now you know how to build an extractive question answering pipeline with Haystack 2.0. 🎉 Thanks for reading!\n", |
| 656 | + "If you've been following along, now you know how to build an extractive question answering pipeline with Haystack. 🎉 Thanks for reading!\n", |
660 | 657 | "\n",
|
661 | 658 | "\n",
|
662 |
| - "If you liked this tutorial, there's more to learn about Haystack 2.0:\n", |
| 659 | + "If you liked this tutorial, there's more to learn about Haystack:\n", |
663 | 660 | "- [Classifying Documents & Queries by Language](https://haystack.deepset.ai/tutorials/32_classifying_documents_and_queries_by_language)\n",
|
664 | 661 | "- [Generating Structured Output with Loop-Based Auto-Correction](https://haystack.deepset.ai/tutorials/28_structured_output_with_loop)\n",
|
665 | 662 | "- [Preprocessing Different File Types](https://haystack.deepset.ai/tutorials/30_file_type_preprocessing_index_pipeline)\n",
|
|
0 commit comments