@blaxel/llamaindex 0.2.0-dev9 → 0.2.0-preview1

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/dist/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from "./model.js";
2
2
  export * from "./tools.js";
3
+ import "./telemetry.js";
package/dist/index.js CHANGED
@@ -16,3 +16,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./model.js"), exports);
18
18
  __exportStar(require("./tools.js"), exports);
19
+ require("./telemetry.js");
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const instrumentation_1 = require("@opentelemetry/instrumentation");
4
+ const instrumentation_llamaindex_1 = require("@traceloop/instrumentation-llamaindex");
5
+ const llamaindex = new instrumentation_llamaindex_1.LlamaIndexInstrumentation();
6
+ llamaindex.enable();
7
+ (0, instrumentation_1.registerInstrumentations)({
8
+ instrumentations: [llamaindex],
9
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blaxel/llamaindex",
3
- "version": "0.2.0-dev9",
3
+ "version": "0.2.0-preview1",
4
4
  "description": "Blaxel SDK for TypeScript",
5
5
  "license": "MIT",
6
6
  "author": "Blaxel, INC (https://blaxel.ai)",
@@ -56,8 +56,10 @@
56
56
  "@llamaindex/anthropic": "^0.3.4",
57
57
  "@llamaindex/mistral": "^0.1.3",
58
58
  "@llamaindex/openai": "^0.3.5",
59
+ "@opentelemetry/instrumentation": "^0.200.0",
60
+ "@traceloop/instrumentation-llamaindex": "^0.13.0",
59
61
  "llamaindex": "^0.10.3",
60
- "@blaxel/core": "0.2.0-dev9"
62
+ "@blaxel/core": "0.2.0-preview1"
61
63
  },
62
64
  "devDependencies": {
63
65
  "@eslint/js": "^9.26.0",