Prompt Teplate #281
Prompt Teplate
#281
-
Hi! First of all, thank you for the package; it's genuinely very useful and interesting. In my learning process, I noticed that there doesn't seem to be (or I couldn't find) anything related to using templates for the prompt system. Is there any example available, or is it simply about writing the prompt as is? Is there a way to pass parameters to a prompt? Thanks for your help! |
Beta Was this translation helpful? Give feedback.
Answered by
ChrisB-TL
Mar 26, 2025
Replies: 1 comment 1 reply
-
You can pass Laravel blade views to withSystemPrompt and withPrompt, and pass variables to it in the usual way. There is an example in the docs. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alfredogalvan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @alfredogalvan
You can pass Laravel blade views to withSystemPrompt and withPrompt, and pass variables to it in the usual way.
There is an example in the docs.