YAML Metadata Warning: empty or missing yaml metadata in repo card (https://huggingface.co/docs/hub/model-cards#model-card-metadata)

Table of Contents

CodeGeneratorAtomicFlow

CodeGeneratorAtomicFlow Objects

class CodeGeneratorAtomicFlow(ChatAtomicFlow)

This class wraps around the Chat API to generate code from a goal. One thing worth noting is that we need to make sure the code generator does not write repetitive code that is present in the library, so we need to inject the function signatures in the library to the system prompts.

Input Interface Non Initialized:

  • goal
  • code_library
  • memory_files

Input Interface Initialized:

  • goal
  • code_library
  • memory_files

Output Interface:

  • code
  • language_of_code

instantiate_from_config

@classmethod
def instantiate_from_config(cls, config)

Instantiate a CodeGeneratorAtomicFlow from a configuration.

Arguments:

  • config: Configuration dictionary.

Returns:

Instantiated CodeGeneratorAtomicFlow.

run

def run(input_data: Dict[str, Any]) -> Dict[str, Any]

Run the flow.

Arguments:

  • input_data: Input data.

Returns:

Output data.

__init__

Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support