Closed traysh closed 2 months ago
Hi @traysh, good catch -- we aren't creating a new entry in the _variables_log_probs
on the set
method. Should be an easy fix -- thanks for reporting!
Have a candidate fix here: https://github.com/guidance-ai/guidance/pull/974/
The bug If
model.set('name', ['1', '2', '3'])
is used to create a variable, it can't be appended by later callinggen
.To Reproduce
Output
System info (please complete the following information):