Update main.py
Browse files
main.py
CHANGED
@@ -23,7 +23,7 @@ add_example_data(document_store, "./Reference")
|
|
23 |
pipeline = build_pipeline(provider, API_KEY, document_store)
|
24 |
|
25 |
# Ask a question on the data you just added.
|
26 |
-
result = pipeline.run(query=
|
27 |
|
28 |
# For details, like which documents were used to generate the answer, look into the <result> object
|
29 |
#print_answers(result, details="minimum") #minimum, medium, all
|
|
|
23 |
pipeline = build_pipeline(provider, API_KEY, document_store)
|
24 |
|
25 |
# Ask a question on the data you just added.
|
26 |
+
result = pipeline.run(query=text)
|
27 |
|
28 |
# For details, like which documents were used to generate the answer, look into the <result> object
|
29 |
#print_answers(result, details="minimum") #minimum, medium, all
|