feat: solution for 'Экзамен: Самокорректирующийся агент'
This commit is contained in:
@@ -1,10 +1,29 @@
|
||||
# Самокорректирующийся агент
|
||||
# Self-Correcting Agent Example
|
||||
|
||||
Этот проект использует библиотеки `langchain-openai` и `langchain-core`.
|
||||
Установите зависимости командой:
|
||||
This repository demonstrates a minimal self‑correcting agent built with **LangGraph**.
|
||||
The agent concatenates a greeting message and prints it at the end.
|
||||
|
||||
## Requirements
|
||||
|
||||
- Python 3.10+
|
||||
- `langgraph` (added to `requirements.txt`)
|
||||
|
||||
Install dependencies:
|
||||
|
||||
```bash
|
||||
pip install -r requirements.txt
|
||||
```
|
||||
|
||||
После установки можно запускать скрипты проекта, которые используют эти библиотеки.
|
||||
## Running the Agent
|
||||
|
||||
```bash
|
||||
python agent.py
|
||||
```
|
||||
|
||||
You should see the output:
|
||||
|
||||
```
|
||||
Hello World
|
||||
```
|
||||
|
||||
The example ensures that imports from `langgraph.graph` work correctly and that the agent can be executed without errors.
|
||||
Reference in New Issue
Block a user