Skip to content

register_template_loaders plugin hook #809

Closed
@simonw

Description

@simonw

This is just an experimental idea at the moment. What if plugins could register custom template loaders such that this worked?

cat file.txt | llm -t gh:simonw/summarize

Where the gh: is a prefix registered by a template loader plugin, and simonw/summarize is the string passed to that loader.

In this case the GitHub one could look for the summarize.yaml file in a simonw/llm-templates repository.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions