langsmith 0.2.7 → 0.2.8-rc.1

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/client.d.ts CHANGED
@@ -184,7 +184,7 @@ export declare class AutoBatchQueue {
184
184
  pop(upToSizeBytes: number): [AutoBatchQueueItem[], () => void];
185
185
  }
186
186
  export declare const DEFAULT_BATCH_SIZE_LIMIT_BYTES = 20971520;
187
- export declare class Client {
187
+ export declare class Client implements LangSmithTracingClientInterface {
188
188
  private apiKey?;
189
189
  private apiUrl;
190
190
  private webUrl?;
@@ -792,4 +792,8 @@ export declare class Client {
792
792
  */
793
793
  awaitPendingTraceBatches(): Promise<[...void[], void]>;
794
794
  }
795
+ export interface LangSmithTracingClientInterface {
796
+ createRun: (run: CreateRunParams) => Promise<void>;
797
+ updateRun: (runId: string, run: RunUpdate) => Promise<void>;
798
+ }
795
799
  export {};
package/dist/index.cjs CHANGED
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "RunTree", { enumerable: true, get: function () {
8
8
  var fetch_js_1 = require("./singletons/fetch.cjs");
9
9
  Object.defineProperty(exports, "overrideFetchImplementation", { enumerable: true, get: function () { return fetch_js_1.overrideFetchImplementation; } });
10
10
  // Update using yarn bump-version
11
- exports.__version__ = "0.2.7";
11
+ exports.__version__ = "0.2.8-rc.1";
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- export { Client, type ClientConfig } from "./client.js";
1
+ export { Client, type ClientConfig, type LangSmithTracingClientInterface, } from "./client.js";
2
2
  export type { Dataset, Example, TracerSession, Run, Feedback, RetrieverOutput, } from "./schemas.js";
3
3
  export { RunTree, type RunTreeConfig } from "./run_trees.js";
4
4
  export { overrideFetchImplementation } from "./singletons/fetch.js";
5
- export declare const __version__ = "0.2.7";
5
+ export declare const __version__ = "0.2.8-rc.1";
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export { Client } from "./client.js";
1
+ export { Client, } from "./client.js";
2
2
  export { RunTree } from "./run_trees.js";
3
3
  export { overrideFetchImplementation } from "./singletons/fetch.js";
4
4
  // Update using yarn bump-version
5
- export const __version__ = "0.2.7";
5
+ export const __version__ = "0.2.8-rc.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsmith",
3
- "version": "0.2.7",
3
+ "version": "0.2.8-rc.1",
4
4
  "description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",
5
5
  "packageManager": "yarn@1.22.19",
6
6
  "files": [