trustgraph/ts/package.json
elpresidank c545213224 feat: add query/retrieval FlowProcessor services and missing runner scripts
Wire up the query and retrieval side of the pipeline so the agent can
answer questions from stored knowledge:

- Triples query service (FalkorDB) — all SPO pattern queries via NATS
- Graph embeddings query service (Qdrant) — entity vector similarity
- Document embeddings query service (Qdrant) — chunk vector similarity
- Graph RAG service — full concept→entity→traverse→score→synthesize pipeline
- Document RAG service — embed→find chunks→synthesize pipeline
- Runner scripts for chunker, extractor, embeddings (missing from Phase 5)
- Add DocumentEmbeddingsRequest/Response schema types
- Add RAG prompt templates (extract-concepts, edge-scoring, synthesize)
- Add graph/doc embeddings query topics to seed config + flow manager
- Add all pipeline/query/retrieval services to docker-compose
- 8 new runner scripts, 8 new pnpm script aliases

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 01:05:54 -05:00

44 lines
1.6 KiB
JSON

{
"name": "trustgraph-ts",
"private": true,
"scripts": {
"build": "turbo build",
"dev": "turbo dev",
"lint": "turbo lint",
"test": "turbo test",
"clean": "turbo clean",
"gateway": "tsx scripts/run-gateway.ts",
"config-svc": "tsx scripts/run-config.ts",
"llm:claude": "tsx scripts/run-llm-claude.ts",
"llm:openai": "tsx scripts/run-llm-openai.ts",
"test:pipeline": "tsx scripts/test-pipeline.ts",
"seed": "tsx scripts/seed-config.ts",
"prompt": "tsx scripts/run-prompt.ts",
"agent": "tsx scripts/run-agent.ts",
"librarian": "tsx scripts/run-librarian.ts",
"knowledge": "tsx scripts/run-knowledge.ts",
"flow-manager": "tsx scripts/run-flow-manager.ts",
"llm:ollama": "tsx scripts/run-ollama.ts",
"pdf-decoder": "tsx scripts/run-pdf-decoder.ts",
"triples-store": "tsx scripts/run-triples-store.ts",
"graph-embeddings-store": "tsx scripts/run-graph-embeddings-store.ts",
"chunker": "tsx scripts/run-chunker.ts",
"extractor": "tsx scripts/run-extractor.ts",
"embeddings": "tsx scripts/run-embeddings.ts",
"triples-query": "tsx scripts/run-triples-query.ts",
"graph-embeddings-query": "tsx scripts/run-graph-embeddings-query.ts",
"doc-embeddings-query": "tsx scripts/run-doc-embeddings-query.ts",
"graph-rag": "tsx scripts/run-graph-rag.ts",
"document-rag": "tsx scripts/run-document-rag.ts"
},
"devDependencies": {
"nats": "^2.29.0",
"tsx": "^4.21.0",
"turbo": "^2.5.0",
"typescript": "^5.8.0"
},
"packageManager": "pnpm@9.15.0",
"workspaces": [
"packages/*"
]
}