Open neil-armstrong-instil opened 1 month ago
Hey, this is a good question for @brnaba-aws he is currently maitnaing our bedrock support. I'm not sure he implemented image generation.
@neil-armstrong-instil I guess you had an error function definition here:
def execute(userMessage: str) -> PIL.Image:
return userMessage
This prompt function may return nothing or just string instead of PIL.Image object.
I'm a little new to
ell
(andpython
in general, so bare with me a bit š ), just trying to get an experiment working with image generation. So given a simple example:I am getting a result of
I'm not sure if there is some configuration I need to do in order for it to not be a "Converse operation" if that be in
ell
or thebedrockClient
? Is there an example like this I could use as a reference?