Member-only story
Structured Outputs From Mistral’s Models
I just got access to “La Plateforme” and immediately started playing with Mistral’s models.
First observation: These models are pretty good. Now “La Plateforme” still needs to evolve. For now, I can’t monitor my token consumption, even if I can already set a max budget. Plus the docs do not contain enough details about the models. I have no doubt this will be different in a few months.
One thing I wanted to test tonight is the ability of Mistral’s models to generate structured outputs. I quickly wrote some lines of code using pydantic to define the schema of the structured output. Here is a quick first version of the code. I will certainly have to make it better in the following days and weeks. Turns out Mistral’s models are pretty good at generating structured outputs, which makes them very useful to develop complex workflows.