Repository navigation
Release v7.161.0
Summary
A language model completion can now take images, so a host can ask a vision-capable model to work from a sketch or reference image.
Added
- A language model completion can take one or more images (
IVisionLanguageModel,LanguageModelImage); PNG, JPEG, GIF and WebP are accepted, and usage is metered under the purpose like any other completion (#1148) - Anthropic, Z.AI, OpenAI, Azure OpenAI and OpenAI-compatible providers send images with the prompt through the new
IAIProviderImageClient(#1148)
Changed
- A model without the Vision capability, a provider client that cannot send images, or an unsupported image type refuses the completion with a clear reason instead of ignoring the image; a provider pool skips such a member and tries the next (#1148)