Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Parallel exection of prompts in Prompt Studio #878

Open
hari-kuriakose opened this issue Dec 9, 2024 · 0 comments
Open

feat: Parallel exection of prompts in Prompt Studio #878

hari-kuriakose opened this issue Dec 9, 2024 · 0 comments
Labels

Comments

@hari-kuriakose
Copy link
Contributor

hari-kuriakose commented Dec 9, 2024

Is your feature request related to a problem? Please describe.
Currently prompts defined in a Prompt Studio are executed sequentially by default. This drastically increases the latency as the number of defined prompts increases.

Describe the solution you'd like

  • The defined prompts need to be executed in parallel instead for obvious latency improvements.
  • Might be better to add a toggle button to choose whether to run all prompts in parallel or not.

Describe alternatives you've considered

  • SinglePassExtraction might not be feasible if expected output and/or passed context is big for each prompt.
  • SummarizedExtraction might not be feasible if each clause needs to be analyzed (e.g. insurance contracts documents).

Additional context
Credits to Michel Medawar.
See original public Slack thread.

@hari-kuriakose hari-kuriakose added enhancement New feature or request feature and removed enhancement New feature or request labels Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant