langsmith 0.0.51 → 0.0.53

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.
@@ -1,21 +1,19 @@
1
1
  version: "3"
2
2
  services:
3
3
  langchain-playground:
4
- image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-playground:${_LANGSMITH_IMAGE_VERSION-:latest}
4
+ image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-playground:${_LANGSMITH_IMAGE_VERSION:-latest}
5
5
  ports:
6
6
  - 3001:3001
7
7
  langchain-frontend:
8
- image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-frontend-dynamic:${_LANGSMITH_IMAGE_VERSION-:latest}
8
+ image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-frontend-dynamic:${_LANGSMITH_IMAGE_VERSION:-latest}
9
9
  ports:
10
10
  - 80:80
11
- volumes:
12
- - ./nginx.conf:/etc/nginx/conf.d/default.conf
13
11
  depends_on:
14
12
  - langchain-backend
15
13
  - langchain-playground
16
14
  - langchain-hub
17
15
  langchain-backend:
18
- image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-backend:${_LANGSMITH_IMAGE_VERSION-:latest}
16
+ image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-backend:${_LANGSMITH_IMAGE_VERSION:-latest}
19
17
  environment:
20
18
  - PORT=1984
21
19
  - LANGCHAIN_ENV=local_docker
@@ -28,14 +26,14 @@ services:
28
26
  - langchain-db
29
27
  - langchain-redis
30
28
  langchain-queue:
31
- image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-backend:${_LANGSMITH_IMAGE_VERSION-:latest}
29
+ image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-backend:${_LANGSMITH_IMAGE_VERSION:-latest}
32
30
  environment:
33
31
  - LANGCHAIN_ENV=local_docker
34
32
  - LOG_LEVEL=warning
35
33
  - LANGSMITH_LICENSE_KEY=${LANGSMITH_LICENSE_KEY}
36
34
  entrypoint: "rq worker --with-scheduler -u redis://langchain-redis:6379 --serializer lc_database.queue.serializer.ORJSONSerializer --worker-class lc_database.queue.worker.Worker --connection-class lc_database.queue.connection.RedisRetry --job-class lc_database.queue.job.AsyncJob"
37
35
  langchain-hub:
38
- image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainhub-backend:${_LANGSMITH_IMAGE_VERSION-:latest}
36
+ image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainhub-backend:${_LANGSMITH_IMAGE_VERSION:-latest}
39
37
  environment:
40
38
  - PORT=1985
41
39
  - LANGCHAIN_ENV=local_docker
package/dist/schemas.d.ts CHANGED
@@ -2,6 +2,8 @@ export interface TracerSession {
2
2
  tenant_id: string;
3
3
  id: string;
4
4
  start_time: number;
5
+ end_time?: number;
6
+ description?: string;
5
7
  name?: string;
6
8
  }
7
9
  export interface TracerSessionResult extends TracerSession {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsmith",
3
- "version": "0.0.51",
3
+ "version": "0.0.53",
4
4
  "description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",
5
5
  "files": [
6
6
  "dist/",
@@ -1,60 +0,0 @@
1
- server {
2
- listen 80;
3
- server_name localhost;
4
-
5
- add_header Content-Security-Policy "frame-ancestors 'self'" always;
6
-
7
- location / {
8
- root /usr/share/nginx/html;
9
- index index.html index.htm;
10
- try_files $uri $uri/ /index.html;
11
- }
12
-
13
- error_page 500 502 503 504 /50x.html;
14
- location = /50x.html {
15
- root /usr/share/nginx/html;
16
- }
17
-
18
- location ~ /api/playground/ {
19
- rewrite /api/playground/(.*) /$1 break;
20
- chunked_transfer_encoding off;
21
- proxy_set_header Connection '';
22
- proxy_http_version 1.1;
23
- proxy_buffering off;
24
- proxy_cache off;
25
- proxy_pass http://langchain-playground:3001;
26
- }
27
-
28
- location = /api/playground {
29
- rewrite /api/playground / break;
30
- chunked_transfer_encoding off;
31
- proxy_set_header Connection '';
32
- proxy_http_version 1.1;
33
- proxy_buffering off;
34
- proxy_cache off;
35
- proxy_pass http://langchain-playground:3001;
36
- }
37
-
38
- # Hub Routes
39
- location ~ /api-hub {
40
- rewrite /api-hub/(.*) /$1 break;
41
- chunked_transfer_encoding off;
42
- proxy_set_header Connection '';
43
- proxy_http_version 1.1;
44
- proxy_buffering off;
45
- proxy_cache off;
46
- proxy_pass http://langchain-hub:1985;
47
- }
48
-
49
- # Backend Routes
50
- location ~ /api {
51
- rewrite /api/(.*) /$1 break;
52
- chunked_transfer_encoding off;
53
- proxy_set_header Connection '';
54
- proxy_http_version 1.1;
55
- proxy_buffering off;
56
- proxy_cache off;
57
- proxy_pass http://langchain-backend:1984;
58
- }
59
-
60
- }