feat(tracing): Integrate Langfuse for LLM call tracing and add documentation

This commit is contained in:
Willie Zutz 2025-08-10 10:05:42 -06:00
parent 9670003970
commit 7b4a7a531e
17 changed files with 183 additions and 36 deletions

41
package-lock.json generated
View file

@ -35,6 +35,7 @@
"jsdom": "^26.1.0",
"jspdf": "^3.0.1",
"langchain": "^0.3.26",
"langfuse-langchain": "^3.38.4",
"lucide-react": "^0.525.0",
"luxon": "^3.7.1",
"mammoth": "^1.9.1",
@ -8855,6 +8856,46 @@
}
}
},
"node_modules/langfuse": {
"version": "3.38.4",
"resolved": "https://registry.npmjs.org/langfuse/-/langfuse-3.38.4.tgz",
"integrity": "sha512-2UqMeHLl3DGNX1Nh/cO4jGhk7TzDJ6gjQLlyS9rwFCKVO81xot6b58yeTsTB5YrWupWsOxQtMNoQYIQGOUlH9Q==",
"license": "MIT",
"dependencies": {
"langfuse-core": "^3.38.4"
},
"engines": {
"node": ">=18"
}
},
"node_modules/langfuse-core": {
"version": "3.38.4",
"resolved": "https://registry.npmjs.org/langfuse-core/-/langfuse-core-3.38.4.tgz",
"integrity": "sha512-onTAqcEGhoXuBgqDFXe2t+bt9Vi+5YChRgdz3voM49JKoHwtVZQiUdqTfjSivGR75eSbYoiaIL8IRoio+jaqwg==",
"license": "MIT",
"dependencies": {
"mustache": "^4.2.0"
},
"engines": {
"node": ">=18"
}
},
"node_modules/langfuse-langchain": {
"version": "3.38.4",
"resolved": "https://registry.npmjs.org/langfuse-langchain/-/langfuse-langchain-3.38.4.tgz",
"integrity": "sha512-7HJqouMrVOP9MFdu33M4G4uBFyQAIh/DqGYALfs41xqm7t99eZxKcTvt4rYZy67iQAhd58TG3q8+9haGzuLbOA==",
"license": "MIT",
"dependencies": {
"langfuse": "^3.38.4",
"langfuse-core": "^3.38.4"
},
"engines": {
"node": ">=18"
},
"peerDependencies": {
"langchain": ">=0.0.157 <0.4.0"
}
},
"node_modules/langsmith": {
"version": "0.3.55",
"resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.3.55.tgz",