microsoft / microsoft/promptflow

[Feature Request] Allow adding input dict/list elements dynamically by + button in promptflow visual editor

Open
#773 0 comments 0 reactions 1 assignee View on GitHub

@JYC-99 is already working on this.

Since Oct 17, 2023.

enhancement long-term
Dominant language
Python
Stars
11.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
We have cases where users need to input a big dictionary/list. It is not easily doable in visual editor:
image
In this case, adding them in YAML is easier and less error-prone:
image

Describe the solution you'd like
Allow adding input dict/list items dynamically using a button, probably something like "+ key-value pair"/"+ item". similar to +Add Input:
image

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.