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

TemplateRegistry support add custom jinja2 template loader #21

Open
rongfengliang opened this issue Aug 24, 2024 · 1 comment
Open

TemplateRegistry support add custom jinja2 template loader #21

rongfengliang opened this issue Aug 24, 2024 · 1 comment

Comments

@rongfengliang
Copy link

Currently ,TemplateRegistry only soppurt j2.PackageLoader and j2.FileSystemLoader, maybe we can pass custom jinaj2 loader for better storage and load prompt template contents (Templates maybe storage in s3,gcs )

@groeney
Copy link
Collaborator

groeney commented Aug 25, 2024

Yes definitely and thank you for filing this! This was one of those things that we wanted to wait and see if there was any demand for before implementing it. Will take a pass at it soon—currently ooo :/

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

No branches or pull requests

2 participants