Use Case Library
Comprehensive code examples for every Graphlit API operation - organized for maximum discoverability.
🚀 New to Graphlit?
Start with the basics first: Quickstart: Your First Agent
Can't find what you need? Open Ask Graphlit in the Developer Portal (or visit ask.graphlit.dev) - AI assistant that writes code for you
🎯 I Want To... (Find by Task)
Getting Content In
Ingest a PDF or Word doc - From any URL
Ingest text or notes - Plain text content
Connect Slack - Auto-sync messages
Connect Gmail - Auto-sync emails
Connect Google Drive - Auto-sync files
Searching & Finding
Basic semantic search - Search by meaning
Search with filters - Filter by date, type, etc.
Hybrid search (best results) - Combines vector + keyword
Find similar content - "More like this"
AI Conversations
Basic Q&A chat - Ask questions about content
Streaming responses - Real-time UI with events
Get source citations - Answers with page numbers
Multi-turn conversations - Memory across turns
Tool calling - Let AI use tools
Extracting Knowledge
Extract entities from PDFs - People, companies, places
Extract from emails - Contacts and organizations
Extract from meetings - Attendees and topics
Query knowledge graph - Find entities
Find relationships - Who works where
Advanced
Configure processing (Workflows) - Customize extraction
Choose AI models (Specifications) - Pick the right LLM
Multi-tenant setup - Separate customer data
📚 Browse by API Entity (Advanced)
For developers who understand the Graphlit data model:
Content Foundations (27 guides)
Understanding content types, metadata, search, and the tri-store architecture.
Start here: Content Type vs File Type | Hybrid Search
Knowledge Graph (24 guides)
Extract entities, build knowledge graphs, and query relationships.
Popular: PDF Entity Extraction | Email Entities | Observable Model
Data Source Feeds (31 guides)
Connect 25+ data sources: Slack, Gmail, GitHub, Google Drive, Jira, and more.
By Type: Messaging | Cloud Storage | Project Management | Social Media
Conversations & RAG (10 guides)
Build AI agents with streaming responses, multi-turn context, and entity-filtered RAG.
Popular: Stream Agent Real-Time UI | Prompt with Citations
Workflows (6 guides)
Configure content processing pipelines with preparation and extraction stages.
Start here: Entity Extraction Workflow | Complex Multi-Stage
Specifications (6 guides)
Configure LLM models, embeddings, and custom specifications.
Popular: Custom Models | Embedding Configuration
Collections (4 guides)
Organize content into collections for scoped queries and management.
Start here: Create and Manage Collections
Alerts (2 guides)
Scheduled content publishing operations.
Note: Alerts are periodic publishing operations, not monitoring alerts.
Views (2 guides)
Organize and display content in customizable layouts.
Start here: Create Semantic Search View
Production Patterns (5 guides)
Cost optimization, monitoring, multi-tenant isolation, and production best practices.
Popular: Cost Optimization | Multi-Tenant Isolation
Most Popular Use Cases
Knowledge Graph from PDFs - Complete PDF → entities pipeline
Streaming Conversation with Citations - Real-time RAG with sources
Create Slack Feed - Sync Slack messages with entity extraction
Hybrid Search Deep Dive - Understanding RRF algorithm
Entity Extraction Workflow - Configure 12 medical + general entity types
Documentation Philosophy
Every use case includes:
TypeScript canonical examples with Python/C# adaptations
Complete, working code ready to copy-paste
Configuration options and variations
Developer hints and gotchas
Common issues & solutions
Production patterns from real applications
Quick Links
Getting Started: Quickstart: Your First Agent | Knowledge Graph Tutorial
Platform Concepts: Key Concepts | Semantic Memory
Sample Apps: GitHub Samples Repository
Total: 117 verified use case guides | Updated: January 2025 | All code verified against TypeScript SDK
Last updated
Was this helpful?