constrained-sampling
There are 3 repositories under constrained-sampling topic.
krasserm/bot-with-plan
Separation of planning concerns in ReAct-style LLM agents. Planner fine-tuning on synthetic trajectories.
saravanabalagi/sampling_utils
Python tools to sample randomly with dont pick closest n elements constraints. Also contains a batch generator for the same to sample with replacement and with repeats if necessary.