Add README
This commit is contained in:
@@ -1,3 +1,23 @@
|
|||||||
# task-6a22c713fd30e81cf315e9fe
|
# LangGraph Tavily Comparison Agent
|
||||||
|
|
||||||
LangGraph Tavily comparison agent
|
## Description
|
||||||
|
|
||||||
|
This repository contains a simple LangGraph agent that compares three entities using Tavily web search. The agent follows the assignment requirements:
|
||||||
|
|
||||||
|
1. Generates comparison criteria based on the entities.
|
||||||
|
2. Performs a Tavily search for each entity‑criterion pair.
|
||||||
|
3. Builds a markdown table of findings.
|
||||||
|
4. Provides a verdict.
|
||||||
|
|
||||||
|
## Setup
|
||||||
|
|
||||||
|
```bash
|
||||||
|
pip install -r requirements.txt
|
||||||
|
export TAVILY_API_KEY=your_key
|
||||||
|
export OPENAI_API_KEY=your_key
|
||||||
|
python main.py
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
|
Run `python main.py` to see a demo comparison of Tavily, Google, and Bing.
|
||||||
|
|||||||
Reference in New Issue
Block a user