Update main.py
Browse files
main.py
CHANGED
@@ -26,7 +26,7 @@ pipeline = build_pipeline(provider, API_KEY, document_store)
|
|
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="
|
30 |
|
31 |
@app.get("/")
|
32 |
async def root():
|
|
|
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
|
30 |
|
31 |
@app.get("/")
|
32 |
async def root():
|