|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| example_custom_anchors.json | ||
| example_multi_tier_batch.json | ||
| example_tier1_batch.json | ||
| project_1_tier1_5articles.json | ||
README.md
Job Configuration Files
This directory contains batch job configuration files for content generation.
Usage
Run a batch job using the CLI:
python main.py generate-batch --job-file jobs/example_tier1_batch.json -u admin -p password
Job Configuration Structure
{
"job_name": "Descriptive name",
"project_id": 1,
"description": "Optional description",
"tiers": [
{
"tier": 1,
"article_count": 15,
"models": {
"title": "model-id",
"outline": "model-id",
"content": "model-id"
},
"anchor_text_config": {
"mode": "default|override|append",
"custom_text": ["optional", "custom", "anchors"],
"additional_text": ["optional", "additions"]
},
"validation_attempts": 3
}
],
"failure_config": {
"max_consecutive_failures": 5,
"skip_on_failure": true
},
"interlinking": {
"links_per_article_min": 2,
"links_per_article_max": 4,
"include_home_link": true
}
}
Available Models
anthropic/claude-3.5-sonnet- Best for high-quality contentanthropic/claude-3-haiku- Fast and cost-effectiveopenai/gpt-4o- Excellent qualityopenai/gpt-4o-mini- Good for titles/outlinesmeta-llama/llama-3.1-70b-instruct- Open source alternativegoogle/gemini-pro-1.5- Google's offering
Anchor Text Modes
- default: Use CORA rules (keyword, entities, related searches)
- override: Replace default with custom_text list
- append: Add additional_text to default anchor text
Example Files
example_tier1_batch.json- Single tier 1 with 15 articlesexample_multi_tier_batch.json- Three tiers with 165 total articlesexample_custom_anchors.json- Custom anchor text demo
Tips
- Start with tier 1 to ensure quality
- Use faster/cheaper models for tier 2+
- Set
skip_on_failure: trueto continue on errors - Adjust
max_consecutive_failuresbased on model reliability - Test with small batches first