This is how I'm calling the query_engine:
#################################################################
# Defining a prompt
#################################################################
query = "Summarize the following document. "
print("Querying...")
start_time = time.time()
response_stream=query_engine.query(query)
print(".")
print(".")
print(".")
response_stream.print_response_stream()
print(".")
print(".")
print(".")
elapsed_time = round((time.time() - start_time), 2)
print(f"Time taken for answer to generate: {elapsed_time} seconds.")
I get an error saying
context_str
isn't found. How do I point the query engine at the index data?