diff --git a/docs/_reference/ecosystem.md b/docs/_reference/ecosystem.md index 6d537a537..d1a85eef8 100644 --- a/docs/_reference/ecosystem.md +++ b/docs/_reference/ecosystem.md @@ -92,6 +92,40 @@ For detailed documentation and examples, visit the [RubyLLM::Schema repository]( --- +## RubyLLM::Template + +**Organize Prompts into Reusable Templates** + +[RubyLLM::Template](https://github.com/danielfriis/ruby_llm-template) enables developers to organize prompts into reusable templates for RubyLLM. It provides a structured approach to managing AI prompts, eliminating the need to manage prompt strings directly in code. + +### Why Use RubyLLM::Template? + +When working with LLMs, managing prompts effectively becomes crucial as your application grows. RubyLLM::Template helps you: + +- Organize prompts in a structured folder hierarchy +- Keep prompts separate from application logic +- Reuse prompt patterns across your application +- Maintain consistency across different AI interactions + +### Key Features + +- ๐ŸŽฏ Organized Templates: Structure prompts in folders with separate files for system, user, assistant, and schema messages +- ๐Ÿ”„ ERB Templating: Full ERB support with context variables and Ruby logic +- โš™๏ธ Configurable: Custom template directories per environment +- ๐Ÿš€ Rails Integration: Seamless Rails setup with generators +- ๐Ÿงช Well Tested: Comprehensive test suite +- ๐Ÿ“ฆ Minimal Dependencies: Only requires RubyLLM and standard libraries + +### Installation + +```bash +gem install ruby_llm-template +``` + +For detailed documentation and examples, visit the [RubyLLM::Template repository](https://github.com/danielfriis/ruby_llm-template). + +--- + ## Community Projects The RubyLLM ecosystem is growing! If you've built a library or tool that extends RubyLLM, we'd love to hear about it. Consider: @@ -100,4 +134,4 @@ The RubyLLM ecosystem is growing! If you've built a library or tool that extends - Sharing it in our GitHub Discussions - Using the `ruby_llm` topic on your GitHub repository -Together, we're building a comprehensive ecosystem for LLM-powered Ruby applications. \ No newline at end of file +Together, we're building a comprehensive ecosystem for LLM-powered Ruby applications.