Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v2][Enhancement] Improve project and code documentation using LLMs #207

Open
Udayraj123 opened this issue Sep 15, 2024 · 5 comments
Open

Comments

@Udayraj123
Copy link
Owner

Udayraj123 commented Sep 15, 2024

Is your feature request related to a problem? Please describe.
LLMs like ChatGPT can help make our project documentation easier to understand and fill any missing gaps.

  • Currently the project documentation is present in the project wiki.
  • Also the code comments are scarce except for the variable naming and the descriptions present json schemas that give some context.

Describe the solution you'd like
We should leverage code understanding capabilities of the LLMs to greatly improve documentation. We can -

  • Improve the existing User Guides in the Project wiki
  • Incrementally add explanatory code comments which can be read by docs generators later
    • Looking for a good prompt that does this job well

Describe alternatives you've considered
Developers have to refer to the provided samples to learn how to use each of the flags present in our template/evaluation schemas

Additional context
We are also planning to move it into a dedicated docs/pages folder in future. Also exploring using docs generators like Docusaurus for more elaborate project and code documentation.

Note: please share your queries and approaches on discord for quicker discussions:

@chirag4862
Copy link

I would love to work on this enhancement.

@Udayraj123
Copy link
Owner Author

Hey @chirag4862, good to hear that! Docs are crucial for a good adoption of the OMRChecker and I hope you'll be able to help them improve. Please go through the current wiki and share which part of it you'd like to work on.

@offline-keshav
Copy link

offline-keshav commented Oct 2, 2024

@Udayraj123 we can improve documentation by following steps

  1. We need to improve explained comments in every program and module.
  2. After that we need to improve 2 instructions manuals , one for normal user and other for devs.
  3. The dev manual need to have working of project , which program does what. by this solving other issues will be very easy since file can be found/ accessed more easily and direct references to the files can be given.
  4. LLMs like GPT can help with all these. I have done this thing in my earlier project too which can be accessed here and it did it very efficiently though there were some changes that need to be made.

Also I would like to work on this issue since.

@Udayraj123
Copy link
Owner Author

This is awesome. I'm assigning the task to you. Let me know if you need any clarification. Let's do it file by file I suppose. One more pointer is the schema/code differences in dev vs master branch. I think you can proceed by documenting the dev branch code since I will be releasing the v2 soon.

@Udayraj123 Udayraj123 changed the title [Enhancement] Improve project and code documentation using LLMs [v2][Enhancement] Improve project and code documentation using LLMs Oct 2, 2024
@Udayraj123
Copy link
Owner Author

Unassigning due to unavailability, discussed in discord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants