langsmith 0.0.45 → 0.0.47

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.
@@ -2,13 +2,18 @@ version: "3"
2
2
  services:
3
3
  langchain-playground:
4
4
  image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-playground:latest
5
+ ports:
6
+ - 3001:3001
5
7
  langchain-frontend:
6
- image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-frontend:latest
8
+ image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-frontend-dynamic:latest
7
9
  ports:
8
10
  - 80:80
11
+ volumes:
12
+ - ./nginx.conf:/etc/nginx/conf.d/default.conf
9
13
  depends_on:
10
14
  - langchain-backend
11
15
  - langchain-playground
16
+ - langchain-hub
12
17
  langchain-backend:
13
18
  image: langchain/${_LANGSMITH_IMAGE_PREFIX-}langchainplus-backend:latest
14
19
  environment:
@@ -0,0 +1,60 @@
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsmith",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",
5
5
  "files": [
6
6
  "dist/",