1.0.0 • Published 8 months ago
@arizeai/openinference-instrumentation-openai v1.0.0
OpenInference Instrumentation for OpenAI Node.js SDK
This module provides automatic instrumentation for the OpenAI Node.js SDK. which may be used in conjunction with @opentelemetry/sdk-trace-node.
Installation
npm install --save @arizeai/openinference-instrumentation-openai
Usage
To load the OpenAI instrumentation, specify it in the registerInstrumentations call along with any additional instrumentation you wish to enable.
const { NodeTracerProvider } = require("@opentelemetry/sdk-trace-node");
const {
OpenAIInstrumentation,
} = require("@arizeai/openinference-instrumentation-openai");
const { registerInstrumentations } = require("@opentelemetry/instrumentation");
const provider = new NodeTracerProvider();
provider.register();
registerInstrumentations({
instrumentations: [new OpenAIInstrumentation()],
});
For more information on OpenTelemetry Node.js SDK, see the OpenTelemetry Node.js SDK documentation.
1.0.0
8 months ago
0.6.0
8 months ago
0.5.0
10 months ago
0.3.0
1 year ago
0.4.1
10 months ago
0.3.2
12 months ago
0.4.0
10 months ago
0.3.1
1 year ago
0.3.4
11 months ago
0.3.3
12 months ago
0.2.0
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago
0.0.4
1 year ago
0.0.3
1 year ago
0.0.1-rc10
1 year ago
0.0.2
1 year ago
0.0.1-rc9
1 year ago
0.0.1-rc8
1 year ago
0.0.1-rc7
1 year ago
0.0.1-rc6
1 year ago
0.0.1-rc5
1 year ago
0.0.1-rc4
1 year ago
0.0.1-rc3
1 year ago
0.0.1-rc2
1 year ago
0.0.1-rc1
1 year ago