how long can the prompt_template be? for creating agents #11514
Unanswered
itserror404
asked this question in
Get help
Replies: 1 comment
-
|
Long prompt templates do matter because they are sent repeatedly, so the cost impact compounds across every invocation rather than appearing once. Even when the model can technically accept the size, the better question is whether the template is carrying instruction value or just becoming persistent overhead. A practical way to think about it is to keep the stable rules concise and move variable guidance into data or runtime context only when needed. That usually gives a better balance between control, token efficiency, and easier iteration over the prompt itself. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, how long can the prompt_template be? and does this get sent to the LLM every time i.e. does it impact the no of tokens used? thanks!
Beta Was this translation helpful? Give feedback.
All reactions