@llmops/sdk 1.0.0-beta.10 → 1.0.0-beta.11

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.
Files changed (34) hide show
  1. package/dist/agents.cjs +1 -1
  2. package/dist/agents.d.mts +1 -1
  3. package/dist/agents.mjs +1 -1
  4. package/dist/express.cjs +29 -2
  5. package/dist/express.d.cts +6 -2
  6. package/dist/express.d.mts +7 -3
  7. package/dist/express.mjs +28 -1
  8. package/dist/hono.d.mts +2 -2
  9. package/dist/{index-C0CDqR9v.d.mts → index-B5aeZ4Jb.d.mts} +1 -1
  10. package/dist/index.cjs +2 -4
  11. package/dist/index.d.cts +2 -3
  12. package/dist/index.d.mts +4 -5
  13. package/dist/index.mjs +3 -4
  14. package/dist/nextjs.d.mts +2 -2
  15. package/dist/store/d1.d.cts +1 -1
  16. package/dist/store/d1.d.mts +1 -1
  17. package/dist/store/pg.cjs +1 -1
  18. package/dist/store/pg.d.cts +1 -1
  19. package/dist/store/pg.d.mts +1 -1
  20. package/dist/store/pg.mjs +1 -1
  21. package/dist/types.d.cts +1 -1
  22. package/dist/types.d.mts +1 -1
  23. package/package.json +3 -3
  24. package/dist/express-B-wbCza5.cjs +0 -35
  25. package/dist/express-Vt9JurUM.mjs +0 -30
  26. package/dist/index-BHO7MEJx.d.cts +0 -7
  27. package/dist/index-DVkfeg2W.d.mts +0 -7
  28. /package/dist/{agents-exporter-Bn3NtzMO.d.mts → agents-exporter-B3dyZc2j.d.mts} +0 -0
  29. /package/dist/{agents-exporter-DYmMvLPS.mjs → agents-exporter-Cte-NArh.mjs} +0 -0
  30. /package/dist/{agents-exporter-BuTq2n2y.cjs → agents-exporter-DizRE7CQ.cjs} +0 -0
  31. /package/dist/{constants-BrB5eRjw.cjs → constants--ywcWP7q.cjs} +0 -0
  32. /package/dist/{constants-sHtPfi36.mjs → constants-B8e4mnT7.mjs} +0 -0
  33. /package/dist/{interface-BbAwy96d.d.cts → interface-B0KYptxO.d.cts} +0 -0
  34. /package/dist/{interface-Dz7B6QN1.d.mts → interface-DFchZZQP.d.mts} +0 -0
package/dist/agents.cjs CHANGED
@@ -1,3 +1,3 @@
1
- const require_agents_exporter = require('./agents-exporter-BuTq2n2y.cjs');
1
+ const require_agents_exporter = require('./agents-exporter-DizRE7CQ.cjs');
2
2
 
3
3
  exports.createLLMOpsAgentsExporter = require_agents_exporter.createLLMOpsAgentsExporter;
package/dist/agents.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as AgentsTracingExporter, i as AgentsTrace, n as AgentsSpanData, o as LLMOpsAgentsExporterConfig, r as AgentsSpanError, s as createLLMOpsAgentsExporter, t as AgentsSpan } from "./agents-exporter-Bn3NtzMO.mjs";
1
+ import { a as AgentsTracingExporter, i as AgentsTrace, n as AgentsSpanData, o as LLMOpsAgentsExporterConfig, r as AgentsSpanError, s as createLLMOpsAgentsExporter, t as AgentsSpan } from "./agents-exporter-B3dyZc2j.mjs";
2
2
  export { AgentsSpan, AgentsSpanData, AgentsSpanError, AgentsTrace, AgentsTracingExporter, LLMOpsAgentsExporterConfig, createLLMOpsAgentsExporter };
package/dist/agents.mjs CHANGED
@@ -1,3 +1,3 @@
1
- import { t as createLLMOpsAgentsExporter } from "./agents-exporter-DYmMvLPS.mjs";
1
+ import { t as createLLMOpsAgentsExporter } from "./agents-exporter-Cte-NArh.mjs";
2
2
 
3
3
  export { createLLMOpsAgentsExporter };
