Spaces:
Sleeping
Sleeping
Commit History
-
Add factual-accuracy and sourcing guardrail to content-generation prompts
New pipeline/factual_accuracy.py holds a strict no-fabrication guardrail (no invented statistics/citations, no merged/guessed sources, no false authority, prefer omission over confabulation, real captions/alt text only, flag uncertainty, stay internally consistent). Injected into the two prompts that actually produce published content: writer._build_system() (the blog body) and captions.py's new system message (image captions/alt text). Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>fbe8f5e -
Add content-goal radio and a dedicated generated-images section
- New single-select "Content goal" radio (Informational, Persuasive, Authoritative, Thought Leadership) threaded through generate() -> orchestrator.run() -> writer.write_post(); each goal injects a distinct stance/tone directive into the writing prompt. Included in the cache key. - UI: move the image gallery into its own full-width "Generated images" section (3 columns, larger, click-to-preview) so all generated images are shown prominently in the Space. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>ac00fb3 -
Add target word count control and AEO citation guidelines
- UI: new "Target word count" number box, threaded through generate() -> orchestrator.run() -> writer.write_post(); output tokens scale to the target. - Writing prompt now enforces AI-citation (AEO) best practices distilled from the GameMaster citation best-practices doc: direct answer up top, question-style headings, specific/verifiable claims, a comparison/feature table, an FAQ, cited sources, stated limitations, freshness and descriptive anchors. - docx_builder: render Markdown pipe tables as real Word tables (bold header row, separator row dropped) so the required tables export correctly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>2559985 -
Harden image generation as remote inference calls with provider fallback
Images already ran via HF Inference Providers (no GPU in the Space), but a single provider being unavailable for the user's token would fail the step. Now try auto routing then fall back across the providers that serve FLUX.1-schnell (fal-ai, nscale, together, hf-inference, replicate, wavespeed), one user-token client each, and surface a clear status if all fail. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>d3ee9ee
-
Add grounded blog-post generator pipeline
Docker Space bundling self-hosted SearXNG + a Gradio app that turns topic/keywords/brief into an illustrated .docx blog post: search-term LLM -> SearXNG -> OpenPageRank ranking -> content extraction -> blog writing -> FLUX.1-schnell images -> Qwen2.5-VL captions -> docx. All paid inference is billed to the user's HF token entered in the UI. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>31fa536