Initial solution: add README.md
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
# Экзамен: Структурированный вывод (Pydantic)
|
||||||
|
|
||||||
|
## Задание
|
||||||
|
|
||||||
|
Из одного текста получить валидированный объект Pydantic без ручного разбора строк.
|
||||||
|
|
||||||
|
## Стек
|
||||||
|
- Python 3.10+
|
||||||
|
- langchain-core, langchain-openai, pydantic
|
||||||
|
- python-dotenv
|
||||||
|
|
||||||
|
## Установка
|
||||||
|
```bash
|
||||||
|
pip install langchain-core langchain-openai pydantic python-dotenv
|
||||||
|
```
|
||||||
|
|
||||||
|
## Как запустить
|
||||||
|
```bash
|
||||||
|
python main.py --text "Анна, 28 лет, Python-разработчик. Навыки: FastAPI, Docker."
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user