@arizeai/openinference-instrumentation-openai 4.1.9 → 4.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arizeai/openinference-instrumentation-openai",
3
- "version": "4.1.9",
3
+ "version": "4.2.0",
4
4
  "private": false,
5
5
  "description": "OpenInference instrumentation for OpenAI",
6
6
  "keywords": [],
@@ -28,8 +28,8 @@
28
28
  "@opentelemetry/api": "^1.9.0",
29
29
  "@opentelemetry/core": "^2.8.0",
30
30
  "@opentelemetry/instrumentation": "^0.46.0",
31
- "@arizeai/openinference-core": "2.5.2",
32
- "@arizeai/openinference-semantic-conventions": "2.7.0"
31
+ "@arizeai/openinference-core": "2.5.3",
32
+ "@arizeai/openinference-semantic-conventions": "2.8.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@opentelemetry/exporter-trace-otlp-proto": "^0.50.0",
@@ -214,7 +214,7 @@ export class OpenAIInstrumentation extends InstrumentationBase<typeof openai> {
214
214
  const module = new InstrumentationNodeModuleDefinition<typeof openai>(
215
215
  "openai",
216
216
  // 5.x is best effort
217
- ["^6.0.0", "^5.0.0"],
217
+ ["^7.0.0", "^6.0.0", "^5.0.0"],
218
218
  this.patch.bind(this),
219
219
  this.unpatch.bind(this),
220
220
  );
package/src/version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // this is an auto-generated file. see js/scripts/version-update.js
2
- export const VERSION = "4.1.9";
2
+ export const VERSION = "4.2.0";