imageGenerationModel support in provider? #2520
Closed
Und3rf10w
started this conversation in
Ideas & Feedback
Replies: 1 comment
-
Move to #2524 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What are the thoughts on adding a
imageGenerationModel
as a property to aProvider
?I came up with these types as an example, but this is tied directly to Dalle.
Maybe the call settings and
DallePromiseLike
would be tied to like anOpenAIImageGenerationModel
instead that implements fromImageModelV1
?I don't actually have any idea on how to properly handle
doStream
cases though.Ideally, since most of the providers taht are available in the
ProviderRegistry
also expose image generation models (e.g.Dalle
for OpenAI,Stable diffusion
for vertex/bedrock), we would also be able to add those and manage those using the registry so we only have to track models in one place and they can all be self contained in the registry.Beta Was this translation helpful? Give feedback.
All reactions