heymenn commited on
Commit
251c274
·
verified ·
1 Parent(s): dc7a302

Update kig_core/graph_operations.py

Browse files
Files changed (1) hide show
  1. kig_core/graph_operations.py +2 -2
kig_core/graph_operations.py CHANGED
@@ -36,9 +36,9 @@ def format_summary_for_llm(doc: Dict[str, Any]) -> str:
36
  for key, value in doc.items():
37
  data = ""
38
  if key == "s.summary" and value != None:
39
- data += f"Solution of the key issue summarized : {value}"
40
  if key == "n.summary" and value != None:
41
- data += f"Key issue summarized : {value}"
42
  return data
43
  # --- Cypher Generation ---
44
  def generate_cypher_auto(question: str) -> str:
 
36
  for key, value in doc.items():
37
  data = ""
38
  if key == "s.summary" and value != None:
39
+ data += f"The document is a key issue. Solution of the key issue summarized : {value}"
40
  if key == "n.summary" and value != None:
41
+ data += f"Document summarized : {value}"
42
  return data
43
  # --- Cypher Generation ---
44
  def generate_cypher_auto(question: str) -> str: