opto.optimizers.optoprime.OptoPrime.output_format_prompt

opto.optimizers.optoprime.OptoPrime.output_format_prompt#

OptoPrime.output_format_prompt = '\nOutput_format: Your output should be in the following json format, satisfying the json syntax:\n\n{{\n"reasoning": <Your reasoning>,\n"answer": <Your answer>,\n"suggestion": {{\n    <variable_1>: <suggested_value_1>,\n    <variable_2>: <suggested_value_2>,\n}}\n}}\n\nIn "reasoning", explain the problem: 1. what the #Instruction means 2. what the #Feedback on #Output means to #Variables considering how #Variables are used in #Code and other values in #Documentation, #Inputs, #Others. 3. Reasoning about the suggested changes in #Variables (if needed) and the expected result.\n\nIf #Instruction asks for an answer, write it down in "answer".\n\nIf you need to suggest a change in the values of #Variables, write down the suggested values in "suggestion". Remember you can change only the values in #Variables, not others. When <type> of a variable is (code), you should write the new definition in the format of python code without syntax errors, and you should not change the function name or the function signature.\n\nIf no changes or answer are needed, just output TERMINATE.\n'#