Amrita25 commited on
Commit
a15bed1
·
verified ·
1 Parent(s): eba0db9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -358,7 +358,7 @@ def parser_node(state: State) -> State:
358
  query_task = state["query_task"]
359
 
360
  prompt = f'Using only the information provided in the CONTEXT below, answer the QUERY_TASK.\n Your answer musr:\n Directly address the QUERY_TASK.\n Use only facts found in the CONTEXT (do not invent information).\n Be concise, precise and logically consistent.\n End your answer with a "#"'
361
- QUERY_TASK: {query_task}.\n\n
362
  CONTEXT: {props_string}.\n '
363
 
364
  res = chat_model.invoke(prompt)
 
358
  query_task = state["query_task"]
359
 
360
  prompt = f'Using only the information provided in the CONTEXT below, answer the QUERY_TASK.\n Your answer musr:\n Directly address the QUERY_TASK.\n Use only facts found in the CONTEXT (do not invent information).\n Be concise, precise and logically consistent.\n End your answer with a "#"'
361
+ QUERY_TASK: {query_task}.\n
362
  CONTEXT: {props_string}.\n '
363
 
364
  res = chat_model.invoke(prompt)