package/dist/express.cjs CHANGED
@@ -1,3 +1,30 @@
1
- const require_express = require('./express-B-wbCza5.cjs');
1
+ let node_stream = require("node:stream");
2
2
 
3
- exports.createLLMOpsMiddleware = require_express.createLLMOpsMiddleware;
3
+ //#region src/lib/express/index.ts
4
+ function createLLMOpsMiddleware(client) {
5
+ const basePath = client.config.basePath;
6
+ return async (req, res, next) => {
7
+ let urlPath = req.originalUrl;
8
+ if (basePath && urlPath.startsWith(basePath)) urlPath = urlPath.slice(basePath.length) || "/";
9
+ const url = new URL(urlPath, `${req.protocol}://${req.get("host")}`);
10
+ const request = new Request(url, {
11
+ method: req.method,
12
+ headers: req.headers,
13
+ body: ["GET", "HEAD"].includes(req.method) ? void 0 : JSON.stringify(req.body)
14
+ });
15
+ const response = await client.handler(request);
16
+ if (response.status === 404) return next();
17
+ response.headers?.forEach((value, key) => {
18
+ res.setHeader(key, value);
19
+ });
20
+ res.status(response.status);
21
+ if ((response.headers?.get("content-type"))?.includes("text/event-stream") && response.body) node_stream.Readable.fromWeb(response.body).pipe(res);
22
+ else {
23
+ const body = await response.text();
24
+ res.send(body);
25
+ }
26
+ };
27
+ }
28
+
29
+ //#endregion
30
+ exports.createLLMOpsMiddleware = createLLMOpsMiddleware;
@@ -1,4 +1,8 @@
1
1
  import "./agents-exporter-vuQine9v.cjs";
2
- import "./index-sjRozlIk.cjs";
3
- import { t as createLLMOpsMiddleware } from "./index-BHO7MEJx.cjs";
2
+ import { t as LLMOpsClient } from "./index-sjRozlIk.cjs";
3
+ import { NextFunction, Request, Response } from "express";
4
+
5
+ //#region src/lib/express/index.d.ts
6
+ declare function createLLMOpsMiddleware(client: LLMOpsClient): (req: Request, res: Response, next: NextFunction) => Promise<void>;
7
+ //#endregion
4
8
  export { createLLMOpsMiddleware };
@@ -1,4 +1,8 @@
1
- import "./agents-exporter-Bn3NtzMO.mjs";
2
- import "./index-C0CDqR9v.mjs";
3
- import { t as createLLMOpsMiddleware } from "./index-DVkfeg2W.mjs";
1
+ import "./agents-exporter-B3dyZc2j.mjs";
2
+ import { t as LLMOpsClient } from "./index-B5aeZ4Jb.mjs";
3
+ import { NextFunction, Request, Response } from "express";
4
+
5
+ //#region src/lib/express/index.d.ts
6
+ declare function createLLMOpsMiddleware(client: LLMOpsClient): (req: Request, res: Response, next: NextFunction) => Promise<void>;
7
+ //#endregion
4
8
  export { createLLMOpsMiddleware };
package/dist/express.mjs CHANGED
@@ -1,3 +1,30 @@
1
- import { t as createLLMOpsMiddleware } from "./express-Vt9JurUM.mjs";
1
+ import { Readable } from "node:stream";
2
2
 
3
+ //#region src/lib/express/index.ts
4
+ function createLLMOpsMiddleware(client) {
5
+ const basePath = client.config.basePath;
6
+ return async (req, res, next) => {
7
+ let urlPath = req.originalUrl;
8
+ if (basePath && urlPath.startsWith(basePath)) urlPath = urlPath.slice(basePath.length) || "/";
9
+ const url = new URL(urlPath, `${req.protocol}://${req.get("host")}`);
10
+ const request = new Request(url, {
11
+ method: req.method,
12
+ headers: req.headers,
13
+ body: ["GET", "HEAD"].includes(req.method) ? void 0 : JSON.stringify(req.body)
14
+ });
15
+ const response = await client.handler(request);
16
+ if (response.status === 404) return next();
17
+ response.headers?.forEach((value, key) => {
18
+ res.setHeader(key, value);
19
+ });
20
+ res.status(response.status);
21
+ if ((response.headers?.get("content-type"))?.includes("text/event-stream") && response.body) Readable.fromWeb(response.body).pipe(res);
22
+ else {
23
+ const body = await response.text();
24
+ res.send(body);
25
+ }
26
+ };
27
+ }
28
+
29
+ //#endregion
3
30
  export { createLLMOpsMiddleware };
