{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "sheltercosmo-jev4pg--find-tickets-by-meaning",
 "repo": "Sheltercosmo/jev4pg",
 "repo_url": "https://github.com/Sheltercosmo/jev4pg",
 "repo_slug": "sheltercosmo-jev4pg",
 "title": "Find support tickets by meaning, not keywords",
 "page_title": "How to find support tickets by meaning, not keywords with Jev4 PG",
 "summary": "Count and group tickets that describe a problem, using a plain-language condition in SQL.",
 "who": "A support analyst who needs to count unresolved billing tickets by product from a CSV export, without writing keyword rules.",
 "problem": "Keyword searches miss tickets that describe the same issue in different words, so counts are unreliable.",
 "outcome": "A grouped count per product, where each row was judged by JEV against the stated condition and uncertain rows stay visible.",
 "steps": [
  "Run `git clone --branch v0.7.0 https://github.com/Sheltercosmo/jev4pg.git` and then `cd jev4pg`.",
  "Run `python deploy/configure.py` and enter your TypeSafe key when prompted.",
  "Run `docker compose build` and then `docker compose up -d --wait`.",
  "Run `python deploy/configure.py --show-token`, open http://127.0.0.1:8000/ask/en and connect with that token.",
  "Choose Import CSV, select your file, name the dataset, choose Preview import, then Create table, and run the SEMANTIC query in SQL mode."
 ],
 "agent_prompt": "Use the jev4pg repository to set up the workspace, import the CSV at <path-to-csv> as a dataset named tickets, and run a SQL query that counts rows where SEMANTIC(body, 'The ticket describes an unresolved billing problem.') is true, grouped by product. Return the grouped counts and confirm that the decision states and any uncertain rows are reported before the counts are treated as final.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "Browser CSV imports support up to 5 MB and 10,000 rows, so larger files need a direct PostgreSQL load and an attached table.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "python",
 "requirements": [
  "Python 3.11+ and Docker with Compose v2",
  "A TypeSafe key or other JEV provider settings",
  "A CSV export or an existing PostgreSQL table to query"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The setup prompt asks for your TypeSafe key, so keep it in your local configuration and do not paste it into shared logs or prompts."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/sheltercosmo-jev4pg/find-tickets-by-meaning/",
 "md": "https://dedupedai.com/use-cases/sheltercosmo-jev4pg/find-tickets-by-meaning/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/sheltercosmo-jev4pg--find-tickets-by-meaning.json",
 "api_version": "v1"
}
