mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-01 09:29:38 +02:00
Add full pipeline test that generates a real PDF, processes it through the entire pipeline, and verifies knowledge lands in FalkorDB: - Create test PDF generator using pdf-lib (2-page doc about Acme Corp) - Add testFullPipeline() to integration tests with store verification - Fix FalkorDB client connect() — createClient returns unconnected client in both TriplesStore and TriplesQuery classes Results: PDF decoded (2 pages) → chunked (2 chunks) → extracted (4 relationships) → 16 triples stored in FalkorDB including: alice-johnson → is-a-senior-engineer → acme-corporation cloudsync → uses-aws-for-hosting → amazon-web-services provenance: pages → prov:wasDerivedFrom → source document Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
46 lines
1.7 KiB
JSON
46 lines
1.7 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",
|
|
"create-test-pdf": "tsx scripts/create-test-pdf.ts"
|
|
},
|
|
"devDependencies": {
|
|
"nats": "^2.29.0",
|
|
"pdf-lib": "^1.17.1",
|
|
"tsx": "^4.21.0",
|
|
"turbo": "^2.5.0",
|
|
"typescript": "^5.8.0"
|
|
},
|
|
"packageManager": "pnpm@9.15.0",
|
|
"workspaces": [
|
|
"packages/*"
|
|
]
|
|
}
|