-
### What needs to get done
Formalize pydantic models prototyped in #4917 (types, docstrings, constraints, unit tests).
### Why it needs to get done
To support registries
-
If we want to allow sequences of pydantic models, things get unreadable quite fast.
Let's look at an example of a nested pydantic model with a sequence of another model:
`pets.py`
```python
fr…
-
### 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…
-
### 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…
-
## 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…
-
Hi all,
I don't know if I should post here or in the langchain-core issues (and I might do both).
I've got this error since I updated all the langchain-related packages.
It seems that the add_r…
-
### 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…
-
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…
-
### 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…