code_utils
autogen.code_utils.generate_assertions
generate_assertions
(openai<1)
Generate assertions for a function.
Name | Description |
---|---|
definition | The function definition, including the signature and docstr. Type: str |
**config |
Type | Description |
---|---|
tuple[str, float] | str: The generated assertions. float: The cost of the generation. |