Skip to content

Reference for ProToPortal.jl

# ProToPortal.autofix_codeMethod.

Runs one iteration of airetry!

source


# ProToPortal.build_lazy_aicallMethod.

Constructs AIGenerate call that mimics if it was just executed

source


# ProToPortal.evaluate_codeMethod.

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

source


# ProToPortal.label_conversationMethod.

Labels the conversation based on the transcript

source


# ProToPortal.prepare_conversationFunction.

Prepares the conversation for sending to the LLM

source


# ProToPortal.send_to_modelMethod.

Sends the conversation to the LLM.

source


# ProToPortal.send_to_modelMethod.

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

source


# ProToPortal.send_to_modelMethod.

Sends the conversation to the LLM.

source


# ProToPortal.conversation2transcriptMethod.

Flattens the full conversation for critic to use

source


# ProToPortal.load_conversations_from_dirMethod.

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

source


# ProToPortal.parse_builderMethod.

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

source


# ProToPortal.parse_criticMethod.

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

source


# ProToPortal.render_messagesFunction.

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

source


# ProToPortal.render_template_messagesMethod.

Renders template displayed messages

source


# ProToPortal.template_variablesMethod.

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_messageMethod.

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

source