openai-functions
openai-functions copied to clipboard
Generate ChatGPT function call schemas based on function docstrings.
Thanks for creating this. It's the best python openai wrapper on the market and I tried a few. Do you plan to add async support? It would be especially useful...
Hi, I saw your [post](https://www.reddit.com/r/OpenAIDev/comments/14komlx/i_made_a_library_to_simplify_function_calling/) on reddit, this is great work! I’m working on a similar project https://github.com/TengHu/ActionWeaver. I'd love to hear your feedback, maybe there are future collaboration opportunities...
``` @nlp @dataclass class Person: """Extract personal info""" name: str age: int person = Person.from_natural_language("Hi i am serkan.") print(person) ``` The code above throws the exception openai_functions.exceptions.BrokenSchemaError: 'OpenAI returned a...