package/dist/hono.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import "./agents-exporter-Bn3NtzMO.mjs";
2
- import { t as LLMOpsClient } from "./index-C0CDqR9v.mjs";
1
+ import "./agents-exporter-B3dyZc2j.mjs";
2
+ import { t as LLMOpsClient } from "./index-B5aeZ4Jb.mjs";
3
3
  import { MiddlewareHandler } from "hono";
4
4
 
5
5
  //#region src/lib/hono/index.d.ts
@@ -1,4 +1,4 @@
1
- import { a as AgentsTracingExporter } from "./agents-exporter-Bn3NtzMO.mjs";
1
+ import { a as AgentsTracingExporter } from "./agents-exporter-B3dyZc2j.mjs";
2
2
  import { LLMOpsConfig, ValidatedLLMOpsConfig } from "@llmops/core";
3
3
 
4
4
  //#region src/telemetry/langchain-client.d.ts
package/dist/index.cjs CHANGED
@@ -1,6 +1,5 @@
1
- const require_express = require('./express-B-wbCza5.cjs');
2
- const require_agents_exporter = require('./agents-exporter-BuTq2n2y.cjs');
3
- const require_constants = require('./constants-BrB5eRjw.cjs');
1
+ const require_agents_exporter = require('./agents-exporter-DizRE7CQ.cjs');
2
+ const require_constants = require('./constants--ywcWP7q.cjs');
4
3
  let __llmops_core = require("@llmops/core");
5
4
  let __llmops_app = require("@llmops/app");
6
5
 
