Skip to content

Commit

Permalink
bump 0.1.19 (#514)
Browse files Browse the repository at this point in the history
  • Loading branch information
langchain-infra authored Mar 8, 2024
2 parents 6a9d122 + ac35439 commit b5d647b
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 7 deletions.
1 change: 1 addition & 0 deletions python/langsmith/cli/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ POSTGRES_DATABASE_URI=postgres:postgres@langchain-db:5432/postgres # Change to y
REDIS_DATABASE_URI=redis://langchain-redis:6379 # Change to your Redis URI if using external Redis. Otherwise, leave it as is
LOG_LEVEL=warning # Change to your desired log level
MAX_ASYNC_JOBS_PER_WORKER=10 # Change to your desired maximum async jobs per worker. We recommend 10/suggest spinning up more replicas of the queue worker if you need more throughput
ASYNCPG_POOL_MAX_SIZE=${ASYNCPG_POOL_MAX_SIZE:-3} # Change the PG pool size based off your pg instance/requirements.
15 changes: 8 additions & 7 deletions python/langsmith/cli/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
version: "4"
services:
langchain-playground:
image: langchain/langsmith-playground:${_LANGSMITH_IMAGE_VERSION:-0.1.17}
image: langchain/langsmith-playground:${_LANGSMITH_IMAGE_VERSION:-0.1.19}
ports:
- 3001:3001
langchain-frontend:
image: langchain/langsmith-frontend:${_LANGSMITH_IMAGE_VERSION:-0.1.17}
image: langchain/langsmith-frontend:${_LANGSMITH_IMAGE_VERSION:-0.1.19}
environment:
- VITE_BACKEND_AUTH_TYPE=${AUTH_TYPE:-none}
- VITE_OAUTH_CLIENT_ID=${OAUTH_CLIENT_ID}
Expand All @@ -17,7 +17,7 @@ services:
- langchain-playground
- langchain-hub
langchain-backend:
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.17}
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.19}
environment:
- PORT=1984
- LANGCHAIN_ENV=local_docker
Expand All @@ -43,7 +43,7 @@ services:
condition: service_completed_successfully
restart: always
langchain-queue:
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.17}
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.19}
environment:
- PORT=1984
- LANGCHAIN_ENV=local_docker
Expand All @@ -57,6 +57,7 @@ services:
- POSTGRES_DATABASE_URI=${POSTGRES_DATABASE_URI:-postgres:postgres@langchain-db:5432/postgres}
- REDIS_DATABASE_URI=${REDIS_DATABASE_URI:-redis://langchain-redis:6379}
- MAX_ASYNC_JOBS_PER_WORKER=${MAX_ASYNC_JOBS_PER_WORKER:-10}
- ASYNCPG_POOL_MAX_SIZE=${ASYNCPG_POOL_MAX_SIZE:-3}
command:
- "saq"
- "app.async_worker.settings"
Expand All @@ -72,7 +73,7 @@ services:
condition: service_completed_successfully
restart: always
langchain-hub:
image: langchain/langhub-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.17}
image: langchain/langhub-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.19}
environment:
- PORT=1985
- LANGCHAIN_ENV=local_docker
Expand Down Expand Up @@ -151,7 +152,7 @@ services:
timeout: 2s
retries: 30
clickhouse-setup:
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.17}
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.19}
depends_on:
langchain-clickhouse:
condition: service_healthy
Expand All @@ -174,7 +175,7 @@ services:
"migrate -source file://clickhouse/migrations -database 'clickhouse://langchain-clickhouse:9000?username=default&password=password&database=default&x-multi-statement=true&x-migrations-table-engine=MergeTree' up",
]
postgres-setup:
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.17}
image: langchain/langsmith-backend:${_LANGSMITH_IMAGE_VERSION:-0.1.19}
depends_on:
langchain-db:
condition: service_healthy
Expand Down
10 changes: 10 additions & 0 deletions python/langsmith/cli/users.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
<named_collection_control>1</named_collection_control>
<show_named_collections>1</show_named_collections>
<show_named_collections_secrets>1</show_named_collections_secrets>
<profile>default</profile>
</default>
</users>
<profiles>
<default>
<async_insert>1</async_insert>
<async_insert_max_data_size>2000000</async_insert_max_data_size>
<deduplicate_blocks_in_dependent_materialized_views>1</deduplicate_blocks_in_dependent_materialized_views>
<wait_for_async_insert>0</wait_for_async_insert>
<parallel_view_processing>1</parallel_view_processing>
</default>
</profiles>
</clickhouse>

0 comments on commit b5d647b

Please sign in to comment.