Update app.py
Browse files
app.py
CHANGED
@@ -41,10 +41,10 @@ def tutorial1_basic_qa_pipeline():
|
|
41 |
# You can start Elasticsearch on your local machine instance using Docker. If Docker is not readily available in
|
42 |
# your environment (e.g. in Colab notebooks), then you can manually download and execute Elasticsearch from source.
|
43 |
|
44 |
-
|
|
|
|
|
45 |
|
46 |
-
# Connect to Elasticsearch
|
47 |
-
document_store = ElasticsearchDocumentStore(host="localhost", username="", password="", index="document")
|
48 |
|
49 |
# ## Preprocessing of documents
|
50 |
#
|
|
|
41 |
# You can start Elasticsearch on your local machine instance using Docker. If Docker is not readily available in
|
42 |
# your environment (e.g. in Colab notebooks), then you can manually download and execute Elasticsearch from source.
|
43 |
|
44 |
+
from haystack.document_stores import InMemoryDocumentStore
|
45 |
+
|
46 |
+
document_store = InMemoryDocumentStore()
|
47 |
|
|
|
|
|
48 |
|
49 |
# ## Preprocessing of documents
|
50 |
#
|