Skip to content

[Feature Request]More Results based on Same Value #1

Closed

Description

@Quorafind

Hi, good job! It is useful. Is it possible to generate more than one result based on same value? I want to test if a prompt is stable.

Activity

  1. typpo commented on May 6, 2023

    @typpo
    Contributor

    Thanks for the suggestion, I'll see if I can build in an option to do this. How many times do you think you'd run it to decide if it's stable?

    Right now, the easiest way to accomplish what you want is to include the prompt multiple times, either in the same file:

    <prompt>
    ---
    <prompt repeated>
    ---
    ...
    

    Or by passing it multiple times:

    promptfoo -p prompt.txt prompt.txt
    
  2. Quorafind commented on May 6, 2023

    @Quorafind
    Author

    Hi, I will want to test the same prompt more than three times. And your suggestion is useful for me either.

  3. typpo commented on May 23, 2023

    @typpo
    Contributor

    Closing this as the requirement can be met by adding the same prompt several times!

  4. added a commit that references this issue on May 23, 2025
  5. added a commit that references this issue on Jun 12, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions