updated summary prompt
Browse files
app.py
CHANGED
@@ -1396,13 +1396,17 @@ class OrchestratorAgent:
|
|
1396 |
|
1397 |
The code was executed in a secure sandbox environment, and the output was {execution_output}.
|
1398 |
|
|
|
|
|
|
|
1399 |
Please provide a short and concise summary of the code that you wrote, including the user request, the summaries provided and the code generated.
|
1400 |
Explain how the code addresses the user's request, what it does, and any important details about its execution.
|
1401 |
|
1402 |
Touch upon the other methods available that were found in the search results, and how they relate to the user's request.
|
1403 |
|
1404 |
-
Please return the result in natural language only, without any code blocks,
|
1405 |
-
|
|
|
1406 |
|
1407 |
If no code was generated, apologise, please state that clearly the code generation failed in the sandbox, this could be due to restriction
|
1408 |
or the code being too complex for the sandbox to handle.
|
|
|
1396 |
|
1397 |
The code was executed in a secure sandbox environment, and the output was {execution_output}.
|
1398 |
|
1399 |
+
If there was no code generated in the output, please state how to answer the user's request showing the code required.
|
1400 |
+
State that the code you are giving them has not been executed, and that they should run it in their own environment.
|
1401 |
+
|
1402 |
Please provide a short and concise summary of the code that you wrote, including the user request, the summaries provided and the code generated.
|
1403 |
Explain how the code addresses the user's request, what it does, and any important details about its execution.
|
1404 |
|
1405 |
Touch upon the other methods available that were found in the search results, and how they relate to the user's request.
|
1406 |
|
1407 |
+
Please return the result in natural language only, without any code blocks, unless as stated above, there was no code executed in the sandbox and then you should give them the code
|
1408 |
+
as a code block.
|
1409 |
+
References to code can be made to explain why particular code has been used regardless of sandbox execution, e.g. discuss why the LinerRegression module was used from scikit-learn etc.
|
1410 |
|
1411 |
If no code was generated, apologise, please state that clearly the code generation failed in the sandbox, this could be due to restriction
|
1412 |
or the code being too complex for the sandbox to handle.
|