25 lines
616 B
Markdown
25 lines
616 B
Markdown
# Самокорректирующийся агент
|
|
|
|
This repository contains a minimal setup for a self-correcting agent using LangChain and OpenAI.
|
|
The `requirements.txt` file includes all necessary dependencies.
|
|
|
|
## Setup
|
|
|
|
```bash
|
|
# Create a virtual environment (optional but recommended)
|
|
python -m venv venv
|
|
source venv/bin/activate # On Windows: venv\Scripts\activate
|
|
|
|
# Install dependencies
|
|
pip install -r requirements.txt
|
|
```
|
|
|
|
## Running the Test Script
|
|
|
|
```bash
|
|
python main.py
|
|
```
|
|
|
|
You should see a message confirming that the LangChain OpenAI import was successful and an LLM instance was created.
|
|
|
|
--- |