Internal Service: organize_with_llm
Uses an LLM to organize and structure the scraped website content.Function Signature
Parameters
| Parameter | Type | Description |
|---|---|---|
url | str | Source website URL |
scrape_result | dict | Result from scrape_website |
business_id | str | Business identifier |
existing_structure | dict | None for fresh generation |
Purpose
The LLM analyzes the scraped content and:- Identifies business information
- Extracts key products/services
- Generates Q&A pairs
- Structures navigation