SynapseML icon indicating copy to clipboard operation
SynapseML copied to clipboard

feat: giving the gift of vision to OpenAIChatCompletions

Open sss04 opened this issue 8 months ago • 3 comments

Related Issues/PRs

#xxx

Adding image support to OpenAIChatCompletion

Briefly describe the changes included in this Pull Request.

How is this patch tested?

Added just one image test for now - I will add more, especially checking base64 encodings and null values, soon!

  • [X] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

  • [X] No. You can skip this section.
  • [ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

  • [ ] No. You can skip this section.
  • [ ] Yes. Make sure you have added samples following below steps.
  1. Find the corresponding markdown file for your new feature in website/docs/documentation folder. Make sure you choose the correct class estimators/transformers and namespace.
  2. Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
  3. Make sure the DocTable points to correct API link.
  4. Navigate to website folder, and run yarn run start to make sure the website renders correctly.
  5. Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
  6. Make sure the WebsiteSamplesTests job pass in the pipeline.

sss04 avatar Mar 19 '25 15:03 sss04