YAML Metadata
Warning:
empty or missing yaml metadata in repo card
(https://huggingface.co/docs/hub/model-cards#model-card-metadata)
Table of Contents
CodeFileEditAtomicFlow
CodeFileEditAtomicFlow Objects
class CodeFileEditAtomicFlow(AtomicFlow)
This class is used to write code to a temp code file, with commented instructions to give information to the user.
Input Interface:
code
: strlanguage_of_code
: strmemory_files
: Dict[str, str]
Output Interface:
code_editor_output
: strtemp_code_file_location
: str
Configuration Parameters:
input_interface
: The input interface of the atomic flow.output_interface
: The output interface of the atomic flow.
run
def run(input_data: Dict[str, Any])
This function runs the atomic flow.
Arguments:
input_data
(Dict[str, Any]
): The input data.
Returns:
Dict[str, Any]
: The output data containing code editor output and temporary file location.