microsoft / microsoft/promptflow
Bulk processing of inputs in an LLM - bulk categorization
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 11.2k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
Currently running prompt flow the "input" is defined as a single "item".
Currently for the classification example it can only classify 1 input at a time.
There needs to be a feature to be able to put in many products at once so that a single prompt can output many categorizations.
To be able to import many inputs at once, and have them all output and linked to original input to make sure that accuracy can be traced.
This way the "cost" of the prompt tokens to explain what must be done can be "amortized" across many inputs.
The same way in an eval you can "bulk" process inputs. The same must be done with a general flow.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the requested general-flow behavior with the existing bulk-processing behavior in evals, then trace how flow inputs and outputs are represented. Done means a flow can import many products, produce a categorization for each, link every result to its original input for accuracy tracing, and amortize prompt-instruction tokens across the batch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100