examples/llama-4-maverick-web-extractor/README.md
This tool uses Llama 4 Maverick (via Together AI), SerpAPI, and Firecrawl to automatically extract structured information about companies from the web. It performs intelligent URL selection and information extraction from web content.
git clone <your-repo-url>
cd <your-repo-name>
pip install -r requirements.txt
cp .env.example .env
.env file with your API keys:TOGETHER_API_KEY=your_together_ai_key
SERP_API_KEY=your_serpapi_key
FIRECRAWL_API_KEY=your_firecrawl_key
Run the script:
python llama-4-maverick-extractor.py
The script will:
$ python llama-4-maverick-extractor.py
Enter the company name: Tesla
Enter what information you want about the company: latest electric vehicle models and their prices
The script includes comprehensive error handling for:
MIT License - feel free to use and modify as needed.