Blaizzy / mlx-vlm

MLX-VLM is a package for running Vision LLMs locally on your Mac using MLX.
MIT License
233 stars 20 forks source link

Auto generated documentation #35

Open gabewillen opened 4 months ago

gabewillen commented 4 months ago

You don't have to merge this. Just an example of auto generated documentation using AI. Unlike pasting code into chat-gpt or using copilot. This tool builds full dependency graphs and sends all the relevant code to the model in the context. It then injects the documentation into the parsed AST leaving the existing code untouched.

gabewillen commented 4 months ago

The entire process took two minutes

gabewillen commented 4 months ago

Want me to delete this PR?

Blaizzy commented 4 months ago

No, please keep it.

It's pretty interesting and I have lots of questions! 🔥

At the moment, I'm out on a trip for the weekend and will get back to all your comments soon :)

If it's open-source we might merge it and have it as a default tool like gradio.

Blaizzy commented 3 months ago

You don't have to merge this. Just an example of auto generated documentation using AI. Unlike pasting code into chat-gpt or using copilot. This tool builds full dependency graphs and sends all the relevant code to the model in the context. It then injects the documentation into the parsed AST leaving the existing code untouched.

I'm back,

@gabewillen this is impressive!

Where can I learn more about it?

gabewillen commented 3 months ago

Hey and thanks! I'm finishing it up now yours was only but a few I've ran it completely on. Soon it will actually create material ui mkdoc sites along with the documentation.