Skip to content

Commit

Permalink
feat(vercel): add OTEL based LangSmith trace exporter
Browse files Browse the repository at this point in the history
  • Loading branch information
dqbd committed Oct 17, 2024
1 parent 5e21109 commit 5ec346c
Show file tree
Hide file tree
Showing 5 changed files with 677 additions and 0 deletions.
1 change: 1 addition & 0 deletions js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
"@langchain/core": "^0.3.1",
"@langchain/langgraph": "^0.2.3",
"@langchain/openai": "^0.3.0",
"@opentelemetry/sdk-trace-base": "^1.26.0",
"@tsconfig/recommended": "^1.0.2",
"@types/jest": "^29.5.1",
"@typescript-eslint/eslint-plugin": "^5.59.8",
Expand Down
2 changes: 2 additions & 0 deletions js/src/wrappers/vercel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,3 +107,5 @@ export const wrapAISDKModel = <T extends object>(
},
});
};

export { LangSmithAISDKExporter } from "./vercel/exporter.js";
Loading

0 comments on commit 5ec346c

Please sign in to comment.