https://www.boundaryml.com logo
🟡 Role Initialization in Prompts
# questions
r
Do I need to like, do
{{ _.role("system") }}
at the top of my prompts or is it already set that way? Below I switch to user when presenting the data:
{{ _.role("user") }}
.
v
models have different defaults, openai -> system, anthropic / google -> user that should be documented in the provider i think! 🙂
r
I am on Gemini so I should set to system...?
I'm trying it...
v
you can also set
default_role
to
system
for the client definition if you don't want to set it automatically
r
That actually killed uuid retention by 20%... it is all irrational.
@Vaibhav (BAML 🐑) how much variance in task performance do you see with zero temperature?
v
google/anthropic recommends not using system instructions btw 🙂
hence why its not our defaults
0 temp still leads to variance since its all floating point math which is not associative
r
Okay, thanks for your help. I know the math varies, but I get the same number of companies over and over... yet the source_id retention varies wildly.
r
I’m learning not to mess with prompts much but to mess with signatures, descriptions, structure and few shot examples.