langsmith
Advanced tools
Comparing version 0.0.37 to 0.0.38
@@ -88,6 +88,7 @@ import { AsyncCallerParams } from "./utils/async_caller.js"; | ||
readRunSharedLink(runId: string): Promise<string | undefined>; | ||
createProject({ projectName, projectExtra, upsert, }: { | ||
createProject({ projectName, projectExtra, upsert, referenceDatasetId, }: { | ||
projectName: string; | ||
projectExtra?: object; | ||
upsert?: boolean; | ||
referenceDatasetId?: string; | ||
}): Promise<TracerSession>; | ||
@@ -94,0 +95,0 @@ readProject({ projectId, projectName, }: { |
@@ -324,3 +324,3 @@ import * as uuid from "uuid"; | ||
} | ||
async createProject({ projectName, projectExtra, upsert, }) { | ||
async createProject({ projectName, projectExtra, upsert, referenceDatasetId, }) { | ||
const upsert_ = upsert ? `?upsert=true` : ""; | ||
@@ -334,2 +334,5 @@ const endpoint = `${this.apiUrl}/sessions${upsert_}`; | ||
} | ||
if (referenceDatasetId !== undefined) { | ||
body["reference_dataset_id"] = referenceDatasetId; | ||
} | ||
const response = await this.caller.call(fetch, endpoint, { | ||
@@ -336,0 +339,0 @@ method: "POST", |
{ | ||
"name": "langsmith", | ||
"version": "0.0.37", | ||
"version": "0.0.38", | ||
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
177520
4410