{
 "schema_version": 1,
 "generated": "2026-11-09",
 "id": "matheusbomtempo-jornai--draft-police-report-post-in-portuguese",
 "repo": "MatheusBomtempo/JornAI",
 "repo_url": "https://github.com/MatheusBomtempo/JornAI",
 "repo_slug": "matheusbomtempo-jornai",
 "title": "Draft a Portuguese post from a police report",
 "page_title": "How to draft a Portuguese post from a police report with JornAI",
 "summary": "Set the Brazilian Portuguese pack and turn an official report into a fact-checked draft.",
 "who": "A newsroom in Brazil whose reporters receive police reports or official PDFs and need accurate, redacted drafts.",
 "problem": "A model fed a raw police report can produce a confident article with invented details, and personal data can leak into posts.",
 "outcome": "A Portuguese post draft where personal data is redacted, official form fields are extracted, and the weekday is computed by code, ready for human review.",
 "steps": [
  "Set APP_LANGUAGE to pt in .env, since the Brazilian Portuguese pack covers CPF, plates, police-report forms and dd/mm/yyyy dates.",
  "Run `npm run db:migrate` so the database is ready for the language settings.",
  "Paste the police report or PDF as the source and click Generate.",
  "Check the generated title, subtitle and caption against the source, and confirm that names, IDs and plates are not shown.",
  "Send the draft to a manager or admin, who approves it, rejects it or requests a rewrite."
 ],
 "agent_prompt": "In the repo https://github.com/MatheusBomtempo/JornAI, set APP_LANGUAGE=pt, then generate a draft from the police report <file path>. Return the title, subtitle and caption, and verify that no CPF, phone number or plate appears in the text.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The validator and redaction rules cover only the languages and forms the repo ships with, so an unusual report layout still needs a careful human read before approval.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "typescript",
 "requirements": [
  "Node.js and npm to run the Next.js app",
  "Docker, or your own PostgreSQL database, matching DATABASE_URL in .env",
  "Optional: an AI provider key, or AI_PROVIDER set to mock to run without one",
  "For real Instagram publishing: IG_USER_ID and IG_ACCESS_TOKEN, plus S3/R2-compatible storage or local storage in dev"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/matheusbomtempo-jornai/draft-police-report-post-in-portuguese/",
 "md": "https://dedupedai.com/use-cases/matheusbomtempo-jornai/draft-police-report-post-in-portuguese/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/matheusbomtempo-jornai--draft-police-report-post-in-portuguese.json",
 "api_version": "v1"
}
