diff --git a/charts/langsmith/Chart.yaml b/charts/langsmith/Chart.yaml index ba54c5a3..5c6c6495 100644 --- a/charts/langsmith/Chart.yaml +++ b/charts/langsmith/Chart.yaml @@ -5,5 +5,5 @@ maintainers: email: ankush@langchain.dev description: Helm chart to deploy the langsmith application and all services it depends on. type: application -version: 0.4.2 -appVersion: "0.2.5" +version: 0.4.3 +appVersion: "0.2.11" diff --git a/charts/langsmith/README.md b/charts/langsmith/README.md index b08367b1..4a8341a9 100644 --- a/charts/langsmith/README.md +++ b/charts/langsmith/README.md @@ -1,12 +1,12 @@ # langsmith -![Version: 0.4.1](https://img.shields.io/badge/Version-0.4.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square) +![Version: 0.4.3](https://img.shields.io/badge/Version-0.4.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.11](https://img.shields.io/badge/AppVersion-0.2.11-informational?style=flat-square) Helm chart to deploy the langsmith application and all services it depends on. ## Migrating from LangSmith 0.3.0 to 0.4.0 -LangSmith 0.3.0 should be a drop-in replacement for LangSmith 0.2.0. You can follow the generic upgrade instructions [here](docs/UPGRADE.md). +LangSmith 0.4.0 should be a drop-in replacement for LangSmith 0.3.0. You can follow the generic upgrade instructions [here](docs/UPGRADE.md). There are a few important changes when migrating from 0.3.0 to 0.4.0. The majority of these will require no action on your part. However, there are a few things to note: @@ -59,7 +59,7 @@ Ensure you have the following tools/items ready. 5. SSL(optional) 1. This should be attachable to the load balancer that you will be provisioning. 6. OpenAI API Key(optional). - 1. Used for natural language search feature. Can specify OpenAI key in browser as well for the playground feature. + 1. Used for natural language search feature/evaluators. Can specify OpenAI key in the application as well. 7. Oauth Configuration(optional). 1. You can configure oauth using the `values.yaml` file. You will need to provide a `client_id` and `client_issuer_url` for your oauth provider. 2. Note, we do rely on the OIDC Authorization Code with PKCE flow. We currently support almost anything that is OIDC compliant however Google does not support this flow. @@ -69,7 +69,7 @@ Ensure you have the following tools/items ready. 3. Note: We do only officially support Postgres versions >= 14. 9. External Redis(optional). 1. You can configure external redis using the `values.yaml` file. You will need to provide a connection url for your redis instance. - 2. Currently, we do not support using Redis with TLS. We will be supporting this shortly. + 2. If using TLS, ensure that you use `rediss://` instead of `redis://. E.g "rediss://langsmith-redis:6380/0?password=foo" 3. We only official support Redis versions >= 6. ### Configure your Helm Charts: @@ -131,7 +131,8 @@ config: postgres: external: enabled: true - connectionUrl: "postgresql://:@:5432/" + # Do not include protocol here. + connectionUrl: ":@:5432/" redis: external: enabled: true @@ -291,17 +292,17 @@ We typically validate deployment using the following quickstart guide: | fullnameOverride | string | `""` | String to fully override `"langsmith.fullname"` | | images.backendImage.pullPolicy | string | `"IfNotPresent"` | | | images.backendImage.repository | string | `"docker.io/langchain/langsmith-backend"` | | -| images.backendImage.tag | string | `"0.2.0"` | | +| images.backendImage.tag | string | `"0.2.11"` | | | images.clickhouseImage.pullPolicy | string | `"Always"` | | | images.clickhouseImage.repository | string | `"docker.io/clickhouse/clickhouse-server"` | | | images.clickhouseImage.tag | string | `"23.9"` | | | images.frontendImage.pullPolicy | string | `"IfNotPresent"` | | | images.frontendImage.repository | string | `"docker.io/langchain/langsmith-frontend"` | | -| images.frontendImage.tag | string | `"0.2.0"` | | +| images.frontendImage.tag | string | `"0.2.11"` | | | images.imagePullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Specified as name: value. | | images.playgroundImage.pullPolicy | string | `"IfNotPresent"` | | | images.playgroundImage.repository | string | `"docker.io/langchain/langsmith-playground"` | | -| images.playgroundImage.tag | string | `"0.2.0"` | | +| images.playgroundImage.tag | string | `"0.2.11"` | | | images.postgresImage.pullPolicy | string | `"IfNotPresent"` | | | images.postgresImage.repository | string | `"docker.io/postgres"` | | | images.postgresImage.tag | string | `"14.7"` | | diff --git a/charts/langsmith/README.md.gotmpl b/charts/langsmith/README.md.gotmpl index 36d665cf..6e70a71e 100644 --- a/charts/langsmith/README.md.gotmpl +++ b/charts/langsmith/README.md.gotmpl @@ -6,7 +6,7 @@ ## Migrating from LangSmith 0.3.0 to 0.4.0 -LangSmith 0.3.0 should be a drop-in replacement for LangSmith 0.2.0. You can follow the generic upgrade instructions [here](docs/UPGRADE.md). +LangSmith 0.4.0 should be a drop-in replacement for LangSmith 0.3.0. You can follow the generic upgrade instructions [here](docs/UPGRADE.md). There are a few important changes when migrating from 0.3.0 to 0.4.0. The majority of these will require no action on your part. However, there are a few things to note: @@ -59,7 +59,7 @@ Ensure you have the following tools/items ready. 5. SSL(optional) 1. This should be attachable to the load balancer that you will be provisioning. 6. OpenAI API Key(optional). - 1. Used for natural language search feature. Can specify OpenAI key in browser as well for the playground feature. + 1. Used for natural language search feature/evaluators. Can specify OpenAI key in the application as well. 7. Oauth Configuration(optional). 1. You can configure oauth using the `values.yaml` file. You will need to provide a `client_id` and `client_issuer_url` for your oauth provider. 2. Note, we do rely on the OIDC Authorization Code with PKCE flow. We currently support almost anything that is OIDC compliant however Google does not support this flow. @@ -69,7 +69,7 @@ Ensure you have the following tools/items ready. 3. Note: We do only officially support Postgres versions >= 14. 9. External Redis(optional). 1. You can configure external redis using the `values.yaml` file. You will need to provide a connection url for your redis instance. - 2. Currently, we do not support using Redis with TLS. We will be supporting this shortly. + 2. If using TLS, ensure that you use `rediss://` instead of `redis://. E.g "rediss://langsmith-redis:6380/0?password=foo" 3. We only official support Redis versions >= 6. ### Configure your Helm Charts: @@ -131,7 +131,8 @@ config: postgres: external: enabled: true - connectionUrl: "postgresql://:@:5432/" + # Do not include protocol here. + connectionUrl: ":@:5432/" redis: external: enabled: true @@ -143,7 +144,6 @@ the same format as the secret in the corresponding `secrets.yaml` file. More examples can be found in the `examples` directory. - ### Deploying to Kubernetes: 1. Verify that you can connect to your Kubernetes cluster(note: We highly suggest installing into an empty namespace) diff --git a/charts/langsmith/values.yaml b/charts/langsmith/values.yaml index 82f52fb4..e95185e1 100644 --- a/charts/langsmith/values.yaml +++ b/charts/langsmith/values.yaml @@ -15,15 +15,15 @@ images: backendImage: repository: "docker.io/langchain/langsmith-backend" pullPolicy: IfNotPresent - tag: "0.2.5" + tag: "0.2.11" frontendImage: repository: "docker.io/langchain/langsmith-frontend" pullPolicy: IfNotPresent - tag: "0.2.5" + tag: "0.2.11" playgroundImage: repository: "docker.io/langchain/langsmith-playground" pullPolicy: IfNotPresent - tag: "0.2.5" + tag: "0.2.11" postgresImage: repository: "docker.io/postgres" pullPolicy: IfNotPresent