Files
marketing-assistant-ai/data/past_campaigns/video_script_20240101.json
T
Michael Ikehi cc2b230f62 feat(feedback): Add content improvement feedback system
Frontend (frontend/app.js):

- Add textarea for improvement feedback

- Add submit button with loading state

- Handle API response and display improved content

Backend (backend/copywriter.py):

- Add improve_copy() method using Cohere API

- Integrate retry mechanism for API calls

Backend (backend/main.py):

- Add /improve-content POST endpoint

- Implement error handling and return improved content with metadata

Testing:

- Verified feedback submission flow

- Confirmed improved content generation

- Tested error scenarios and loading states
2025-04-18 04:42:26 +01:00

17 lines
1.2 KiB
JSON

{
"content": "[Opening Scene: Dynamic business environment]\nVoice-over: \"You're standing at a pivotal moment in your business journey.\"\n\n[Cut to success metrics]\nVO: \"You've achieved success. But you know there's another level waiting.\"\n\n[Show transformation process]\nVO: \"The Business Evolution Program transforms how you:\n- Make strategic decisions\n- Create sustainable growth\n- Build powerful systems\n- Lead with confidence\"\n\n[Client testimonial shots]\nVO: \"Join entrepreneurs who've transformed their businesses using our proven framework.\"\n\n[Call to Action sequence]\nVO: \"Your next level is waiting. Take action now.\n\nBook your strategy session at [website].\"\n\n[End card]\nText: \"Transform Your Business in 90 Days\"\nCTA Button: \"Book Your Strategy Session\"",
"content_type": "video_script",
"metadata": {
"campaign_name": "Program Launch Video",
"performance_metrics": {
"view_completion_rate": 0.68,
"click_through_rate": 0.15,
"engagement_rate": 0.22
},
"video_length": "90 seconds",
"added_at": "2024-01-01T00:00:00Z",
"training_data": true
},
"document_id": 7,
"timestamp": "2024-01-01T00:00:00Z"
}