From the course: Generative AI for Data Engineering: ChatGPT Power Tips

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Automating documentation with ChatGPT

Automating documentation with ChatGPT

- [Instructor] You might understand how to write the code using the ChatGPT. But code is not everything. Code without documentation is like a story without a narrative, which is hard to follow. And if I tell you that using ChatGPT, you can do the documentation of all your data pipelines and your logics in just few seconds, probably that will excite you, right? So let's understand how we can use ChatGPT for the documentation purpose. Let's move to our ChatGPT. For instance, imagine that you have this code. Now, what I'm going to do is I will say to my ChatGPT, I have following code script. And then I give a command that, "Write a documentation for below script." And then I paste my entire script. And it just sent. Now, you will find that it is going to write an entire documentation for you, and in fact, for every step. If you don't want an documentation in this format, you can just say that, "Do inline documentation for the script." And now you will find that it is doing in…

Contents