Skip to content

Conversation

@fdubut
Copy link
Contributor

@fdubut fdubut commented Jan 22, 2026

Description

This PR adds support for image edition/remix in OpenAIImageTarget, specifically being able to pass one text prompt (always required) and 1-16 image(s). It also fixes a handful of minor inconsistencies with class parameters (with different OpenAI models supporting different values).

Tests and Documentation

  • Updated unit tests to include support for image edition/remix, and the new requirements for input types.
  • Added an example of image edition/remix to the target documentation.
  • Split up the multi-modal target notebook into four notebooks (one per output modality).

Copy link
Contributor

@romanlutz romanlutz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is really good! Let us know what you think about the comments 🙂

await image_target.send_prompt_async(message=request)
finally:
if os.path.isfile(image_piece.original_value):
os.remove(image_piece.original_value)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We also need integration tests. Ideally, for the new functionality (entra and api key based) but also for the various models. I can help identify what we have so far.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would be great! I have never touched the integration tests...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants