Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: remove duplicate ES daemon execution #86

Merged
merged 5 commits into from
Dec 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/markdowns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
echo "#"
echo "# python scripts/generate_markdowns.py --index index.toml --output markdowns --notebooks ..."
echo "#"
echo "# or see https://github.com/deepset-ai/haystack-tutorials/blob/main/CONTRIBUTING.md for help."
echo "# or see https://github.com/deepset-ai/haystack-tutorials/blob/main/Contributing.md for help."
echo "#"
echo "# If you have further problems, please open an issue: https://github.com/deepset-ai/haystack-tutorials/issues"
echo "#"
Expand Down
4 changes: 2 additions & 2 deletions markdowns/04_FAQ_style_QA.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: tutorial
colab: https://colab.research.google.com/github/deepset-ai/haystack-tutorials/blob/main/tutorials/04_FAQ_style_QA.ipynb
toc: True
title: "Utilizing Existing FAQs for Question Answering"
last_updated: 2022-11-24
last_updated: 2022-12-08
level: "beginner"
weight: 20
description: Create a smarter way to answer new questions using your existing FAQ documents.
Expand Down Expand Up @@ -92,7 +92,7 @@ If Docker is not readily available in your environment (e.g. in Colab notebooks)
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q
tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz
chown -R daemon:daemon elasticsearch-7.9.2
sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d

```


Expand Down
4 changes: 2 additions & 2 deletions markdowns/11_Pipelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: tutorial
colab: https://colab.research.google.com/github/deepset-ai/haystack-tutorials/blob/main/tutorials/11_Pipelines.ipynb
toc: True
title: "How to Use Pipelines"
last_updated: 2022-11-24
last_updated: 2022-12-08
level: "intermediate"
weight: 65
description: Learn about the many ways which you can route queries through the nodes in a pipeline.
Expand Down Expand Up @@ -85,7 +85,7 @@ If Docker is not readily available in your environment (e.g. in Colab notebooks)
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q
tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz
chown -R daemon:daemon elasticsearch-7.9.2
sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d

```


Expand Down
4 changes: 2 additions & 2 deletions markdowns/15_TableQA.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: tutorial
colab: https://colab.research.google.com/github/deepset-ai/haystack-tutorials/blob/main/tutorials/15_TableQA.ipynb
toc: True
title: "Open-Domain QA on Tables"
last_updated: 2022-11-24
last_updated: 2022-12-08
level: "advanced"
weight: 130
description: Perform question answering on tabular data.
Expand Down Expand Up @@ -99,7 +99,7 @@ If Docker is not readily available in your environment (e.g. in Colab notebooks)
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q
tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz
chown -R daemon:daemon elasticsearch-7.9.2
sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d

```


Expand Down
4 changes: 2 additions & 2 deletions markdowns/16_Document_Classifier_at_Index_Time.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: tutorial
colab: https://colab.research.google.com/github/deepset-ai/haystack-tutorials/blob/main/tutorials/16_Document_Classifier_at_Index_Time.ipynb
toc: True
title: "Document Classification at Index Time"
last_updated: 2022-11-24
last_updated: 2022-12-08
level: "intermediate"
weight: 85
description: Generate and attach classification labels to your Documents when indexing.
Expand Down Expand Up @@ -151,7 +151,7 @@ If Docker is not readily available in your environment (e.g. in Colab notebooks)
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q
tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz
chown -R daemon:daemon elasticsearch-7.9.2
sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d

```


Expand Down
4 changes: 2 additions & 2 deletions markdowns/17_Audio.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: tutorial
colab: https://colab.research.google.com/github/deepset-ai/haystack-tutorials/blob/main/tutorials/17_Audio.ipynb
toc: True
title: "Make Your QA Pipelines Talk!"
last_updated: 2022-11-24
last_updated: 2022-12-08
level: "intermediate"
weight: 90
description: Convert text Answers into speech.
Expand Down Expand Up @@ -84,7 +84,7 @@ If Docker is not readily available in your environment (e.g. in Colab notebooks)
wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q
tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz
chown -R daemon:daemon elasticsearch-7.9.2
sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d

```


Expand Down
3 changes: 1 addition & 2 deletions tutorials/04_FAQ_style_QA.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@
"\n",
"wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q\n",
"tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz\n",
"chown -R daemon:daemon elasticsearch-7.9.2\n",
"sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d"
"chown -R daemon:daemon elasticsearch-7.9.2\n"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions tutorials/11_Pipelines.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,7 @@
"\n",
"wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q\n",
"tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz\n",
"chown -R daemon:daemon elasticsearch-7.9.2\n",
"sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d"
"chown -R daemon:daemon elasticsearch-7.9.2\n"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions tutorials/15_TableQA.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,7 @@
"\n",
"wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q\n",
"tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz\n",
"chown -R daemon:daemon elasticsearch-7.9.2\n",
"sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d"
"chown -R daemon:daemon elasticsearch-7.9.2\n"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions tutorials/16_Document_Classifier_at_Index_Time.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,7 @@
"\n",
"wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q\n",
"tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz\n",
"chown -R daemon:daemon elasticsearch-7.9.2\n",
"sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d"
"chown -R daemon:daemon elasticsearch-7.9.2\n"
]
},
{
Expand Down
3 changes: 1 addition & 2 deletions tutorials/17_Audio.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,7 @@
"\n",
"wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.9.2-linux-x86_64.tar.gz -q\n",
"tar -xzf elasticsearch-7.9.2-linux-x86_64.tar.gz\n",
"chown -R daemon:daemon elasticsearch-7.9.2\n",
"sudo -u daemon -- elasticsearch-7.9.2/bin/elasticsearch -d"
"chown -R daemon:daemon elasticsearch-7.9.2\n"
]
},
{
Expand Down