Update app.py
Browse files
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
|
| 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)
|