Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -412,9 +412,8 @@ def graceful_exit_node(state: State) -> State:
|
|
| 412 |
Called when the Agent cannot assign any tools for the task
|
| 413 |
'''
|
| 414 |
props_string = state["props_string"]
|
| 415 |
-
prompt = f'
|
| 416 |
-
|
| 417 |
-
prove useful. \n \
|
| 418 |
CONTEXT: {props_string}'
|
| 419 |
|
| 420 |
res = chat_model.invoke(prompt)
|
|
|
|
| 412 |
Called when the Agent cannot assign any tools for the task
|
| 413 |
'''
|
| 414 |
props_string = state["props_string"]
|
| 415 |
+
prompt = f'Summarize the information in the CONTEXT, including any useful chemical information. Start your answer with: \
|
| 416 |
+
Here is what I found: \n \
|
|
|
|
| 417 |
CONTEXT: {props_string}'
|
| 418 |
|
| 419 |
res = chat_model.invoke(prompt)
|