@@ -233,6 +232,5 @@ function createLLMOpsSpanExporter(config) {
233
232
  exports.COST_SUMMARY_GROUP_BY = require_constants.COST_SUMMARY_GROUP_BY;
234
233
  exports.createLLMOpsAgentsExporter = require_agents_exporter.createLLMOpsAgentsExporter;
235
234
  exports.createLLMOpsLangChainClient = createLLMOpsLangChainClient;
236
- exports.createLLMOpsMiddleware = require_express.createLLMOpsMiddleware;
237
235
  exports.createLLMOpsSpanExporter = createLLMOpsSpanExporter;
238
236
  exports.llmops = createLLMOps;
package/dist/index.d.cts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { a as AgentsTracingExporter, o as LLMOpsAgentsExporterConfig, s as createLLMOpsAgentsExporter } from "./agents-exporter-vuQine9v.cjs";
2
2
  import { a as LLMOpsLangChainClientConfig, i as createLLMOps, n as ProviderOptions, o as LangChainTracingClient, r as TraceContext, s as createLLMOpsLangChainClient, t as LLMOpsClient } from "./index-sjRozlIk.cjs";
3
- import { t as createLLMOpsMiddleware } from "./index-BHO7MEJx.cjs";
4
- import { a as TraceUpsert, i as SpanInsert, n as LLMRequestInsert, o as COST_SUMMARY_GROUP_BY, r as SpanEventInsert, s as CostSummaryGroupBy, t as TelemetryStore } from "./interface-BbAwy96d.cjs";
3
+ import { a as TraceUpsert, i as SpanInsert, n as LLMRequestInsert, o as COST_SUMMARY_GROUP_BY, r as SpanEventInsert, s as CostSummaryGroupBy, t as TelemetryStore } from "./interface-B0KYptxO.cjs";
5
4
 
6
5
  //#region src/telemetry/exporter.d.ts
7
6
 
@@ -93,4 +92,4 @@ interface LLMOpsExporterConfig {
93
92
  */
94
93
  declare function createLLMOpsSpanExporter(config: LLMOpsExporterConfig): SpanExporter;
95
94
  //#endregion
96
- export { type AgentsTracingExporter, COST_SUMMARY_GROUP_BY, type CostSummaryGroupBy, type LLMOpsAgentsExporterConfig, type LLMOpsClient, type LLMOpsExporterConfig, type LLMOpsLangChainClientConfig, type LLMRequestInsert, type LangChainTracingClient, type ProviderOptions, type SpanEventInsert, type SpanExporter, type SpanInsert, type TelemetryStore, type TraceContext, type TraceUpsert, createLLMOpsAgentsExporter, createLLMOpsLangChainClient, createLLMOpsMiddleware, createLLMOpsSpanExporter, createLLMOps as llmops };
95
+ export { type AgentsTracingExporter, COST_SUMMARY_GROUP_BY, type CostSummaryGroupBy, type LLMOpsAgentsExporterConfig, type LLMOpsClient, type LLMOpsExporterConfig, type LLMOpsLangChainClientConfig, type LLMRequestInsert, type LangChainTracingClient, type ProviderOptions, type SpanEventInsert, type SpanExporter, type SpanInsert, type TelemetryStore, type TraceContext, type TraceUpsert, createLLMOpsAgentsExporter, createLLMOpsLangChainClient, createLLMOpsSpanExporter, createLLMOps as llmops };
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
- import { a as AgentsTracingExporter, o as LLMOpsAgentsExporterConfig, s as createLLMOpsAgentsExporter } from "./agents-exporter-Bn3NtzMO.mjs";
2
- import { a as LLMOpsLangChainClientConfig, i as createLLMOps, n as ProviderOptions, o as LangChainTracingClient, r as TraceContext, s as createLLMOpsLangChainClient, t as LLMOpsClient } from "./index-C0CDqR9v.mjs";
3
- import { t as createLLMOpsMiddleware } from "./index-DVkfeg2W.mjs";
4
- import { a as TraceUpsert, i as SpanInsert, n as LLMRequestInsert, o as COST_SUMMARY_GROUP_BY, r as SpanEventInsert, s as CostSummaryGroupBy, t as TelemetryStore } from "./interface-Dz7B6QN1.mjs";
1
+ import { a as AgentsTracingExporter, o as LLMOpsAgentsExporterConfig, s as createLLMOpsAgentsExporter } from "./agents-exporter-B3dyZc2j.mjs";
2
+ import { a as LLMOpsLangChainClientConfig, i as createLLMOps, n as ProviderOptions, o as LangChainTracingClient, r as TraceContext, s as createLLMOpsLangChainClient, t as LLMOpsClient } from "./index-B5aeZ4Jb.mjs";
3
+ import { a as TraceUpsert, i as SpanInsert, n as LLMRequestInsert, o as COST_SUMMARY_GROUP_BY, r as SpanEventInsert, s as CostSummaryGroupBy, t as TelemetryStore } from "./interface-DFchZZQP.mjs";
5
4
 
6
5
  //#region src/telemetry/exporter.d.ts
7
6
 
@@ -93,4 +92,4 @@ interface LLMOpsExporterConfig {
93
92
  */
94
93
  declare function createLLMOpsSpanExporter(config: LLMOpsExporterConfig): SpanExporter;
95
94
  //#endregion
96
- export { type AgentsTracingExporter, COST_SUMMARY_GROUP_BY, type CostSummaryGroupBy, type LLMOpsAgentsExporterConfig, type LLMOpsClient, type LLMOpsExporterConfig, type LLMOpsLangChainClientConfig, type LLMRequestInsert, type LangChainTracingClient, type ProviderOptions, type SpanEventInsert, type SpanExporter, type SpanInsert, type TelemetryStore, type TraceContext, type TraceUpsert, createLLMOpsAgentsExporter, createLLMOpsLangChainClient, createLLMOpsMiddleware, createLLMOpsSpanExporter, createLLMOps as llmops };
95
+ export { type AgentsTracingExporter, COST_SUMMARY_GROUP_BY, type CostSummaryGroupBy, type LLMOpsAgentsExporterConfig, type LLMOpsClient, type LLMOpsExporterConfig, type LLMOpsLangChainClientConfig, type LLMRequestInsert, type LangChainTracingClient, type ProviderOptions, type SpanEventInsert, type SpanExporter, type SpanInsert, type TelemetryStore, type TraceContext, type TraceUpsert, createLLMOpsAgentsExporter, createLLMOpsLangChainClient, createLLMOpsSpanExporter, createLLMOps as llmops };
package/dist/index.mjs CHANGED
@@ -1,6 +1,5 @@
1
- import { t as createLLMOpsMiddleware } from "./express-Vt9JurUM.mjs";
2
- import { t as createLLMOpsAgentsExporter } from "./agents-exporter-DYmMvLPS.mjs";
3
- import { t as COST_SUMMARY_GROUP_BY } from "./constants-sHtPfi36.mjs";
1
+ import { t as createLLMOpsAgentsExporter } from "./agents-exporter-Cte-NArh.mjs";
2
+ import { t as COST_SUMMARY_GROUP_BY } from "./constants-B8e4mnT7.mjs";
4
3
  import { LLMOPS_INTERNAL_HEADER, LLMOPS_SPAN_NAME_HEADER, LLMOPS_TRACE_ID_HEADER, LLMOPS_TRACE_NAME_HEADER } from "@llmops/core";
5
4
  import { createApp } from "@llmops/app";
6
5
 
@@ -230,4 +229,4 @@ function createLLMOpsSpanExporter(config) {
230
229
  }
231
230
 
232
231
  //#endregion
233
- export { COST_SUMMARY_GROUP_BY, createLLMOpsAgentsExporter, createLLMOpsLangChainClient, createLLMOpsMiddleware, createLLMOpsSpanExporter, createLLMOps as llmops };
232
+ export { COST_SUMMARY_GROUP_BY, createLLMOpsAgentsExporter, createLLMOpsLangChainClient, createLLMOpsSpanExporter, createLLMOps as llmops };
package/dist/nextjs.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import "./agents-exporter-Bn3NtzMO.mjs";
2
- import { t as LLMOpsClient } from "./index-C0CDqR9v.mjs";
1
+ import "./agents-exporter-B3dyZc2j.mjs";
2
+ import { t as LLMOpsClient } from "./index-B5aeZ4Jb.mjs";
3
3
 
4
4
  //#region src/lib/nextjs/index.d.ts
5
5
  declare function toNextJsHandler(client: LLMOpsClient): {
@@ -1,4 +1,4 @@
1
- import { t as TelemetryStore } from "../interface-BbAwy96d.cjs";
1
+ import { t as TelemetryStore } from "../interface-B0KYptxO.cjs";
2
2
 
3
3
  //#region src/store/d1/types.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { t as TelemetryStore } from "../interface-Dz7B6QN1.mjs";
1
+ import { t as TelemetryStore } from "../interface-DFchZZQP.mjs";
2
2
 
3
3
  //#region src/store/d1/types.d.ts
4
4
 
package/dist/store/pg.cjs CHANGED
@@ -15,7 +15,7 @@ var __export = (all, symbols) => {
15
15
  };
16
16
 
17
17
  //#endregion
18
- require('../constants-BrB5eRjw.cjs');
18
+ require('../constants--ywcWP7q.cjs');
19
19
  let __llmops_core = require("@llmops/core");
20
20
  let node_crypto = require("node:crypto");
21
21
 
@@ -1,4 +1,4 @@
1
- import { t as TelemetryStore } from "../interface-BbAwy96d.cjs";
1
+ import { t as TelemetryStore } from "../interface-B0KYptxO.cjs";
2
2
  import { Pool } from "pg";
3
3
 
4
4
  //#region src/telemetry/pg-store.d.ts
@@ -1,4 +1,4 @@
1
- import { t as TelemetryStore } from "../interface-Dz7B6QN1.mjs";
1
+ import { t as TelemetryStore } from "../interface-DFchZZQP.mjs";
2
2
  import { Pool } from "pg";
3
3
 
4
4
  //#region src/telemetry/pg-store.d.ts
package/dist/store/pg.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import "../constants-sHtPfi36.mjs";
1
+ import "../constants-B8e4mnT7.mjs";
2
2
  import { createRequire } from "node:module";
3
3
  import { logger } from "@llmops/core";
4
4
  import { randomUUID } from "node:crypto";
package/dist/types.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as TelemetryStore } from "./interface-BbAwy96d.cjs";
1
+ import { t as TelemetryStore } from "./interface-B0KYptxO.cjs";
2
2
  export { type TelemetryStore };
package/dist/types.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as TelemetryStore } from "./interface-Dz7B6QN1.mjs";
1
+ import { t as TelemetryStore } from "./interface-DFchZZQP.mjs";
2
2
  export { type TelemetryStore };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llmops/sdk",
3
- "version": "1.0.0-beta.10",
3
+ "version": "1.0.0-beta.11",
4
4
  "description": "An LLMOps toolkit for TypeScript applications",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -114,8 +114,8 @@
114
114
  "access": "public"
115
115
  },
116
116
  "dependencies": {
117
- "@llmops/app": "^1.0.0-beta.10",
118
- "@llmops/core": "^1.0.0-beta.10"
117
+ "@llmops/app": "^1.0.0-beta.11",
118
+ "@llmops/core": "^1.0.0-beta.11"
119
119
  },
120
120
  "peerDependencies": {
121
121
  "pg": "*"
@@ -1,35 +0,0 @@
1
- let node_stream = require("node:stream");
2
-
3
- //#region src/lib/express/index.ts
4
- function createLLMOpsMiddleware(client) {
5
- const basePath = client.config.basePath;
6
- return async (req, res, next) => {
7
- let urlPath = req.originalUrl;
8
- if (basePath && urlPath.startsWith(basePath)) urlPath = urlPath.slice(basePath.length) || "/";
9
- const url = new URL(urlPath, `${req.protocol}://${req.get("host")}`);
10
- const request = new Request(url, {
11
- method: req.method,
12
- headers: req.headers,
13
- body: ["GET", "HEAD"].includes(req.method) ? void 0 : JSON.stringify(req.body)
14
- });
15
- const response = await client.handler(request);
16
- if (response.status === 404) return next();
17
- response.headers?.forEach((value, key) => {
18
- res.setHeader(key, value);
19
- });
20
- res.status(response.status);
21
- if ((response.headers?.get("content-type"))?.includes("text/event-stream") && response.body) node_stream.Readable.fromWeb(response.body).pipe(res);
22
- else {
23
- const body = await response.text();
24
- res.send(body);
25
- }
26
- };
27
- }
28
-
29
- //#endregion
30
- Object.defineProperty(exports, 'createLLMOpsMiddleware', {
31
- enumerable: true,
32
- get: function () {
33
- return createLLMOpsMiddleware;
34
- }
35
- });
@@ -1,30 +0,0 @@
1
- import { Readable } from "node:stream";
2
-
3
- //#region src/lib/express/index.ts
4
- function createLLMOpsMiddleware(client) {
5
- const basePath = client.config.basePath;
6
- return async (req, res, next) => {
7
- let urlPath = req.originalUrl;
8
- if (basePath && urlPath.startsWith(basePath)) urlPath = urlPath.slice(basePath.length) || "/";
9
- const url = new URL(urlPath, `${req.protocol}://${req.get("host")}`);
10
- const request = new Request(url, {
11
- method: req.method,
12
- headers: req.headers,
13
- body: ["GET", "HEAD"].includes(req.method) ? void 0 : JSON.stringify(req.body)
14
- });
15
- const response = await client.handler(request);
16
- if (response.status === 404) return next();
17
- response.headers?.forEach((value, key) => {
18
- res.setHeader(key, value);
19
- });
20
- res.status(response.status);
21
- if ((response.headers?.get("content-type"))?.includes("text/event-stream") && response.body) Readable.fromWeb(response.body).pipe(res);
22
- else {
23
- const body = await response.text();
24
- res.send(body);
25
- }
26
- };
27
- }
28
-
29
- //#endregion
30
- export { createLLMOpsMiddleware as t };
@@ -1,7 +0,0 @@
1
- import { t as LLMOpsClient } from "./index-sjRozlIk.cjs";
2
- import { NextFunction, Request, Response } from "express";
3
-
4
- //#region src/lib/express/index.d.ts
5
- declare function createLLMOpsMiddleware(client: LLMOpsClient): (req: Request, res: Response, next: NextFunction) => Promise<void>;
6
- //#endregion
7
- export { createLLMOpsMiddleware as t };
@@ -1,7 +0,0 @@
1
- import { t as LLMOpsClient } from "./index-C0CDqR9v.mjs";
2
- import { NextFunction, Request, Response } from "express";
3
-
4
- //#region src/lib/express/index.d.ts
5
- declare function createLLMOpsMiddleware(client: LLMOpsClient): (req: Request, res: Response, next: NextFunction) => Promise<void>;
6
- //#endregion
7
- export { createLLMOpsMiddleware as t };