Skip to content

Document Intelligence

Document search and question-answering system with RAG pipeline, HTTP service, file storage, database, and deployment.

Namedocument-intelligence
Version0.1.0
Tagsai, rag, documents, search, typescript
Sourcecomposites/document-intelligence.yaml

Render it

# CLI
npx @nanohype/sdk render-composite document-intelligence --out ./my-app

# SDK
import { LocalSource, renderComposite } from "@nanohype/sdk";
const result = await renderComposite(source, "document-intelligence", variables);

# MCP — from an agent
get_composite({ name: "document-intelligence" })

What it draws together

TemplateRendered atNotes
monoreporootthe root project
rag-pipelinepackages/rag
ts-serviceapps/api
module-auth-tspackages/auth
module-database-tspackages/db
module-storage-tspackages/storage
eval-harnesspackages/evalsonly when IncludeEvals
k8s-deployinfra

Variables

Required

ProjectName string
Project name used across all templates Must be lowercase kebab-case.

Optional

LlmProvider string — defaults to anthropic
LLM provider for generation
VectorStore string — defaults to pgvector
Vector database backend
IncludeEvals bool — defaults to true
Include evaluation harness