{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "vectifyai-pageindex--index-documents-in-pageindex-cloud",
 "repo": "VectifyAI/PageIndex",
 "repo_url": "https://github.com/VectifyAI/PageIndex",
 "repo_slug": "vectifyai-pageindex",
 "title": "Store document indexes in the cloud",
 "page_title": "How to store document indexes in the cloud with PageIndex",
 "summary": "Use cloud mode so indexes are built and stored by PageIndex while you chat with your own model.",
 "who": "A team sharing indexed documents across services.",
 "problem": "Rebuilding indexes per machine is wasteful.",
 "outcome": "Cloud-stored indexes reusable by doc_id.",
 "steps": [
  "Set PAGEINDEX_API_KEY and OPENAI_API_KEY",
  "Create PageIndexClient with index set to cloud",
  "Submit the document",
  "Chat using the returned doc_id"
 ],
 "agent_prompt": "Submit <document> to PageIndex in cloud mode, then ask <question> from a second script using the same doc_id. Confirm both return consistent answers.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Cloud mode stores your documents with PageIndex.",
 "category": "Research",
 "tags": [
  "Research"
 ],
 "lang": "python",
 "requirements": [
  "Python",
  "An OpenAI API key (local mode) or a PageIndex API key (cloud mode)"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "The PageIndex key gives access to your stored indexes."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/vectifyai-pageindex/index-documents-in-pageindex-cloud/",
 "md": "https://dedupedai.com/use-cases/vectifyai-pageindex/index-documents-in-pageindex-cloud/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/vectifyai-pageindex--index-documents-in-pageindex-cloud.json",
 "api_version": "v1"
}
