/pro-agent/business-summary
/pro-agent/keyword-research
/pro-agent/topic-generation
/pro-agent/article-generation
Component | Description |
---|---|
URLCheckerService | Validates and pings target URL for reachability |
initialize_llm() | Loads GPT-4 and sets up memory/context |
scrape_url_content() | Scrapes and parses the website content |
create_prompts() | Builds dynamic prompts based on inputs |
run_chain() | Executes LangChain-based chain of logic |
DataForSEO | Pulls search volume, CPC, and difficulty metrics |
Scraper | Extracts content from competitors for inspiration |
Step | Action |
---|---|
1 | User inputs a website URL |
2 | Backend returns SEO keyword suggestions |
3 | User selects primary & secondary keywords |
4 | AI generates topic ➡ full article (live stream) |
Step | API Endpoint |
---|---|
Keywords | GET /pro-agent/keyword-research?domain=example.com |
Topics | POST /pro-agent/topic-generation |
Articles | POST /pro-agent/article-generation |
Stream | getAIProAgentChatResponse() (SSE or chunked stream) |
Component | Purpose |
---|---|
KeywordSelector | Displays keywords with volume/difficulty |
TopicDisplay | Shows or edits the AI-generated topic |
ArticleStreamView | Streams and displays paragraphs in real-time |
getAIProAgentChatResponse() | Makes the stream request to backend API |