Skip to content

mjrusso/hex2txt

Repository files navigation

hex2txt

Convert documentation for hex.pm packages to /llms.txt files.

Why?

The LLM you're using to help with development might not know about the libraries you're using. Use hex2txt to generate documentation for inference-time consumption.

If the documentation is too large for your LLM's context window, use the hex2context Livebook. hex2context performs Retrieval-Augmented Generation, including only the most relevant subset of documentation for the task-at-hand.

Try It

hex2txt

See https://hex2txt.fly.dev.

Some examples:

hex2context

Run the notebook directly by clicking on this badge:

Run in Livebook

License

hex2txt is released under the terms of the Apache License 2.0.

Copyright (c) 2024, Michael Russo.