121 lines
3.0 KiB
JSON
121 lines
3.0 KiB
JSON
{
|
|
"application": {
|
|
"name": "Content Automation & Syndication Platform",
|
|
"version": "1.0.0",
|
|
"environment": "development"
|
|
},
|
|
"database": {
|
|
"url": "sqlite:///./content_automation.db",
|
|
"echo": false,
|
|
"pool_size": 5,
|
|
"max_overflow": 10
|
|
},
|
|
"ai_service": {
|
|
"provider": "openrouter",
|
|
"base_url": "https://openrouter.ai/api/v1",
|
|
"model": "anthropic/claude-sonnet-4.5",
|
|
"max_tokens": 4000,
|
|
"temperature": 0.7,
|
|
"timeout": 30,
|
|
"available_models": {
|
|
"claude-sonnet-4.5": "anthropic/claude-sonnet-4.5",
|
|
"claude-3.5-sonnet": "anthropic/claude-3.5-sonnet",
|
|
"gpt-4o": "openai/gpt-4o",
|
|
"gpt-4o-mini": "openai/gpt-4o-mini",
|
|
"llama-3.1-70b": "meta-llama/llama-3.1-70b-instruct",
|
|
"llama-3.1-8b": "meta-llama/llama-3.1-8b-instruct",
|
|
"gemini-2.5-flash": "google/gemini-2.5-flash"
|
|
}
|
|
},
|
|
"content_rules": {
|
|
"universal": {
|
|
"min_content_length": 1000,
|
|
"max_content_length": 5000,
|
|
"word_count_tolerance": 10,
|
|
"default_term_frequency": 2,
|
|
"title_exact_match_required": false,
|
|
"h1_exact_match_required": true,
|
|
"h2_exact_match_min": 1,
|
|
"h3_exact_match_min": 1,
|
|
"faq_section_required": true,
|
|
"faq_question_restatement_required": true,
|
|
"image_alt_text_keyword_required": true,
|
|
"image_alt_text_entity_required": true
|
|
},
|
|
"cora_validation": {
|
|
"enabled": true,
|
|
"tier_1_strict": true,
|
|
"tier_2_plus_warn_only": true,
|
|
"round_averages_down": true
|
|
}
|
|
},
|
|
"templates": {
|
|
"default": "basic"
|
|
},
|
|
"deployment": {
|
|
"providers": {
|
|
"aws": {
|
|
"enabled": true,
|
|
"default_region": "us-east-1"
|
|
},
|
|
"azure": {
|
|
"enabled": true,
|
|
"default_region": "eastus"
|
|
},
|
|
"bunny": {
|
|
"enabled": true
|
|
},
|
|
"digitalocean": {
|
|
"enabled": true,
|
|
"default_region": "nyc3"
|
|
},
|
|
"linode": {
|
|
"enabled": true,
|
|
"default_region": "us-east-1"
|
|
},
|
|
"backblaze": {
|
|
"enabled": true
|
|
},
|
|
"cloudflare": {
|
|
"enabled": true
|
|
}
|
|
}
|
|
},
|
|
"interlinking": {
|
|
"wheel_links": true,
|
|
"home_page_link": true,
|
|
"random_article_link": true,
|
|
"max_links_per_article": 5,
|
|
"tier_anchor_text_rules": {
|
|
"tier1": {
|
|
"source": "related_searches",
|
|
"description": "Tier 1 uses related searches for anchor text"
|
|
},
|
|
"tier2": {
|
|
"source": "related_searches",
|
|
"description": "Tier 2 uses related searches for anchor text"
|
|
},
|
|
"tier3": {
|
|
"source": "main_keyword",
|
|
"description": "Tier 3 uses exact match terms for anchor text"
|
|
},
|
|
"tier4_plus": {
|
|
"source": "entities",
|
|
"description": "Tier 4+ uses entities for anchor text"
|
|
}
|
|
}
|
|
},
|
|
"logging": {
|
|
"level": "INFO",
|
|
"format": "json",
|
|
"file": "logs/app.log",
|
|
"max_size": "10MB",
|
|
"backup_count": 5
|
|
},
|
|
"api": {
|
|
"host": "0.0.0.0",
|
|
"port": 8000,
|
|
"reload": true,
|
|
"workers": 1
|
|
}
|
|
} |