Skip to content

Reference for ProToPortal.jl ​

# ProToPortal.autofix_code — Method.

Runs one iteration of airetry!

source


# ProToPortal.build_lazy_aicall — Method.

Constructs AIGenerate call that mimics if it was just executed

source


# ProToPortal.evaluate_code — Method.

Code evaluator. Returns the evaluted code block (AICode) and the feedback string.

source


# ProToPortal.label_conversation — Method.

Labels the conversation based on the transcript

source


# ProToPortal.prepare_conversation — Function.

Prepares the conversation for sending to the LLM

source


# ProToPortal.send_to_model — Method.

Sends the conversation to the LLM.

source


# ProToPortal.send_to_model — Method.

Sends the conversation to the Auto-Critic Template for evaluation and suggestions

source


# ProToPortal.send_to_model — Method.

Sends the conversation to the LLM.

source


# ProToPortal.conversation2transcript — Method.

Flattens the full conversation for critic to use

source


# ProToPortal.load_conversations_from_dir — Method.

Loads all conversations from a directory (or its sub-directories)

source


# ProToPortal.parse_builder — Method.

Parses prompt builder's response to get the instructions and inputs

source


# ProToPortal.parse_critic — Method.

Parses critic's response to get the suggestions and whether they requested to stop

source


# ProToPortal.render_messages — Function.

Returns rendered messages, check if messages need updating as we might have changed the display

source


# ProToPortal.render_template_messages — Method.

Renders template displayed messages

source


# ProToPortal.template_variables — Method.

Extracts the variables from the template name (if found)

source


# ProToPortal.update_message! — Method.

Updates the message in the display, if needed

source


# ProToPortal.update_message — Method.

Updates the provided message with the new content (creates a new object)

source