{
 "schema_version": 1,
 "generated": "2026-11-01",
 "id": "gorse-io-gorse--serve-personalized-recommendations-with-gorse",
 "repo": "gorse-io/gorse",
 "repo_url": "https://github.com/gorse-io/gorse",
 "repo_slug": "gorse-io-gorse",
 "title": "Fetch personalized recommendations for a user",
 "page_title": "How to fetch personalized recommendations for a user with Gorse",
 "summary": "Request the top items for a user from the recommend endpoint and plug them into your app.",
 "who": "A product engineer adding a recommended for you list.",
 "problem": "Teams need a simple API that returns ranked items per user.",
 "outcome": "A list of recommended item IDs for a user that reflects their feedback.",
 "steps": [
  "Make sure the user has feedback in Gorse",
  "Call `curl http://127.0.0.1:8088/api/recommend/bob?n=10` with your user ID in place of bob",
  "Render the returned items in your app",
  "For scale, split into master, worker and server nodes as the Architecture section describes"
 ],
 "agent_prompt": "Using gorse-io/gorse, call `curl http://127.0.0.1:8088/api/recommend/bob?n=10` for <user id> before and after posting new feedback, and show how the list changed.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Gorse trains on a single node and predicts in a distributed way; production storage needs MySQL, MongoDB or Postgres.",
 "category": "Data and analytics",
 "tags": [
  "Data and analytics"
 ],
 "lang": "go",
 "requirements": [
  "Docker for the gorse-in-one image",
  "curl or any HTTP client for the REST API",
  "For production: MySQL (MariaDB), MongoDB or Postgres for storage, with a cache such as Redis"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "network-exposure",
   "notice": "The quick start exposes the API on port 8088 with no authentication step shown; keep it off public networks."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/gorse-io-gorse/serve-personalized-recommendations-with-gorse/",
 "md": "https://dedupedai.com/use-cases/gorse-io-gorse/serve-personalized-recommendations-with-gorse/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/gorse-io-gorse--serve-personalized-recommendations-with-gorse.json",
 "api_version": "v1"
}
