SynapseML
SynapseML copied to clipboard
feat: giving the gift of vision to OpenAIChatCompletions
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.
- Find the corresponding markdown file for your new feature in
website/docs/documentationfolder. Make sure you choose the correct classestimators/transformersand namespace. - Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
- Make sure the
DocTablepoints to correct API link. - Navigate to website folder, and run
yarn run startto make sure the website renders correctly. - Don't forget to add
<!--pytest-codeblocks:cont-->before each python code blocks to enable auto-tests for python samples. - Make sure the
WebsiteSamplesTestsjob pass in the pipeline.