Component | Description |
---|---|
template_store_local() | Loads the Word document template locally (.docx ) |
scrape_url_content() | Extracts and cleans website content |
llm_generate_summary() | Summarizes scraped content using LLM |
initialize_llm() | Prepares the language model (GPT-4, Gemini, etc.) |
generate_proposal_data() | Creates full proposal text using user info + scraped data |
generate_requirements_json() | Parses structured requirements, timeline, and pricing as JSON |
map_json_to_template() | Maps structured values into .docx placeholders |
upload_to_s3() | Uploads generated document to AWS S3 and returns path |
final_response() | Sends final status and download link to the frontend |
WEB_PROPOSAL_AGENT
Integration