AbdulMoid commited on
Commit
864b6b0
·
verified ·
1 Parent(s): 7db9b40

Update graph_rag.py

Browse files
Files changed (1) hide show
  1. 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["description"]}\n\n{user_question}"
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)