Reference for ProToPortal.jl
ProToPortal.autofix_codeProToPortal.build_lazy_aicallProToPortal.conversation2transcriptProToPortal.evaluate_codeProToPortal.label_conversationProToPortal.load_conversations_from_dirProToPortal.parse_builderProToPortal.parse_criticProToPortal.prepare_conversationProToPortal.render_messagesProToPortal.render_template_messagesProToPortal.send_to_modelProToPortal.send_to_modelProToPortal.send_to_modelProToPortal.template_variablesProToPortal.update_messageProToPortal.update_message!
Constructs AIGenerate call that mimics if it was just executed
Code evaluator. Returns the evaluted code block (AICode) and the feedback string.
Prepares the conversation for sending to the LLM
Sends the conversation to the Auto-Critic Template for evaluation and suggestions
Flattens the full conversation for critic to use
Loads all conversations from a directory (or its sub-directories)
Parses prompt builder's response to get the instructions and inputs
Parses critic's response to get the suggestions and whether they requested to stop
Returns rendered messages, check if messages need updating as we might have changed the display
Extracts the variables from the template name (if found)
Updates the provided message with the new content (creates a new object)