awakenai commited on
Commit
a871296
·
1 Parent(s): 1fab184

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
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="What is job yoga?")
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