mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
Update Documentation
This commit is contained in:
@@ -53,6 +53,9 @@ This is very helpful because once we use something like FastAPI to create endpoi
|
||||
4. Schema and Response Model for the language model.
|
||||
|
||||
```python
|
||||
from typing import List
|
||||
from pydantic import BaseModel, ValidationInfo, model_validator
|
||||
|
||||
class Tag(BaseModel):
|
||||
id: int
|
||||
name: str
|
||||
|
||||
Reference in New Issue
Block a user