Helicone Community Page

Updated 4 months ago

Upgrading the Node Sdk from 2.1 to 3.1

Any chance there is a 2.1 -> 3.1 upgrade note for the Node SDK? I'm a laggard πŸ˜‡
J
m
6 comments
Ooof unforunately not. Sorry to disappoint. We are improving our release process with better changelogs moving forward
Is this still legit?.. i'm sensing even your docs haven't been updated either?: https://docs.helicone.ai/integrations/openai/async

I've given HeliconeAsyncLogger a shot but haven't had any luck with it yet (some weird dep issue). If there is anything floating around or even a sample openai/async/sdk on the new ver that would be helpful (i'll keep looking).
Ya could be me... but i literally inited a brand new project, installed openai and helicone, and getting unmet deps.

Plain Text
10906  pnpm init
10907  pnpm add -D typescript @types/node
10908  npx tsc --init
10909  mkdir src
10910  touch src/index.ts
10911  pnpm i ts-node
10912  code .
10913  git init
10914  ts-node src/index.ts
10915  pnpm i openai
10916  pnpm i @helicone/helicone


Plain Text
└─┬ @helicone/helicone 3.1.2
  └─┬ @traceloop/node-server-sdk 0.8.9
    └─┬ @opentelemetry/sdk-node 0.49.1
      β”œβ”€β”€ βœ• unmet peer @opentelemetry/api@">=1.3.0 <1.9.0": found 1.9.0
      β”œβ”€β”¬ @opentelemetry/core 1.22.0
      β”‚ └── βœ• unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0
      β”œβ”€β”¬ @opentelemetry/sdk-logs 0.49.1
      β”‚ β”œβ”€β”€ βœ• unmet peer @opentelemetry/api@">=1.4.0 <1.9.0": found 1.9.0
      β”‚ └─┬ @opentelemetry/resources 1.22.0
      β”‚   └── βœ• unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0
      β”œβ”€β”¬ @opentelemetry/exporter-trace-otlp-proto 0.49.1
      β”‚ β”œβ”€β”¬ @opentelemetry/sdk-trace-base 1.22.0
      β”‚ β”‚ └── βœ• unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0
      β”‚ └─┬ @opentelemetry/otlp-transformer 0.49.1
      β”‚   β”œβ”€β”€ βœ• unmet peer @opentelemetry/api@">=1.3.0 <1.9.0": found 1.9.0
      β”‚   └─┬ @opentelemetry/sdk-metrics 1.22.0
      β”‚     └── βœ• unmet peer @opentelemetry/api@">=1.3.0 <1.9.0": found 1.9.0
      └─┬ @opentelemetry/sdk-trace-node 1.22.0
        β”œβ”€β”€ βœ• unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0
        β”œβ”€β”¬ @opentelemetry/propagator-b3 1.22.0
        β”‚ └── βœ• unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0
        β”œβ”€β”¬ @opentelemetry/propagator-jaeger 1.22.0
        β”‚ └── βœ• unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0
        └─┬ @opentelemetry/context-async-hooks 1.22.0
          └── βœ• unmet peer @opentelemetry/api@">=1.0.0 <1.9.0": found 1.9.0


Let me know if something is up or i need to pin openai to something. And ideally if that is mentioned somewhere πŸ™‚
Hi @mobob I realized I never responded - were you able to figure it out?
Hey @Justin - nope, never did! I actually responded to your product hunt email indicating i at least temporarily jumped ship...
oh shoot I am so sorry - I see you email now.. I am responding. Thanks @mobob
Add a reply
Sign up and join the conversation on Discord