Skip to content

log error for incompatible settings with sampling #3

Open

Description

@jakelorocco

Sampling doesn't make sense if a seed is set because each sampling will generate the exact same (potentially) problematic response. Each sampling strategy should do this for itself because there are scenarios where using a seed with sampling does make sense. Currently, the only case where this is true would be when a repair strategy is given.

We should also investigate setting "smarter" seeds, ie being able to set a single seed that then deterministically sets different seeds for future requests. This would make sampling more deterministic while still allowing for re-generating without repair.

Also investigate if there are other scenarios where this makes sense to implement.

Activity

  1. added
    documentation
    enhancement
    on Aug 6, 2025
  2. added a commit that references this issue on Jan 7, 2026
  3. psschwei commented on May 12, 2026

    @psschwei
    Contributor

    this may be investigatory, could result in a number of PRs

  4. added
    p0
    on May 12, 2026
  5. added
    area/sampling
    and removed
    enhancement
    on May 20, 2026
  6. added
    p2
    and removed
    p0
    on Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/samplingdocumentationp2

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions