Update CodeGeneratorAtomicFlow.py
Browse files5 unmodified lines67891011125 unmodified linesclass CodeGeneratorAtomicFlow(ChatAtomicFlow):"""Generates one function with docstrings to finish the given goal (from the controller)."""def __init__(self, **kwargs):super().__init__(**kwargs)5 unmodified lines6789101112131415161718192021222324252627285 unmodified linesclass CodeGeneratorAtomicFlow(ChatAtomicFlow):"""This class wraps around the Chat API to generate code from a goal. One thing worth noting is that we need tomake sure the code generator does not write repetitive code that is present in the library, so we need to injectthe 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`"""def __init__(self, **kwargs):super().__init__(**kwargs)
CodeGeneratorAtomicFlow.py+17-1