How to get or set experiment assignments with SQL.
experimentation.assignments
or if wanting to implement an experiment directly in SQL.
admin
editor
scientist
assignments
table:
create_assignment
can only be called for a single row at a time. That is, you couldn’t run something like: SELECT create_assignment(user, 'my-experiment') FROM mytable
user_0001
in experiment home-cta
.
COMPLETE
method, testing different model versions for various customers. Winning Variant is used to determine which model should be used per customer ID. Later, we would tie business KPIs (i.e., revenue, churn, returns, etc) back to each variant to see which model should be deployed.
We have the following declared for this example:
llama3.2-1b
model) and treatment (claude-3-5-sonnet
)cortex-test
abc123