Docs.codes generates simple markdowns for open-source libraries that you can add to the context of your LLM assistants, helping them generate better code.
Here's a quick walkthrough with pypi/mem0ai as example: https://youtu.be/SKZol8G_tIE
LLMs struggle with generating correct code when using lesser-known libraries or dealing with major version changes that happen after their training cutoff. With these markdowns, you can ensure that your LLM chat/coding assistants have up-to-date knowledge of the library's API and usage patterns.
We built this using the latest Gemini models and our patchwork framework. Currently, we support npm and PyPI packages, and the deployment is optimized for speed over coverage/accuracy. Try it out and let us know if you spot any gaps or have ideas for improvement!
0