using static AIStudio.Provider.Capability; namespace AIStudio.Models.Mistral; /// /// Pixtral, the Mistral models built to look at pictures. /// /// /// They read images from the first release, so nothing here depends on a date. /// public sealed class PixtralFamily : ModelFamily { /// public override ModelVendor Vendor => ModelVendor.MISTRAL_AI; /// public override ModelSource Source => new("https://docs.mistral.ai/getting-started/models/models_overview/", new DateOnly(2026, 9, 12), "Capabilities ported unchanged from ProviderExtensions.Mistral.cs: images in every release. Mistral states a 128k window for Pixtral."); /// protected override void Declare(ModelFamilyBuilder builder) => builder.Rule("pixtral").AsSegment() .Capabilities(TEXT_INPUT | MULTIPLE_IMAGE_INPUT | TEXT_OUTPUT | FUNCTION_CALLING) .Apis(CHAT_COMPLETION_API) .ContextWindow(128_000); }