langsmith 0.7.17 → 0.8.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/dist/client.cjs +8 -0
- package/dist/client.d.ts +6 -0
- package/dist/client.js +8 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/client.cjs
CHANGED
|
@@ -986,6 +986,14 @@ class Client {
|
|
|
986
986
|
get datasets() {
|
|
987
987
|
return this.openAPIClient.datasets;
|
|
988
988
|
}
|
|
989
|
+
/** Access the threads resource (query, stats, listTraces). */
|
|
990
|
+
get threads() {
|
|
991
|
+
return this.openAPIClient.threads;
|
|
992
|
+
}
|
|
993
|
+
/** Access the traces resource (query, listRuns). */
|
|
994
|
+
get traces() {
|
|
995
|
+
return this.openAPIClient.traces;
|
|
996
|
+
}
|
|
989
997
|
async processInputs(inputs) {
|
|
990
998
|
if (this.hideInputs === false) {
|
|
991
999
|
return inputs;
|
package/dist/client.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ import { OnlineEvaluators as Evaluators } from "./_openapi_client/resources/onli
|
|
|
7
7
|
import { Runs as OpenAPIRuns } from "./_openapi_client/resources/runs.js";
|
|
8
8
|
import { Sandboxes } from "./_openapi_client/resources/sandboxes/sandboxes.js";
|
|
9
9
|
import { Datasets } from "./_openapi_client/resources/datasets/datasets.js";
|
|
10
|
+
import { Threads } from "./_openapi_client/resources/threads.js";
|
|
11
|
+
import { Traces } from "./_openapi_client/resources/traces.js";
|
|
10
12
|
import { PromptCache } from "./utils/prompt_cache/index.js";
|
|
11
13
|
import { ProfileAuth } from "./utils/profiles.js";
|
|
12
14
|
export interface ClientConfig {
|
|
@@ -519,6 +521,10 @@ export declare class Client implements LangSmithTracingClientInterface {
|
|
|
519
521
|
get sandboxes(): Sandboxes;
|
|
520
522
|
/** Access the v2 datasets resource (experimentRuns, etc.). */
|
|
521
523
|
get datasets(): Datasets;
|
|
524
|
+
/** Access the threads resource (query, stats, listTraces). */
|
|
525
|
+
get threads(): Threads;
|
|
526
|
+
/** Access the traces resource (query, listRuns). */
|
|
527
|
+
get traces(): Traces;
|
|
522
528
|
private processInputs;
|
|
523
529
|
private processOutputs;
|
|
524
530
|
private processMetadata;
|
package/dist/client.js
CHANGED
|
@@ -947,6 +947,14 @@ export class Client {
|
|
|
947
947
|
get datasets() {
|
|
948
948
|
return this.openAPIClient.datasets;
|
|
949
949
|
}
|
|
950
|
+
/** Access the threads resource (query, stats, listTraces). */
|
|
951
|
+
get threads() {
|
|
952
|
+
return this.openAPIClient.threads;
|
|
953
|
+
}
|
|
954
|
+
/** Access the traces resource (query, listRuns). */
|
|
955
|
+
get traces() {
|
|
956
|
+
return this.openAPIClient.traces;
|
|
957
|
+
}
|
|
950
958
|
async processInputs(inputs) {
|
|
951
959
|
if (this.hideInputs === false) {
|
|
952
960
|
return inputs;
|
package/dist/index.cjs
CHANGED
|
@@ -20,6 +20,6 @@ Object.defineProperty(exports, "PromptCache", { enumerable: true, get: function
|
|
|
20
20
|
Object.defineProperty(exports, "configureGlobalPromptCache", { enumerable: true, get: function () { return index_js_1.configureGlobalPromptCache; } });
|
|
21
21
|
Object.defineProperty(exports, "promptCacheSingleton", { enumerable: true, get: function () { return index_js_1.promptCacheSingleton; } });
|
|
22
22
|
// Update using pnpm bump-version
|
|
23
|
-
exports.__version__ = "0.
|
|
23
|
+
exports.__version__ = "0.8.0";
|
|
24
24
|
// Metadata key to hide a traced run from LangSmith's Messages View.
|
|
25
25
|
exports.LS_MESSAGE_VIEW_EXCLUDE = "ls_message_view_exclude";
|
package/dist/index.d.ts
CHANGED
|
@@ -6,5 +6,5 @@ export { getDefaultProjectName } from "./utils/project.js";
|
|
|
6
6
|
export { uuid7, uuid7FromTime } from "./uuid.js";
|
|
7
7
|
export { isTracingEnabled } from "./utils/guard.js";
|
|
8
8
|
export { Cache, PromptCache, type CacheConfig, type CacheMetrics, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
|
|
9
|
-
export declare const __version__ = "0.
|
|
9
|
+
export declare const __version__ = "0.8.0";
|
|
10
10
|
export declare const LS_MESSAGE_VIEW_EXCLUDE: "ls_message_view_exclude";
|
package/dist/index.js
CHANGED
|
@@ -6,6 +6,6 @@ export { uuid7, uuid7FromTime } from "./uuid.js";
|
|
|
6
6
|
export { isTracingEnabled } from "./utils/guard.js";
|
|
7
7
|
export { Cache, PromptCache, configureGlobalPromptCache, promptCacheSingleton, } from "./utils/prompt_cache/index.js";
|
|
8
8
|
// Update using pnpm bump-version
|
|
9
|
-
export const __version__ = "0.
|
|
9
|
+
export const __version__ = "0.8.0";
|
|
10
10
|
// Metadata key to hide a traced run from LangSmith's Messages View.
|
|
11
11
|
export const LS_MESSAGE_VIEW_EXCLUDE = "ls_message_view_exclude";
|