Knowledge Graphs
Graph-based knowledge retrieval - Build semantic knowledge graphs from your documents.
Build semantic knowledge graphs from your documents. Connect concepts, entities, and relationships for deeper insights and natural language search.
What is GraphRAG?
GraphRAG combines the power of knowledge graphs with retrieval-augmented generation (RAG). Instead of just searching text, you can ask questions in plain English and get answers based on a graph of connected entities, relationships, and communities.
Key Benefits:
- Natural language search - Ask questions like "What medical facilities treated the patient?"
- Entity extraction - Automatically identify people, organizations, dates, locations
- Relationship mapping - Discover connections between entities across documents
- Community detection - Find thematic clusters and high-level patterns
Authentication
Quick Start
1. Create a Vault with GraphRAG Enabled
2. Upload Documents
3. Trigger OCR and GraphRAG Indexing
4. Search with Natural Language
Search Methods
Fast Search (method: "fast") ⚡
Best for quick factual lookups and entity identification. Returns results in 2-3 seconds.
Use cases:
- "Who are the medical practitioners mentioned?"
- "What treatments were provided?"
- "List all medical facilities"
- Quick preliminary searches before deeper analysis
How it works: Directly searches GraphRAG's extracted entities using keyword matching on entity names and descriptions. Fast and efficient for factual queries.
Response time: ~2-3 seconds
Global Search (method: "global")
Best for holistic questions across your entire document corpus. Returns results in 15-20 seconds.
Use cases:
- "What are the main themes in these documents?"
- "Summarize all medical treatments provided"
- "What are the implications of the treatment decisions?"
How it works: Analyzes community summaries and high-level patterns across the entire knowledge graph for comprehensive analysis.
Response time: ~15-20 seconds
Local Search (method: "local")
Best for questions about specific entities or detailed information.
Use cases:
- "Tell me about Salem Health Medical Center"
- "What medications were prescribed?"
- "Who provided physical therapy services?"
How it works: Focuses on specific entities and their immediate relationships in the graph.
Graph Search (method: "graph")
Traverses entity relationships to find connections.
Use cases:
- Finding all documents related to a specific provider
- Discovering connections between entities
- Relationship-based queries
Hybrid Search (method: "hybrid")
Combines entity matching with graph traversal for the best of both worlds.
What's Next?
- API Reference - Ingest documents and search graphs
- Use Cases - When to use knowledge graphs