langsmith 0.3.3 → 0.3.4-rc.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/README.md +3 -3
- package/dist/client.cjs +1 -1
- package/dist/client.js +1 -1
- 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/README.md
CHANGED
|
@@ -50,7 +50,7 @@ yarn add langchain
|
|
|
50
50
|
Tracing can be activated by setting the following environment variables or by manually specifying the LangChainTracer.
|
|
51
51
|
|
|
52
52
|
```typescript
|
|
53
|
-
process.env.
|
|
53
|
+
process.env.LANGSMITH_TRACING = "true";
|
|
54
54
|
process.env.LANGSMITH_ENDPOINT = "https://api.smith.langchain.com";
|
|
55
55
|
// process.env.LANGSMITH_ENDPOINT = "https://eu.api.smith.langchain.com"; // If signed up in the EU region
|
|
56
56
|
process.env.LANGSMITH_API_KEY = "<YOUR-LANGSMITH-API-KEY>";
|
|
@@ -82,7 +82,7 @@ or by directly specifying the connection information in the RunTree.
|
|
|
82
82
|
1. **Copy the environment variables from the Settings Page and add them to your application.**
|
|
83
83
|
|
|
84
84
|
```shell
|
|
85
|
-
export
|
|
85
|
+
export LANGSMITH_TRACING="true";
|
|
86
86
|
export LANGSMITH_API_KEY=<YOUR-LANGSMITH-API-KEY>
|
|
87
87
|
# export LANGSMITH_PROJECT="My Project Name" # Optional: "default" is used if not set
|
|
88
88
|
# export LANGSMITH_ENDPOINT=https://api.smith.langchain.com # or your own server
|
|
@@ -102,7 +102,7 @@ is using the `wrapOpenAI` wrapper function available in LangSmith 0.1.3 and up.
|
|
|
102
102
|
In order to use, you first need to set your LangSmith API key:
|
|
103
103
|
|
|
104
104
|
```shell
|
|
105
|
-
export
|
|
105
|
+
export LANGSMITH_TRACING="true";
|
|
106
106
|
export LANGSMITH_API_KEY=<your-api-key>
|
|
107
107
|
```
|
|
108
108
|
|
package/dist/client.cjs
CHANGED
|
@@ -907,7 +907,7 @@ class Client {
|
|
|
907
907
|
const body = new Blob(chunks);
|
|
908
908
|
// Convert Blob to ArrayBuffer for compatibility
|
|
909
909
|
const arrayBuffer = await body.arrayBuffer();
|
|
910
|
-
const res = await this.batchIngestCaller.call((0, fetch_js_1._getFetchImplementation)(), `${this.apiUrl}/runs/multipart`, {
|
|
910
|
+
const res = await this.batchIngestCaller.call((0, fetch_js_1._getFetchImplementation)(), `${this.apiUrl}/v1/runs/multipart`, {
|
|
911
911
|
method: "POST",
|
|
912
912
|
headers: {
|
|
913
913
|
...this.headers,
|
package/dist/client.js
CHANGED
|
@@ -879,7 +879,7 @@ export class Client {
|
|
|
879
879
|
const body = new Blob(chunks);
|
|
880
880
|
// Convert Blob to ArrayBuffer for compatibility
|
|
881
881
|
const arrayBuffer = await body.arrayBuffer();
|
|
882
|
-
const res = await this.batchIngestCaller.call(_getFetchImplementation(), `${this.apiUrl}/runs/multipart`, {
|
|
882
|
+
const res = await this.batchIngestCaller.call(_getFetchImplementation(), `${this.apiUrl}/v1/runs/multipart`, {
|
|
883
883
|
method: "POST",
|
|
884
884
|
headers: {
|
|
885
885
|
...this.headers,
|
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.3.
|
|
11
|
+
exports.__version__ = "0.3.4-rc.0";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,4 +2,4 @@ export { Client, type ClientConfig, type LangSmithTracingClientInterface, } from
|
|
|
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.3.
|
|
5
|
+
export declare const __version__ = "0.3.4-rc.0";
|
package/dist/index.js
CHANGED