cc2b230f62
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
47 lines
456 B
Plaintext
47 lines
456 B
Plaintext
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
*$py.class
|
|
*.so
|
|
.Python
|
|
env/
|
|
build/
|
|
develop-eggs/
|
|
dist/
|
|
downloads/
|
|
eggs/
|
|
.eggs/
|
|
lib/
|
|
lib64/
|
|
parts/
|
|
sdist/
|
|
var/
|
|
*.egg-info/
|
|
.installed.cfg
|
|
*.egg
|
|
|
|
# Environment variables
|
|
.env
|
|
|
|
# Virtual Environment
|
|
venv/
|
|
ENV/
|
|
|
|
# IDE files
|
|
.idea/
|
|
.vscode/
|
|
*.swp
|
|
*.swo
|
|
|
|
# Local data
|
|
data/user_queries/*
|
|
!data/user_queries/.gitkeep
|
|
backend/data/vector_store/*
|
|
!backend/data/vector_store/.gitkeep
|
|
|
|
# Logs
|
|
logs/*
|
|
|
|
# OS specific
|
|
.DS_Store
|
|
Thumbs.db |