diff --git a/docs/_src/tutorials/tutorials/1.md b/docs/_src/tutorials/tutorials/1.md index 813a172253..2f544bb815 100644 --- a/docs/_src/tutorials/tutorials/1.md +++ b/docs/_src/tutorials/tutorials/1.md @@ -126,7 +126,7 @@ dicts = convert_files_to_dicts(dir_path=doc_dir, clean_func=clean_wiki_text, spl # If your texts come from a different source (e.g. a DB), you can of course skip convert_files_to_dicts() and create the dictionaries yourself. # The default format here is: # { -# 'text': "", +# 'content': "", # 'meta': {'name': "", ...} # } # (Optionally: you can also add more key-value-pairs here, that will be indexed as fields in Elasticsearch and diff --git a/tutorials/Tutorial1_Basic_QA_Pipeline.ipynb b/tutorials/Tutorial1_Basic_QA_Pipeline.ipynb index 688413fc24..13ea008cbd 100644 --- a/tutorials/Tutorial1_Basic_QA_Pipeline.ipynb +++ b/tutorials/Tutorial1_Basic_QA_Pipeline.ipynb @@ -185,7 +185,7 @@ "# If your texts come from a different source (e.g. a DB), you can of course skip convert_files_to_dicts() and create the dictionaries yourself.\n", "# The default format here is:\n", "# {\n", - "# 'text': \"\",\n", + "# 'content': \"\",\n", "# 'meta': {'name': \"\", ...}\n", "# }\n", "# (Optionally: you can also add more key-value-pairs here, that will be indexed as fields in Elasticsearch and\n", @@ -458,4 +458,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}