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

feat(templates): add sprig to multimodal templates #3868

Merged
merged 1 commit into from
Oct 17, 2024

Conversation

mudler
Copy link
Owner

@mudler mudler commented Oct 17, 2024

Description

This PR adds sprig to the multimodal templates. This allows to use sprig functions when configuring the multimodal templates, which can be needed in case of backends that expects the ID of images to start with 1 instead of 0 (and we can customize that in the template by ++-ing the IDs with sprig functions, rather then hardcoding it).

Notes for Reviewers

Part of #3670

Signed commits

  • Yes, I signed my commits.

Signed-off-by: Ettore Di Giacinto <mudler@localai.io>
Copy link

netlify bot commented Oct 17, 2024

Deploy Preview for localai ready!

Name Link
🔨 Latest commit 0309bfb
🔍 Latest deploy log https://app.netlify.com/sites/localai/deploys/67112e196227610009783390
😎 Deploy Preview https://deploy-preview-3868--localai.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@mudler mudler added the enhancement New feature or request label Oct 17, 2024
@mudler mudler merged commit e1db6dc into master Oct 17, 2024
30 of 32 checks passed
@mudler mudler deleted the feat/sprig_multimodal branch October 17, 2024 15:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant