Spaces:
Runtime error
Runtime error
Update graph_rag.py
Browse files- graph_rag.py +1 -1
graph_rag.py
CHANGED
|
@@ -83,7 +83,7 @@ def qa_tool_graph_rag(user_question):
|
|
| 83 |
os.chdir(extract_path)
|
| 84 |
|
| 85 |
# Combine patient_info with user_question
|
| 86 |
-
combined_input = f"{patient_info
|
| 87 |
|
| 88 |
# Run the GraphRAG query with the combined input
|
| 89 |
raw_answer = run_graphrag_query(combined_input, output_dir)
|
|
|
|
| 83 |
os.chdir(extract_path)
|
| 84 |
|
| 85 |
# Combine patient_info with user_question
|
| 86 |
+
combined_input = f"{patient_info}\n\n{user_question}"
|
| 87 |
|
| 88 |
# Run the GraphRAG query with the combined input
|
| 89 |
raw_answer = run_graphrag_query(combined_input, output_dir)
|