genkit icon indicating copy to clipboard operation
genkit copied to clipboard

[Dev UI] Render multiple candidates for image models

Open MichaelDoyle opened this issue 1 year ago • 4 comments

Note: there is a proposal to remove multiple candidates from the API/model abstraction. In that case, we can still have the UI provide a selection for # of candidates, and make parallel calls for each request image, and display in a grid.

MichaelDoyle avatar Jul 25 '24 15:07 MichaelDoyle

I think @mbleigh was considering getting rid of multiple candidates in favor of making multiple calls in parallel.

chrisraygill avatar Jul 25 '24 19:07 chrisraygill

It's true :) I wrote that in the description. From a UX perspective, we might still want to do it. BUT, if not. Let's close this out. Let me know.

MichaelDoyle avatar Jul 25 '24 19:07 MichaelDoyle

+1 to both getting rid of candidates generally and still supporting multiple generations for image models specifically. :)

mbleigh avatar Jul 25 '24 19:07 mbleigh

Apparently multiple images is supported natively in the genai sdk. This is working for Go now.

MichaelDoyle avatar May 19 '25 14:05 MichaelDoyle