quarkiverse / quarkus-langchain4j

Quarkus Langchain4j extension
https://docs.quarkiverse.io/quarkus-langchain4j/dev/index.html
Apache License 2.0
119 stars 65 forks source link

It should be possible to specify the seed when generating images. #580

Closed iocanel closed 1 month ago

iocanel commented 1 month ago

This may be applicable to other areas too, but I think that its a must for images, as generating images is an iterative process that requires a lot of tuning in the prompt and being able to use a fixed seed is really important.

geoand commented 1 month ago

👌

iocanel commented 1 month ago

@langchain4j with a quick glimpse on OpenAI, I don't see any way to set this. Is it even exposed by their API ?. If not, I guess there is not much we can do.

langchain4j commented 1 month ago

Seed can be specified only for chats, image generation API does not have this option: https://platform.openai.com/docs/api-reference/images

iocanel commented 1 month ago

Thanks @langchain4j. I'll close then and we can revisit, if seed ever becomes available.