-
### What behavior of the library made you think about the improvement?
```
generator = outlines.generate.json(model, MyModel)
answer = generator(prompt)
```
Answer is now type hinted as `str | …
-
### 🚀 The feature
It would be great for type-hints to be able to return pydantic models. It would just require a check in serializability, if instance pydantic model -> use pydantic function for seri…
-
### Initial Checks
- [X] I have searched Google & GitHub for similar requests and couldn't find anything
- [X] I have read and followed [the docs](https://docs.pydantic.dev) and still think this feat…
-
## Have you checked borgbackup docs, FAQ, and open GitHub issues?
Yes
## Is this a BUG / ISSUE report or a QUESTION?
It's an ISSUE (suggestion for docs improvement actually).
I don't thi…
-
### What needs to get done
The current pydantic models have run through several pydantic updates and could use some updates to make them more idiomatic and work more nicely with generating JSON sch…
-
See write up here: https://cloudnativegeo.org/blog/2024/08/introduction-to-stac-geoparquet
Spec here: https://github.com/stac-utils/stac-geoparquet
Inspired by the broader, but GDAL dependent, wor…
-
### Initial Checks
- [X] I confirm that I'm using Pydantic V2
### Description
I tried to simplify the large number of complicated models as much as possible. 412 Pydantic models share the sam…
-
### Describe the issue as clearly as possible:
When using `models.llamacpp` and creating JSON using a Pydantic model I get an error when generating the first result (see code to reproduce below). I h…
-
Serializing models to json provided in a commit [#baeb343](https://github.com/romka-best/gpts-turbo-bot/commit/baeb343bf1d14cbb88c20b6bd39c7ef1ec1848dc) can be done using pydantic(see [serialization](…
-
### First Check
- [X] I added a very descriptive title to this issue.
- [X] I used the GitHub search to find a similar issue and didn't find it.
- [X] I searched the SQLModel documentation, with the …