langsmith 0.1.46 → 0.1.48
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/evaluation/_runner.cjs +3 -2
- package/dist/evaluation/_runner.js +3 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +3 -3
|
@@ -496,10 +496,11 @@ class _ExperimentManager {
|
|
|
496
496
|
const flattenedResults = this.client._selectEvalResults(summaryEvalResult);
|
|
497
497
|
aggregateFeedback.push(...flattenedResults);
|
|
498
498
|
for (const result of flattenedResults) {
|
|
499
|
-
|
|
499
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
500
|
+
const { targetRunId, key, ...feedback } = result;
|
|
500
501
|
const evaluatorInfo = feedback.evaluatorInfo;
|
|
501
502
|
delete feedback.evaluatorInfo;
|
|
502
|
-
await this.client.createFeedback(null,
|
|
503
|
+
await this.client.createFeedback(null, key, {
|
|
503
504
|
...feedback,
|
|
504
505
|
projectId: projectId,
|
|
505
506
|
sourceInfo: evaluatorInfo,
|
|
@@ -492,10 +492,11 @@ export class _ExperimentManager {
|
|
|
492
492
|
const flattenedResults = this.client._selectEvalResults(summaryEvalResult);
|
|
493
493
|
aggregateFeedback.push(...flattenedResults);
|
|
494
494
|
for (const result of flattenedResults) {
|
|
495
|
-
|
|
495
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
496
|
+
const { targetRunId, key, ...feedback } = result;
|
|
496
497
|
const evaluatorInfo = feedback.evaluatorInfo;
|
|
497
498
|
delete feedback.evaluatorInfo;
|
|
498
|
-
await this.client.createFeedback(null,
|
|
499
|
+
await this.client.createFeedback(null, key, {
|
|
499
500
|
...feedback,
|
|
500
501
|
projectId: projectId,
|
|
501
502
|
sourceInfo: evaluatorInfo,
|
package/dist/index.cjs
CHANGED
|
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "Client", { enumerable: true, get: function () {
|
|
|
6
6
|
var run_trees_js_1 = require("./run_trees.cjs");
|
|
7
7
|
Object.defineProperty(exports, "RunTree", { enumerable: true, get: function () { return run_trees_js_1.RunTree; } });
|
|
8
8
|
// Update using yarn bump-version
|
|
9
|
-
exports.__version__ = "0.1.
|
|
9
|
+
exports.__version__ = "0.1.48";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { Client, type ClientConfig } 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
|
-
export declare const __version__ = "0.1.
|
|
4
|
+
export declare const __version__ = "0.1.48";
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "langsmith",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.48",
|
|
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": [
|
|
@@ -97,12 +97,12 @@
|
|
|
97
97
|
},
|
|
98
98
|
"homepage": "https://github.com/langchain-ai/langsmith-sdk#readme",
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@types/uuid": "^
|
|
100
|
+
"@types/uuid": "^10.0.0",
|
|
101
101
|
"commander": "^10.0.1",
|
|
102
102
|
"p-queue": "^6.6.2",
|
|
103
103
|
"p-retry": "4",
|
|
104
104
|
"semver": "^7.6.3",
|
|
105
|
-
"uuid": "^
|
|
105
|
+
"uuid": "^10.0.0"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
108
|
"@ai-sdk/openai": "^0.0.40",
|