Skip to content

Commit

Permalink
feat: add config to disableSimdJson (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain-infra authored Sep 12, 2024
1 parent 262f051 commit 037212c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 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.7.5
version: 0.7.6
appVersion: "0.7.20"
4 changes: 3 additions & 1 deletion charts/langsmith/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# langsmith

![Version: 0.7.5](https://img.shields.io/badge/Version-0.7.5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.20](https://img.shields.io/badge/AppVersion-0.7.20-informational?style=flat-square)
![Version: 0.7.6](https://img.shields.io/badge/Version-0.7.6-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.7.20](https://img.shields.io/badge/AppVersion-0.7.20-informational?style=flat-square)

Helm chart to deploy the langsmith application and all services it depends on.

Expand All @@ -19,6 +19,7 @@ For information on how to use this chart, up-to-date release notes, and other gu
| apiIngress.labels | object | `{}` | |
| apiIngress.subdomain | string | `""` | |
| apiIngress.tls | list | `[]` | |
| clickhouse.config.allowSimdjson | bool | `true` | |
| clickhouse.containerHttpPort | int | `8123` | |
| clickhouse.containerNativePort | int | `9000` | |
| clickhouse.external.database | string | `"default"` | |
Expand Down Expand Up @@ -258,6 +259,7 @@ For information on how to use this chart, up-to-date release notes, and other gu

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| clickhouse.config.allowSimdjson | bool | `true` | |
| clickhouse.containerHttpPort | int | `8123` | |
| clickhouse.containerNativePort | int | `9000` | |
| clickhouse.external.database | string | `"default"` | |
Expand Down
3 changes: 3 additions & 0 deletions charts/langsmith/templates/clickhouse/config-map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ data:
<parallel_view_processing>1</parallel_view_processing>
<materialize_ttl_after_modify>0</materialize_ttl_after_modify>
<wait_for_async_insert_timeout>25</wait_for_async_insert_timeout>
{{- if not .Values.clickhouse.config.allowSimdjson }}
<allow_simdjson>0</allow_simdjson>
{{- end }}
</default>
</profiles>
</clickhouse>
Expand Down
2 changes: 2 additions & 0 deletions charts/langsmith/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ backend:

clickhouse:
name: "clickhouse"
config:
allowSimdjson: true
external:
# If enabled, use the following values to connect to an external database. This will also disable the
# creation of a clickhouse stateful-set and service.
Expand Down

0 comments on commit 037212c

Please sign in to comment.