Skip to content

Commit

Permalink
Merge pull request #85 from langchain-ai/infra/update-redis-docs
Browse files Browse the repository at this point in the history
fix: update external connection docs and release 0.2.11
  • Loading branch information
langchain-infra authored Apr 4, 2024
2 parents 0d1790b + 999684e commit 0a3ad97
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 18 deletions.
4 changes: 2 additions & 2 deletions charts/langsmith/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ maintainers:
email: [email protected]
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"
17 changes: 9 additions & 8 deletions charts/langsmith/README.md
Original file line number Diff line number Diff line change
@@ -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:

Expand Down Expand Up @@ -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.
Expand All @@ -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:
Expand Down Expand Up @@ -131,7 +131,8 @@ config:
postgres:
external:
enabled: true
connectionUrl: "postgresql://<username>:<password>@<url>:5432/<dbname>"
# Do not include protocol here.
connectionUrl: "<username>:<password>@<url>:5432/<dbname>"
redis:
external:
enabled: true
Expand Down Expand Up @@ -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"` | |
Expand Down
10 changes: 5 additions & 5 deletions charts/langsmith/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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.
Expand All @@ -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:
Expand Down Expand Up @@ -131,7 +131,8 @@ config:
postgres:
external:
enabled: true
connectionUrl: "postgresql://<username>:<password>@<url>:5432/<dbname>"
# Do not include protocol here.
connectionUrl: "<username>:<password>@<url>:5432/<dbname>"
redis:
external:
enabled: true
Expand All @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions charts/langsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0a3ad97

Please sign in to comment.