▲ | shaism 9 days ago | ||||||||||||||||
Very cool. I implemented something similar for personal use before. At that time, LLMs weren't as proficient in coding as they are today. Nowadays, the decorator approach might even go further and not just wrap LLM calls but also write Python code based on the description in the Docstring. This would incentivize writing unambiguous DocStrings, and guarantee (if the LLMs don't hallucinate) consistency between code and documentation. It would bring us closer to the world that Jensen Huang described, i.e., natural language becoming a programming language. | |||||||||||||||||
▲ | psunavy03 9 days ago | parent [-] | ||||||||||||||||
People have been talking about natural language becoming a programming language for way longer than even Jensen Huang has been talking about it. Once upon a time, they tried to adapt natural language into a programming language, and they came up with this thing called COBOL. Same idea: "then the managers can code, and we won't need to hire so many expensive devs!" And now the COBOL devs are retiring after a whole career . . . | |||||||||||||||||
|