Add README
This commit is contained in:
1 parent
3d1a65ae12
commit
bf2ade1a22
1 file changed
+22
-2
@@ -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