Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify loader for jinja template (external Jinja template support) #138

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

yak1ex
Copy link

@yak1ex yak1ex commented Jan 30, 2025

Jinja templates have great potential for building complex prompts.
However, they are currently limited within a prompt.
Enabling the use of external Jinja templates via import/include features could open up another level of possibilities.

This PR provides a straightforward implementation to share Jinja templates using a wildcard folder.

Some considerations include:

  • It might be better to assign a dedicated Jinja template folder.
  • It might be better to add configuration options to enable/disable this feature.

@akx akx self-requested a review January 31, 2025 13:34
@akx akx removed their request for review March 11, 2025 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant