Reference for ProToPortal.jl
ProToPortal.autofix_code
ProToPortal.build_lazy_aicall
ProToPortal.conversation2transcript
ProToPortal.evaluate_code
ProToPortal.label_conversation
ProToPortal.load_conversations_from_dir
ProToPortal.parse_builder
ProToPortal.parse_critic
ProToPortal.prepare_conversation
ProToPortal.render_messages
ProToPortal.render_template_messages
ProToPortal.send_to_model
ProToPortal.send_to_model
ProToPortal.send_to_model
ProToPortal.template_variables
ProToPortal.update_message
ProToPortal.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)