Knowledge Graph is Writer’s retrieval-augmented generation (RAG) system that uses graph-based relationships that can improve accuracy compared to vector-only approaches (reference). Connect your data sources to enable LLMs to access, understand, and reason about your specific information when generating responses. Get inline citations to ensure every answer pulls from your actual data.

Knowledge Graph concepts

Knowledge Graph is a structured way to store and retrieve information from your documents, websites, and data sources. Unlike traditional search systems that rely on keyword matching or vector similarity, Knowledge Graph creates a network of interconnected information that captures relationships between concepts, entities, and ideas.

How Knowledge Graph works

Knowledge Graph processes your data through several stages:
  1. Content ingestion: upload files, connect data sources, or add website URLs
  2. Graph construction: analyze content to identify entities, concepts, and relationships
  3. Indexing: create a searchable graph structure that captures semantic connections
  4. Query processing: when you ask questions, the system traverses the graph to find relevant information
  5. Response generation: combine retrieved information with AI to generate accurate, contextual answers
Knowledge Graph flow from ingestion to graph construction, indexing, query processing, and response generation.

Data sources and formats

Knowledge Graph supports multiple ways to add data:
Source typeDescriptionSupported formats/featuresLearn more
File uploadsUpload documents directly- PDF, TXT, DOC/DOCX, PPT/PPTX
- CSV, XLS/XLSX
- EML, HTML, SRT
Manage Knowledge Graph data
Data connectorsConnect to external platforms- Confluence: Access team documentation and wikis
- Notion: Import workspaces and databases
- Google Drive: Connect to shared drives and documents
- SharePoint: Access Microsoft 365 content
Data connectors guide
Website integrationAdd web content- Add specific URLs or entire domains
- Configure page inclusion/exclusion
- Automatic content updates
Website integration guide
Learn more about data sources and formats.

Query capabilities

Knowledge Graph supports natural language questions and querying across multiple graphs. You can configure the retrieval to break it down into subqueries, support streaming, get inline citations, and fine-tune the search parameters. Core features:
  • Natural language questions: ask questions in plain, conversational language without needing special syntax or query formats. For example, “What is our refund policy?” or “Tell me about our enterprise pricing tiers” will work naturally.
  • Multi-graph queries: search across multiple Knowledge Graphs simultaneously. For example, you can compare data across departments or time periods.
Configurable options:
  • Subqueries: break down complex questions into smaller parts automatically
  • Streaming responses: get answers as they’re generated for real-time applications
  • Inline citations: get answers with embedded source references to verify information
  • Query configuration: fine-tune search parameters including search weight, grounding level, maximum snippets and tokens, and semantic thresholds

Add Knowledge Graph to your Writer applications

Add Knowledge Graph to your Writer applications to create conversational AI, generate content, and enable tool calling in complex workflows. Get started with these guides:

Best practices

Organize your data

  • Create separate Knowledge Graphs for different topics or departments
  • Use descriptive names and descriptions to help the AI understand context
  • Regularly update content to ensure accuracy

Optimize queries

  • Ask specific, well-formed questions for better results
  • Use the query configuration parameters to fine-tune responses
  • Enable subqueries for complex multi-part questions

Monitor and improve

  • Review source citations to understand how information is being retrieved
  • Update Knowledge Graphs with new information as it becomes available
  • Test different query approaches to find what works best for your use case

Next steps