Skip to content

Feature Request: Prompt List Input as a YAML File #37

@SamuelDevdas

Description

@SamuelDevdas
## Feature Request: Prompt List Input as a YAML File

**Description:**
I would like to suggest a feature that allows users to input a list of prompts from a YAML file. This would streamline the process of adding multiple prompts for grid search or A/B testing, making the tool more efficient and user-friendly.

**Feature Details:**
- **Functionality:** Users can upload or link a YAML file containing a list of prompts.
- **File Format:** The YAML file should have a specific structure that the application can easily parse. For example:
  ```yaml
  prompts:
    - "Write a short sentence!"
    - "Describe a sunset."
    - "Explain the theory of relativity in simple terms."
  ```
- **Integration:** A new button or link on the interface to upload or specify the path to the YAML file.
- **Validation:** Basic validation to ensure the uploaded file is in the correct YAML format and contains valid prompts.
- **Error Handling:** Clear error messages if the YAML file is improperly formatted or if there are issues reading the prompts.

**Benefits:**
- **Efficiency:** Users can quickly add multiple prompts without manually entering them one by one.
- **Convenience:** Simplifies the process of setting up experiments, especially for users who frequently run tests with multiple prompts.
- **Scalability:** Facilitates batch processing and experimentation.

**Thank you for considering this feature request. I believe it will greatly enhance the usability of the Ollama Grid Search tool.**

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions